From owner-freebsd-hackers Tue Jul 4 0:25:17 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 5A50537B6F2; Tue, 4 Jul 2000 00:25:14 -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 AAA32193; Tue, 4 Jul 2000 00:25:11 -0700 (PDT) (envelope-from john@baldwin.cx) Received: (from john@localhost) by john.baldwin.cx (8.9.3/8.9.3) id AAA40370; Tue, 4 Jul 2000 00:26:16 -0700 (PDT) (envelope-from john) Message-Id: <200007040726.AAA40370@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: Date: Tue, 04 Jul 2000 00:26:15 -0700 (PDT) From: John Baldwin To: Sean Lutner Subject: Re: ls -G seems to depend on TERM=xterm-color Cc: Brian Fundakowski Feldman , hackers@FreeBSD.ORG, Doug Barton Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 04-Jul-00 Sean Lutner wrote: > Well, I'm not really using xterm, I use Eterms, and I've NEVER had this > problem before, so it was non-obvious to me. I know the Eterms I'm using > are capable of displaying color ls output, because it does so when logged > into shells. Also, I'm not sure if this is related, but if the xterms > aren't capable of displaying color due to it's termcap, how come I can set > the fg (text) to any color I choose, and they show up? The terminal can display text, the termcap just doesn't inform the programs how to do so. Termcap is a means of letting programs not have to know the control sequences needed for different terminals. A termcap need not have support for all the abilities of a terminal. Not all xterm's can display color, so the 'xterm' termcap doesn't include color support. As for your remote shells, check the term variable they use, it may be using ansi or somesuch instead of xterm. -- 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