From owner-freebsd-hackers Tue Jul 4 1:40:16 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from server.baldwin.cx (server.geekhouse.net [64.81.6.52]) by hub.freebsd.org (Postfix) with ESMTP id 0BC4A37B8C2; Tue, 4 Jul 2000 01:40:13 -0700 (PDT) (envelope-from john@baldwin.cx) Received: from john.baldwin.cx (root@john.baldwin.cx [192.168.1.18]) by server.baldwin.cx (8.9.3/8.9.3) with ESMTP id BAA32418; Tue, 4 Jul 2000 01:40:11 -0700 (PDT) (envelope-from john@baldwin.cx) Received: (from john@localhost) by john.baldwin.cx (8.9.3/8.9.3) id BAA40774; Tue, 4 Jul 2000 01:41:16 -0700 (PDT) (envelope-from john) Message-Id: <200007040841.BAA40774@john.baldwin.cx> X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <39619CE9.F0D168FA@gorean.org> Date: Tue, 04 Jul 2000 01:41:15 -0700 (PDT) From: John Baldwin To: Doug Barton Subject: Re: ls -G seems to depend on TERM=xterm-color Cc: Brian Fundakowski Feldman , Sean Lutner , hackers@FreeBSD.ORG Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 04-Jul-00 Doug Barton wrote: > John Baldwin wrote: > >> >> XTerm*termName: xterm-color >> > >> > Ok, that's a good solution, I was just using .bashrc. My point is not >> > so much why, but that it be properly documented. Do you want to handle >> > the update of the ls man page, or do you want me to PR a patch? >> >> Umm, honestly, this shouldn't be all that non-obvious. Do you expect >> ls -G to work on a monochrome monitor? Of course not. :P The xterm >> termcap is by default a monochrome terminal. sysinstall doesn't have >> color in an xterm either w/ term=xterm. > > This is obvious to you and me, but to a newer user it's not going to be > obvious at all. There is going to be a bunch of people who write into > the mailing lists wondering why they aren't seeing the colorized ls in > their xterms. Well, then you are going to have to document this for every single color program people might want to run in an xterm. :) Seriously, educating the users on termcap will probably be a more productive way of going about this. One way of doing this might be to add a FAQ entry along the lines of "Programs such as ls(1) and sysinstall(8) don't display color in my xterm or other terminal?" -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.cslab.vt.edu/~jobaldwi/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message