Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Jul 2000 22:58:03 -0700
From:      R Joseph Wright <rjoseph@mammalia.org>
To:        Mike Hoskins <mike@adept.org>
Cc:        freebsd-stable@FreeBSD.org
Subject:   Re: Color ls
Message-ID:  <20000718225803.B11027@manatee.mammalia.org>
In-Reply-To: <Pine.BSF.4.21.0007182228240.1236-100000@snafu.adept.org>; from mike@adept.org on Tue, Jul 18, 2000 at 10:40:19PM -0700
References:  <20000719041804.A52522@dogma.freebsd-uk.eu.org> <Pine.BSF.4.21.0007182228240.1236-100000@snafu.adept.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jul 18, 2000 at 10:40:19PM -0700, Mike Hoskins wrote:
> On Wed, 19 Jul 2000, j mckitrick wrote:
> 
> > It's time to sell out.  Colorls isn't THAT big of a deal if it makes people
> > happy.  Adding it will make more people happy than leaving it out will.
> 
> [155]mike@storm{mike}$ echo $TERM
> xterm-color
> [156]mike@storm{mike}$ ls -G
> <color output snipped>
> 
> 'Adding it will...' ?  It's already been added.  This discussion isn't
> about adding color ls support, it's about people understanding how to
> configure their terminal(s).
> 
> Along those lines...  'color' isn't a default ls behavior.  That's why
> you have to add an argument (-G) to make it appear.  Reading ls(1) tells
> one how to do that.  With that in mind...  'xterm-color' isn't a default
> xterm terminal type.  I think the problem is, ls(1) doesn't mention
> anything about needing 'xterm-color' for -G to work.
> 
> I know...  This duscussion's been had before.  I'm not saying it's ls(1)'s
> job to educate the polulace on termcap, but if ls(1) isn't specifically
> going to expalin that -G won't work without xterm-color (and, don't get me
> wrong, I think the user should have to specify xterm-color if they want
> it...), shouldn't it at least point to termcap(5)?
> 
> Personally, I think it'd just be easier to include 'requires
> TERM=xterm-color' with ls(1)'s explanation of -G, but that's just MO.
> 
> I have to admit...  I don't generally use color ls.  If it makes some
> faction (even a very small one) of users happy though, I'm happy we
> support it - and we do support it...  We support is a lot better than
> gnuls, IMCO.  Ever try redirecting gnuls through more or less?  What a
> mess.  Doing the same with ours works perfectly.
> 
This is not so.  You have to use it like 'gnuls --color=auto' and there will
be no such mess.  Gnuls also shows colors in the standard xterm without any
of this termcap insanity or TERM=xterm-color nonsense.  It's also much easier
on the eyes, at least for me.


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?20000718225803.B11027>