From owner-freebsd-stable Tue Jul 18 17:55:29 2000 Delivered-To: freebsd-stable@freebsd.org Received: from manatee.mammalia.org (manatee.mammalia.org [216.231.50.6]) by hub.freebsd.org (Postfix) with ESMTP id CACEB37B50B for ; Tue, 18 Jul 2000 17:55:25 -0700 (PDT) (envelope-from rjoseph@mammalia.org) Received: by manatee.mammalia.org (Postfix, from userid 1000) id 1B3FF11CD28; Tue, 18 Jul 2000 17:55:25 -0700 (PDT) Date: Tue, 18 Jul 2000 17:55:25 -0700 From: R Joseph Wright To: Matthew Hunt Cc: freebsd-stable@FreeBSD.org Subject: Re: Color ls Message-ID: <20000718175525.A10074@manatee.mammalia.org> References: <20000718140646.B76011@lunatic.oneinsane.net> <20000718145920.B94689@wopr.caltech.edu> <20000719005555.W4668@strontium.scientia.demon.co.uk> <20000718170420.A97601@wopr.caltech.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20000718170420.A97601@wopr.caltech.edu>; from mph@astro.caltech.edu on Tue, Jul 18, 2000 at 05:04:20PM -0700 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Jul 18, 2000 at 05:04:20PM -0700, Matthew Hunt wrote: > On Wed, Jul 19, 2000 at 12:55:55AM +0100, Ben Smithurst wrote: > > > If that's the case, why don't we change our termcap so that "xterm" and > > "xterm-color" are the same thing, and "xterm-mono" is there for people > > who _reall_ don't want color, or have a monochrome display, or whatever. > > It seems really dumb not to have colour by default, but perhaps there's > > a good reason. > > FWIW, I've just tried "TERM=xterm-color ls -G" inside a > Solaris xterm, which does not support color. Nothing bad happened. > The xterm just ignored the color codes instead of producing any > sort of garbage. > > Unless anyone knows of an xterm that barfs on color codes, I would > support this change. I changed xterm to xterm-color in /etc/ttys, restarted init, went into X, and 'echo $TERM' did not show xterm-color. However, I did TERM=xterm-color and it worked. The thing that really bugs me about ls is the lack of bright colors like you get with gnuls. The blue is so dark it blends in with the black background of the console. I spent several hours looking through the code to see if I could change that, but alas I did not understand it :-(. And, sorry to rant, but the default colors are horrid, too! Do 'ls -G /dev' to see what I mean. AAaaarh! > -- > Matthew Hunt * Stay close to the Vorlon. > http://www.pobox.com/~mph/ * > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message