Perl

Matthew Seaman m.seaman at infracaninophile.co.uk
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.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         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 : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20030328/892666b4/attachment.bin


More information about the freebsd-questions mailing list