Matthew Seaman m.seaman at
Fri Mar 28 11:03:18 PST 2003

On Fri, Mar 28, 2003 at 11:28:06AM +0100, CARTER Anthony wrote:
> Where can I add the $TERM variable?
> I am using KDE.
> I put in my ~/.cshrc the following:
> setenv TERM "xterm-color"
> but I don't seem to have a color xterm when I open a new shell...Is this the 
> wrong place?

The best way of doing this is to add a line:

    xterm*termName:         xterm-color

to ~/.Xdefaults, and then make sure that:

    /usr/X11R6/bin/xrdb -merge ${HOME}/.Xdefaults

gets run as part of your session initialization --- ie. add it to your
~/.xsession file if you're running xdm(1) or equivalent, or to
~/.xinitrc if you're using startx(1).  This should work under KDE,
Gnome or any old window manager.



Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP:         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :

More information about the freebsd-questions mailing list