From owner-freebsd-questions@FreeBSD.ORG Mon Nov 3 14:33:01 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 86AAB16A4CE for ; Mon, 3 Nov 2003 14:33:01 -0800 (PST) Received: from mta4.adelphia.net (mta4.adelphia.net [68.168.78.184]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2A5EE43FA3 for ; Mon, 3 Nov 2003 14:33:00 -0800 (PST) (envelope-from andi_payn@speedymail.org) Received: from [10.1.0.9] ([68.65.235.109]) by mta4.adelphia.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with ESMTP id <20031103223303.MKBE20786.mta4.adelphia.net@[10.1.0.9]>; Mon, 3 Nov 2003 17:33:03 -0500 From: andi payn To: freebsd-questions@freebsd.org In-Reply-To: <44ad7dimrc.fsf@be-well.ilk.org> References: <200310111243.08231.jason@dictos.com> <035501c3909c$3d1dd8d0$a4b826cb@goo> <001c01c3a082$afab7d30$0100000a@Biggie> <200311021458.49682.malcolm.kay@internode.on.net> <1067814513.825.497.camel@verdammt.falcotronic.net> <44ad7dimrc.fsf@be-well.ilk.org> Content-Type: text/plain Message-Id: <1067898777.825.714.camel@verdammt.falcotronic.net> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Mon, 03 Nov 2003 14:32:58 -0800 Content-Transfer-Encoding: 7bit cc: SWIT Subject: Re: color to files 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, 03 Nov 2003 22:33:01 -0000 On Mon, 2003-11-03 at 05:51, Lowell Gilbert wrote: > andi payn writes: > > > Was the xterm termcap changed for FreeBSD 5, or have I just done > > something to fix this and forgotten about it? > > It's a little more complicated, because the *classical* xterm does > *not*, in fact, have color support, but yes, the latest releases > on both branches should pick this up just fine. OK, let me restate this to make sure I understand it; please correct me if I get anything wrong. The xterm that comes with XFree86 4.x, and most of the 3.x branch, has ANSI color support. The xterms that come with earlier XFree86 3.x versions and the X11R6.3 reference servers have old-style color support. But in the old days, xterm didn't have any color support (it originally emulated a B&W vt100 or something, right?). So, up to FreeBSD 4.8, the terminfo for xterm didn't indicate color support, and you had to specify xterm-color (or xterm-xf86-v40 or whatever). In 4.9 and 5.1, this is no longer an issue; xterm works just fine (unless someone's trying to connect to your FreeBSD box from some box running an ancient xterm...). Should I file a bug report on the ls(1) manpage, then? It says: "The default ``cons25'' console has the proper capabilities, but to display the colors in an xterm(1), for example, the TERM variable must be set to ``xterm-color''." This isn't true with 4.9/5.1--and also isn't true for ancient non-color-capable xterms, for that matter.