From owner-freebsd-bugs Wed May 31 5:13: 4 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from florence.pavilion.net (florence.pavilion.net [212.74.0.25]) by hub.freebsd.org (Postfix) with ESMTP id 700D837B699 for ; Wed, 31 May 2000 05:12:58 -0700 (PDT) (envelope-from joe@pavilion.net) Received: from genius.systems.pavilion.net (postfix@genius.systems.pavilion.net [212.74.1.100]) by florence.pavilion.net (8.9.3/8.8.8) with ESMTP id NAA13717; Wed, 31 May 2000 13:12:43 +0100 (BST) (envelope-from joe@pavilion.net) Received: by genius.systems.pavilion.net (Postfix, from userid 100) id 652E57C; Wed, 31 May 2000 13:12:43 +0100 (BST) Date: Wed, 31 May 2000 13:12:43 +0100 From: Josef Karthauser To: Thomas David Rivers 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> References: <20000531095153.A80830@curry.mchp.siemens.de> <200005311200.IAA29719@lakes.dignus.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <200005311200.IAA29719@lakes.dignus.com>; from rivers@dignus.com on Wed, May 31, 2000 at 08:00:30AM -0400 X-NCC-RegID: uk.pavilion Organisation: Pavilion Internet plc, Lees House, 21-23 Dyke Road, Brighton, England Phone: +44-845-333-5000 Fax: +44-845-333-5001 Mobile: +44-403-596893 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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