Ask a Question related to Linux / Unix Administration, Design and Development.
-
G.B.Naidu #1
Help needed to set xterm type and colors...
Hi,
I am struggling with 2 issues on Solaris 2.9.
1. How do I change the color of selected text in an xterm?
Currently it is showing some color which I want to change it.
2. When I use the command "clear/cls", it is giving error message
"unknown terminal 'xterm'". I am running xwindows and I am using VNC
viewer to connect to the server.
TIA
--gb
G.B.Naidu Guest
-
What type o Extension is needed?
Hi Everyone - was wondering if someone can point me in the right direction. I am a coder but am trying to make a 'easy front end' for designers and... -
sample timecard type code needed
I have a simple time card app that allows a user to select a job code, a charge code, date, and number of hours and write it all to a database. ... -
Help needed - free/non-profit/charity type project/database/website
Hi, I posted requests for this assistance lately and got some positive feedback including an offer to work on this project. I have not heard back... -
Info needed on Chinese type
One of my customers wants to circumvent going outside for Chinese type by his setting own. (I work in-house; the customer is a colleague.) He's... -
xterm configuration
On Fri, Jul 04, 2003 at 01:40:55AM +0100, Paladin wrote: For xterm, use one of the fixed fonts. They all have the line-drawing characters. If... -
Dave Hinz #2
Re: Help needed to set xterm type and colors...
On 3 May 2004 05:26:53 -0700, G.B.Naidu <gbnaidu@yahoo.com> wrote:
Your system is presenting the "xterm" terminal type to the server,> Hi,
>
> I am struggling with 2 issues on Solaris 2.9.
>
> 2. When I use the command "clear/cls", it is giving error message
> "unknown terminal 'xterm'". I am running xwindows and I am using VNC
> viewer to connect to the server.
and it doesn't know what that means. Either use one that it has
defined (set your environmental variable TERM to, say, ansi, or
perhaps you can have whoever owns the server to add a terminfo file.
man terminfo
man tic
Basically, you find a system which knows what xterm is, dump out an
ascii file with it's description, and use tic to get the new system
to understand it (assuming your system has these).
Dave Hinz
Dave Hinz Guest
-
Al Castanoli #3
Re: Help needed to set xterm type and colors...
On 2004-05-03, G.B.Naidu <gbnaidu@yahoo.com> wrote:
If it's a true xterm, you can get the following from> Hi,
>
> I am struggling with 2 issues on Solaris 2.9.
>
> 1. How do I change the color of selected text in an xterm?
$ man xterm
$ xterm -fg (colour of text) -bg (background colour)
as well as several other options.
The colours could be in your VNC settings... look it up on the VNC website.> Currently it is showing some color which I want to change it.
>
> 2. When I use the command "clear/cls", it is giving error message
> "unknown terminal 'xterm'". I am running xwindows and I am using VNC
> viewer to connect to the server.
If you're connecting to the server from a UNIX or unix workalike terminal,
running the X window system, you can redirect the xterm to display on your
local terminal, without having to run VNC.
--
Al Castanoli | [email]afcasta@ucan.foad.org[/email] | {cheap}
| | You can have it {quick} Pick any 2.
| | {right}
Al Castanoli Guest
-
mgrd #4
Re: Help needed to set xterm type and colors...
G.B.Naidu wrote:
[..]`TERM=vt100' should always work> 2. When I use the command "clear/cls", it is giving error message
> "unknown terminal 'xterm'". I am running xwindows and I am using VNC
> viewer to connect to the server.
mgrd Guest
-
mgrd #5
Re: Help needed to set xterm type and colors...
Dave Hinz wrote:
[..]this just cool.. UNIX rocks> Basically, you find a system which knows what xterm is, dump out an
> ascii file with it's description, and use tic to get the new system
> to understand it (assuming your system has these).
mgrd Guest
-
G.B.Naidu #6
Re: Help needed to set xterm type and colors...
Dave Hinz <davehinz@spamcop.net> wrote in message news:<c75eoo$i46sl$1@ID-134476.news.uni-berlin.de>...
Thanks Dave for your suggestion. There was no treminfo files on my> On 3 May 2004 05:26:53 -0700, G.B.Naidu <gbnaidu@yahoo.com> wrote:>> > Hi,
> >
> > I am struggling with 2 issues on Solaris 2.9.
> >
> > 2. When I use the command "clear/cls", it is giving error message
> > "unknown terminal 'xterm'". I am running xwindows and I am using VNC
> > viewer to connect to the server.
> Your system is presenting the "xterm" terminal type to the server,
> and it doesn't know what that means. Either use one that it has
> defined (set your environmental variable TERM to, say, ansi, or
> perhaps you can have whoever owns the server to add a terminfo file.
> man terminfo
> man tic
>
> Basically, you find a system which knows what xterm is, dump out an
> ascii file with it's description, and use tic to get the new system
> to understand it (assuming your system has these).
>
> Dave Hinz
server. I got it done and "unknown terminal type" problem is solved.
Thanks once again.
--gb
G.B.Naidu Guest
-
G.B.Naidu #7
Re: Help needed to set xterm type and colors...
Al Castanoli <afcasta@ucan.foad.org> wrote in message news:<slrnc9fpf3.83l.afcasta@ucan.foad.org>...
G.B-> I am starting the xterms by using the above command line options> On 2004-05-03, G.B.Naidu <gbnaidu@yahoo.com> wrote:>> > Hi,
> >
> > I am struggling with 2 issues on Solaris 2.9.
> >
> > 1. How do I change the color of selected text in an xterm?
> If it's a true xterm, you can get the following from
>
> $ man xterm
>
> $ xterm -fg (colour of text) -bg (background colour)
>
> as well as several other options.
to xterm command. But on this server, the color of the selected text
is different from the foreground color. Normally, the color of the
selected text is same as the foreground color. But on this server this
is not the case. I have tested this on my earlier server and it seems
to be fine.
I get a feeling that it is related to terminfo or some thing like
that. Any pointers in this direction are appreciated.
thanks
--gb
G.B.Naidu Guest
-
Jose R. Valverde #8
Re: Help needed to set xterm type and colors...
In article <a5539fbf.0405092342.6eb6d678@posting.google.com >,
[email]gbnaidu@yahoo.com[/email] (G.B.Naidu) writes:man xterm> G.B-> I am starting the xterms by using the above command line options
> to xterm command. But on this server, the color of the selected text
> is different from the foreground color. Normally, the color of the
> selected text is same as the foreground color. But on this server this
> is not the case. I have tested this on my earlier server and it seems
> to be fine.
....
-hc color
This option specifies the color to use for the background of
selected or otherwise highlighted text. If not specified,
reverse video is used.
....
RTFM.
j
--
These opinions are mine and only mine. Hey man, I saw them first!
José R. Valverde
De nada sirve la Inteligencia Artificial cuando falta la Natural
Jose R. Valverde Guest
-
G.B.Naidu #9
Re: Help needed to set xterm type and colors...
Hi,
Thanks a lot for your inputs from xterm man page. By using the -hc
option (-hc white), I could change the color of the selected text to
the color of the foreground.
I couldn't find this option in the man xterm on my system which is
SunOS. On linux man page this is mentioned.
Thanks once again.
--gb
[email]jr@cnb.uam.es[/email] (Jose R. Valverde) wrote in message news:<c7nouj$mcp$1@acebo.ti.uam.es>...> In article <a5539fbf.0405092342.6eb6d678@posting.google.com >,
> [email]gbnaidu@yahoo.com[/email] (G.B.Naidu) writes:>> > G.B-> I am starting the xterms by using the above command line options
> > to xterm command. But on this server, the color of the selected text
> > is different from the foreground color. Normally, the color of the
> > selected text is same as the foreground color. But on this server this
> > is not the case. I have tested this on my earlier server and it seems
> > to be fine.
> man xterm
> ...
> -hc color
> This option specifies the color to use for the background of
> selected or otherwise highlighted text. If not specified,
> reverse video is used.
> ...
>
> RTFM.
> jG.B.Naidu Guest
-
Thomas Dickey #10
Re: Help needed to set xterm type and colors...
G.B.Naidu <gbnaidu@yahoo.com> wrote:
> Hi,> Thanks a lot for your inputs from xterm man page. By using the -hc
> option (-hc white), I could change the color of the selected text to
> the color of the foreground."-hc" is from XFree86 xterm. There's a (rather old) copy of that on the> I couldn't find this option in the man xterm on my system which is
> SunOS. On linux man page this is mentioned.
Solaris cdrom's. One thing that is confusing is that Solaris 9 includes
a different color xterm (which I don't recall implements "-hc"). You
can quickly check for the difference because XFree86 xterm recognizes a
"-v" option which shows its version.
It (XFree86 xterm) may have been linked against the ncurses library
(which has its own terminfo - sometimes not installed, which sounds like
the reason why "xterm" is not found). You can fix that by setting the
$TERMINFO variable to /usr/share/lib/terminfo (though that's of limited
use, since Solaris distributes no useful color terminal entries for that
xterm).
xterm supports ANSI color, VT220 emulation and UTF-8
There's an faq at
[url]http://invisible-island.net/xterm/xterm.faq.html[/url]
[url]ftp://invisible-island.net/xterm/[/url]
--
Thomas E. Dickey
[url]http://invisible-island.net[/url]
[url]ftp://invisible-island.net[/url]
Thomas Dickey Guest



Reply With Quote

