From owner-cvs-all Sun Jun 4 15:44:15 2000 Delivered-To: cvs-all@freebsd.org Received: from dt051n0b.san.rr.com (dt051n0b.san.rr.com [204.210.32.11]) by hub.freebsd.org (Postfix) with ESMTP id A52A137B9B6; Sun, 4 Jun 2000 15:44:04 -0700 (PDT) (envelope-from DougB@gorean.org) Received: from gorean.org (doug@master [10.0.0.2]) by dt051n0b.san.rr.com (8.9.3/8.9.3) with ESMTP id PAA69829; Sun, 4 Jun 2000 15:43:51 -0700 (PDT) (envelope-from DougB@gorean.org) Message-ID: <393ADBA7.7A2B5BF9@gorean.org> Date: Sun, 04 Jun 2000 15:43:51 -0700 From: Doug Barton Organization: Triborough Bridge & Tunnel Authority X-Mailer: Mozilla 4.72 [en] (X11; U; FreeBSD 5.0-CURRENT-0603 i386) X-Accept-Language: en MIME-Version: 1.0 To: Warner Losh Cc: "Matthew N. Dodd" , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, Josef Karthauser Subject: Re: cvs commit: src/bin/ls extern.h ls.1 ls.c ls.h print.c References: <200006042215.QAA53873@harmony.village.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Warner Losh wrote: > > In message "Matthew N. Dodd" writes: > : I think having a /bin/ls and a /usr/bin/ls would be the way to go then. > : > : /bin/ls can be the "thin, svelte utility" > : /usr/bin/ls can have all the eclairs it wants. > > No. The one thing worse than a big, bloated pig-dog of a ls that has > more switches than indent(1) is to have two different versions of > ls... As far as I can see, the consensus at this point is as follows: 1. We can (sometimes grudgingly) live with color as an _option_ in /bin/ls. 2. The color options should be #ifdef'ed so that people who need a slimmer ls can easily build one. (Thus anti-bloatists, picobsd, fixit floppy people, etc.; can define "NOCOLORINLSNOWAYNOHOW" and be done with it. :) 3. First choice for 'ls -G' should be tgetstr(), with the ANSI codes left in as a fallback if that returns NULL. (Thus handling the case of no mounted /usr as well as possible.) I think that accurately describes the thinking at this point, but my perspective is somewhat biased... Doug -- "Live free or die" - State motto of my ancestral homeland, New Hampshire Do YOU Yahoo!? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message