Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jan 2002 12:30:07 -0500 (EST)
From:      Vivek Khera <khera@kcilink.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Still can't get color in xterm properly.
Message-ID:  <200201141730.g0EHU7I84391@onceler.kciLink.com>
References:  <20020114170518.GA7846@debian.local>

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "AC" == Anthony Campbell <ac@acampbell.org.uk> writes:

AC> I can set 
AC> 	TERM=xterm-color; export TERM
 [[ snip ]]

AC> Where is one supposed to put it so that it is the default for X?

I use rxvt as my X terminal window, since it is quite small
memory-wise and pretty fast.  I just told it to identify itself as
xterm-color like this:

rxvt.font: TFONT
rxvt.boldFont: TFONTB
#if defined(COLOR)
rxvt.foreground: FGCOLOR
rxvt.background: BGCOLOR
rxvt.termName: xterm-color
#endif /* COLOR */
rxvt.scrollBar: true
rxvt.saveLines: 500
rxvt.geometry: 80x30
rxvt.modifier: meta alt

all in my .Xdefaults file.  This assumes that you compile rxvt with
the proper option to use the xrdb database rather than reading the
.Xdefaults file directly, which is just idiotic.

My .Xdefaults #define's the TFONT, TFONTB, FGCOLOR and BGCOLOR values
elsewhere to my preferences.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.                Khera Communications, Inc.
Internet: khera@kciLink.com       Rockville, MD       +1-240-453-8497
AIM: vivekkhera Y!: vivek_khera   http://www.khera.org/~vivek/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200201141730.g0EHU7I84391>