Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Jul 2000 17:55:25 -0700
From:      R Joseph Wright <rjoseph@mammalia.org>
To:        Matthew Hunt <mph@astro.caltech.edu>
Cc:        freebsd-stable@FreeBSD.org
Subject:   Re: Color ls
Message-ID:  <20000718175525.A10074@manatee.mammalia.org>
In-Reply-To: <20000718170420.A97601@wopr.caltech.edu>; from mph@astro.caltech.edu on Tue, Jul 18, 2000 at 05:04:20PM -0700
References:  <20000718140646.B76011@lunatic.oneinsane.net> <Pine.BSF.4.21.0007181416130.20886-100000@freefall.freebsd.org> <20000718145920.B94689@wopr.caltech.edu> <20000719005555.W4668@strontium.scientia.demon.co.uk> <20000718170420.A97601@wopr.caltech.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <mph@astro.caltech.edu> * 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000718175525.A10074>