Date: Sun, 14 Sep 2003 08:39:43 +0000 From: Nathan Kinkade <nkinkade@fastmail.fm> To: freebsd-questions@freebsd.org Subject: Re: Xterm-color Message-ID: <20030914083943.GA20261@npkfbsd> In-Reply-To: <20030914012441.GC38006@catflap.home.slightlystrange.org> References: <200309131822.29836.tbstep@tampabay.rr.com> <20030913224323.GB84630@kongemord.krig.net> <20030914012441.GC38006@catflap.home.slightlystrange.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--Q68bSM7Ycu6FN28Q
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Sun, Sep 14, 2003 at 02:24:41AM +0100, Daniel Bye wrote:
> On Sat, Sep 13, 2003 at 06:43:24PM -0400, Bob Hall wrote:
> > On Sat, Sep 13, 2003 at 06:22:29PM -0400, Todd Stephens wrote:
> > > Probably a no-brainer, but how can I make my xterm start as xterm-col=
or? =20
> > > If I want color ls, I have to type TERM=3Dxterm-color from the comman=
d=20
> > > line every time I start a new terminal window. What file do I need t=
o=20
> > > edit to make X start with xterm-color?
> >=20
> > ~/.Xdefaults
> > ---------------
> > xterm*background: green
> > xterm*foreground: yellow
> > xterm*highlightColor: purple
> >=20
> > I don't necessarily endorse those color choices.
>=20
> But those colours are so beautiful in combination... ;-)
>=20
> Set
>=20
> XTerm*termName: xterm-color
>=20
> as well, if you want to be certain that anything that cares about ${TERM}
> gets an appropriate value.
>=20
> Dan
alternatively, you could just launch xterm like:
$ xterm -tn xterm-color
it appears that you are using 4.8-RELEASE, but apparently sometime
around Aug 27, 2002 xterm's termcap entry supports color by default.
per /usr/src/UPDATING:
20020827:
Our /etc/termcap now has all the entries from the XFree86 xterm
almost unchanged. This means xterm now supports color by default.
If you used TERM=3Dxterm-color in the past you now should use
TERM=3Dxterm. (xterm-color will lead to benign warnings).
Nathan
--=20
gpg --keyserver pgp.mit.edu --recv-keys D8527E49
--Q68bSM7Ycu6FN28Q
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)
iD8DBQE/ZClPO0ZIEthSfkkRAgqpAKDpAyPbP+8CpFuQ6FmVSY8QqQ4dWACaA3CC
zEwM3eYEy1ZM8m8e0PUBXow=
=weUE
-----END PGP SIGNATURE-----
--Q68bSM7Ycu6FN28Q--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030914083943.GA20261>
