From owner-freebsd-questions@FreeBSD.ORG Mon Dec 8 02:13:53 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B3FE216A4CE for ; Mon, 8 Dec 2003 02:13:53 -0800 (PST) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9F51343F75 for ; Mon, 8 Dec 2003 02:13:51 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [127.0.0.1]) hB8ADbNu056976 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 8 Dec 2003 10:13:44 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id hB8ADYCt056975; Mon, 8 Dec 2003 10:13:34 GMT (envelope-from matthew) Date: Mon, 8 Dec 2003 10:13:34 +0000 From: Matthew Seaman To: Robin Schoonover Message-ID: <20031208101334.GB56165@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Robin Schoonover , Mike Maltese , freebsd-questions References: <3FD0CCB5.1000501@magidesign.com> <00fb01c3bb5d$ee483c90$f4f0a8c0@pcmedx.com> <3FD0DFAB.5060904@daleco.biz> <20031207113807.609850b7.end@endif.cjb.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="dc+cDN39EJAMEtIO" Content-Disposition: inline In-Reply-To: <20031207113807.609850b7.end@endif.cjb.net> User-Agent: Mutt/1.5.5.1i X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.60 X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on happy-idiot-talk.infracaninophile.co.uk cc: Mike Maltese cc: freebsd-questions Subject: Re: ls and color X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Dec 2003 10:13:53 -0000 X-List-Received-Date: Mon, 08 Dec 2003 10:13:53 -0000 --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--