Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Dec 2003 10:13:34 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Robin Schoonover <end@endif.cjb.net>
Cc:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: ls and color
Message-ID:  <20031208101334.GB56165@happy-idiot-talk.infracaninophile.co.uk>
In-Reply-To: <20031207113807.609850b7.end@endif.cjb.net>
References:  <3FD0CCB5.1000501@magidesign.com> <00fb01c3bb5d$ee483c90$f4f0a8c0@pcmedx.com> <3FD0DFAB.5060904@daleco.biz> <20031207113807.609850b7.end@endif.cjb.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--dc+cDN39EJAMEtIO
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Dec 07, 2003 at 11:38:07AM -0700, Robin Schoonover wrote:

> However, ls does have to lookup how to display the color.  The 'xterm'
> terminal name in 4.x does not have color, so you have to tell xterm use
> 'xterm-color', which does have it.  This amounts to doing something
> like "xterm -tn xterm-color".  (I've been using 5.1 lately, so if this was
> MFC'd recently I wouldn't really know)

The xterm terminal type is now identical to xterm-color and has been
since April, including on the RELENG_4 branch.

If you're running 4.8-STABLE or one of the releases from before that
date, you can use this setting in your .Xdefaults to change the
terminal type to xterm-color by default:

    xterm*termName:         xterm-color

but you should make sure that you run something like:

    [ -f ${HOME}/.Xdefaults ] && /usr/X11R6/bin/xrdb -merge ${HOME}/.Xdefau=
lts

in your ~/.xsession or ~/.xinitrc

	Cheers,

	Matthew

--=20
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

--dc+cDN39EJAMEtIO
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQE/1E7OdtESqEQa7a0RAjf9AJ0QZY2fn7g/zW7fvW3dnHtHJUJWowCbBi2H
9dh1j6s1nWAVzTZlxtgFAVs=
=7DDR
-----END PGP SIGNATURE-----

--dc+cDN39EJAMEtIO--



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