1834197 Members
2318 Online
110065 Solutions
New Discussion

xterm

 
SOLVED
Go to solution
Shivkumar
Super Advisor

xterm

Dear Sirs,

By using below command i used to change the background and foreground in the past:

$xterm -fg white -bg darkblue -cr yellow

but now this doesn't seems to be working.
I am using hpux 11.00 and using xterm terminal.

Can anyone throw some light on this ?

Thanks in advance.
Shiv

3 REPLIES 3
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: xterm

The very first thing to check is whether the file /usr/lib/X11/rgb.txt exists and has entries for your colors. This file is normally a symbolic link so look at the permissions on the referenced file.
If it ain't broke, I can fix that.
vinod_25
Valued Contributor

Re: xterm

Hi shiv,

can you tell us which version of X term you use...
and any changes has been made to the server like os upgradation or patch installation...

i have tried in the same setup and its working....my config is

OS VERSION
------------

HP-UX hp370-5 B.11.00 A 9000/871

Xterm version
-------------
X Version 11 Release 6.3

Regards

Vinod K
H.Merijn Brand (procura
Honored Contributor

Re: xterm

# xterm -version
XTerm(201)

# which xterm

# xterm -help

the last will show you which options the version of xterm you have installed supports. Maybe cr has been disabled

Other options might be that xterm won't start because the lib's it depends on have changed, uninstalled, upgraded or otherwise made xterm startup impossible

# chatr `which xterm`
# ldd `which xterm`

To see what is needs

Enjoy, Have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn