Operating System - HP-UX
1822909 Members
3849 Online
109645 Solutions
New Discussion юеВ

Getting color to work with an xterm

 
SOLVED
Go to solution
Alun  Territt
Advisor

Getting color to work with an xterm

Hi,

I'm using an NT workstation, with Exceed 9.0.

I'd like to connect to our hp-ux 11.11 server
and get a color xterm. But whatever I do,
the session is always black and white.

I've pored all over the Exceed client, and it
seems fine. Then I read somewhere that not
all xterm servers support color.
Do I need to do something to the hp-ux
machine?

Any ideas would be much appreciated.

Regards.

Paul Stuart
6 REPLIES 6
Steve Steel
Honored Contributor

Re: Getting color to work with an xterm

Hi

Should work

try

/usr/bin/X11/xterm -fg red -bg white

If that works then look at

whence xterm

or

alias|grep xterm

Maybe defined to be in blackwhite by a command or alias

Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Alun  Territt
Advisor

Re: Getting color to work with an xterm

Thanks for the quick response Steve.

When I do that, the xterm does indeed
become white and red.

But the xterm itself doesn't become color, in the sense that it doesn't respond to
color escape sequences.

For instance, I have a color prompt and
normally VIM is in color. That works on
an ordinary telnet vt100. But not in the
xterm.

Paul S
Jan Sladky
Trusted Contributor

Re: Getting color to work with an xterm

Hi Paul,
after connecting on hp-ux, enter following command

xterm -bg red -fg blue

it will start new xterm with desired collors

br Jan
GSM, Intelligent Networks, UNIX
Steve Steel
Honored Contributor
Solution

Re: Getting color to work with an xterm

Hi

Could be the Exceed since my reflection is OK


Try dtterm

/usr/bin/X11/dtterm -display $DISPLAY -tn vt100 -fg darkgreen -bg khaki -bs -bw
200 -fn courB24 -fb courB24 -kshMode -ls -mb -sb -sl 2000 -ms red -nb 10 & 2>/d
ev/null


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Steve Steel
Honored Contributor

Re: Getting color to work with an xterm

Hi


Some boxes do not work

Try to see if

http://www.cs.utk.edu/~shuford/terminal/xterm.html

Will help


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Alun  Territt
Advisor

Re: Getting color to work with an xterm


Thanks Steve. dtterm works.

Paul S