Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Jun 2000 16:11:14 +0200
From:      Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
To:        Stefan `Sec` Zehl <sec@42.org>
Cc:        freebsd-bugs@FreeBSD.ORG
Subject:   Re: bin/18900: patch to add colorizing feature to /bin/ls
Message-ID:  <20000601161114.A18501@curry.mchp.siemens.de>
In-Reply-To: <20000601142524.A19841@matrix.42.org>; from sec@42.org on Thu, Jun 01, 2000 at 02:25:24PM %2B0200
References:  <20000531095153.A80830@curry.mchp.siemens.de> <200005311200.IAA29719@lakes.dignus.com> <20000531140859.A44791@mithrandr.moria.org> <20000601142524.A19841@matrix.42.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 01-Jun-2000 at 14:25:24 +0200, Stefan `Sec` Zehl wrote:
> On Wed, May 31, 2000 at 02:08:59PM +0200, Neil Blakey-Milner wrote:
> > On Wed 2000-05-31 (08:00), Thomas David Rivers wrote:
> > >  If the user who wanted colorized ls has to change to get it;
> > > why bother with putting this in the FreeBSD ls?
> > 
> > Why bother adding new options or features, or upgrades to the base
> > system whatsoever?  Surely if people want an upgraded piece of software,
> > or a new option to a program, they can install the port?
> 
> The problem is to draw the line. Surely we will nevae have netscape in
> base. But perl we do. I (and many others) think that colorized ls is
> gimmicky enough to have no place in the base system. Color-ls gains you
> no new information.

Does less do this compared to more?
Or /usr/src/games (I know, they can be disabled).

No, there won't be gained new information. It never was the goal of
a colorised ls to gain new information.

> 
> > Look, it's quite simple - it doesn't cost anyone anything to add it to
> > the system ls.
> 
> It does. Compile time

Sure, about 10ms, maybe 100ms on a slow machine. (No, I didn't measure it) :-)


> size,

Yes, 1152 bytes


> startup time,

Look at the patch. Unless you use -G, I assume writing this email took
more time than the sum of all additional startup times of all (colorised)
/bin/ls invocations in your remaining life :-)


> are all increased. It's a new
> place where bugs and inconsistencies can creep in.

True, that's life.

> > And for all the space-mongers, I'll personally ifdef it for you.
> 
> Make it a port, so everybody can be happy. Everybody I know who installs

It _is_ already a port. However, the ports ls distfile does not have the same
features as /bin/ls has. So everytime someone changes /bin/ls the port would
have to be sync'ed again (which costs developers/commiters time).

> a FreeBSD system installs his favourite ports first. For me it's zsh,
> screen, less and vim. If for you this includes colorls so go ahead and
> add that port on a new install, but please don't influct this on the
> rest of us.

Again: It is an option (-G) that you don't have to use. I assume there are
many programs in the base systems with options you don't use (and maybe
even don't know about). You don't scream about them because they are already
there.


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?20000601161114.A18501>