Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 May 2000 13:12:43 +0100
From:      Josef Karthauser <joe@pavilion.net>
To:        Thomas David Rivers <rivers@dignus.com>
Cc:        andre.albsmeier@mchp.siemens.de, brian@Awfulhak.org, brian@hak.lan.Awfulhak.org, Doug@gorean.org, freebsd-bugs@FreeBSD.ORG, vanderh@ecf.utoronto.ca
Subject:   Re: bin/18900: patch to add colorizing feature to /bin/ls
Message-ID:  <20000531131243.C1444@pavilion.net>
In-Reply-To: <200005311200.IAA29719@lakes.dignus.com>; from rivers@dignus.com on Wed, May 31, 2000 at 08:00:30AM -0400
References:  <20000531095153.A80830@curry.mchp.siemens.de> <200005311200.IAA29719@lakes.dignus.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, May 31, 2000 at 08:00:30AM -0400, Thomas David Rivers wrote:
> > 
> > And even with the thing getting committed, he still would not get
> > colors unless he ran 'ls -G' on FreeBSD. I never would like to act
> > 'ls' as 'ls -G' as default (as Linux obviously does).
> > 
> 
>  Just as a question then...
> 
>  If the user who wanted colorized ls has to change to get it;
> why bother with putting this in the FreeBSD ls?
> 
>  I mean, there is a colorized ls port - right?  So, you could
> simply install that one.
> 
>  Then, since the user has to change anyway - have him change
> to use the installed port...

The colourised ls's in port don't follow exactly the same command
line arguments as the ls in the tree.  For example gnuls, which I'm using,
displays symbolic links in the same way as /bin/ls.

Also only /bin/ls supports the display of file flags, i.e.:

genius% /bin/ls -ol /kernel
-r-xr-xr-x  1 root  wheel  schg 2276377 May 26 16:13 /kernel

Currently there is no support for file flag strings outside of our source
tree.  I'm adding functions to do this, but it will require the authors
of alternative ls' to support them.

Joe


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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