From owner-freebsd-bugs Thu Jun 1 7:11:22 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from david.siemens.de (david.siemens.de [192.35.17.14]) by hub.freebsd.org (Postfix) with ESMTP id 6407937B559 for ; Thu, 1 Jun 2000 07:11:18 -0700 (PDT) (envelope-from andre.albsmeier@mchp.siemens.de) X-Envelope-Sender-Is: andre.albsmeier@mchp.siemens.de (at relayer david.siemens.de) Received: from mail2.siemens.de (mail2.siemens.de [139.25.208.11]) by david.siemens.de (8.10.1/8.10.1) with ESMTP id e51EBFR24146; Thu, 1 Jun 2000 16:11:15 +0200 (MET DST) Received: from curry.mchp.siemens.de (curry.mchp.siemens.de [139.25.42.7]) by mail2.siemens.de (8.10.1/8.10.1) with ESMTP id e51EBEb23247; Thu, 1 Jun 2000 16:11:14 +0200 (MET DST) Received: (from localhost) by curry.mchp.siemens.de (8.10.1/8.10.1) id e51EBEs95268; Date: Thu, 1 Jun 2000 16:11:14 +0200 From: Andre Albsmeier To: Stefan `Sec` Zehl 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> References: <20000531095153.A80830@curry.mchp.siemens.de> <200005311200.IAA29719@lakes.dignus.com> <20000531140859.A44791@mithrandr.moria.org> <20000601142524.A19841@matrix.42.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20000601142524.A19841@matrix.42.org>; from sec@42.org on Thu, Jun 01, 2000 at 02:25:24PM +0200 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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