From owner-cvs-all Fri Jun 2 11:43: 0 2000 Delivered-To: cvs-all@freebsd.org Received: from sasami.jurai.net (sasami.jurai.net [63.67.141.99]) by hub.freebsd.org (Postfix) with ESMTP id A5FF537B709; Fri, 2 Jun 2000 11:42:50 -0700 (PDT) (envelope-from winter@jurai.net) Received: from localhost (winter@localhost) by sasami.jurai.net (8.9.3/8.8.7) with ESMTP id OAA39701; Fri, 2 Jun 2000 14:42:49 -0400 (EDT) Date: Fri, 2 Jun 2000 14:42:49 -0400 (EDT) From: "Matthew N. Dodd" To: Josef Karthauser Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/bin/ls extern.h ls.1 ls.c ls.h print.c In-Reply-To: <200006021453.HAA57857@freefall.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 2 Jun 2000, Josef Karthauser wrote: > It is not switched on by default and must be enabled with the -G > flag. When using ls -G the output behaviour is modified with ANSI > colour sequences wrapped around filenames to help distinguish file > types. (Colours can be redefined in the LSCOLORS environment > variable as described in the manual page.) The only problem is that users may expect color to work on non-ANSI terminals. Using the termcap database to issue color sequences might be a better way to approach this but it would require the colorized version of 'ls' to be linked with the termcap library. :/ Or we could have /usr/bin/ls as a more 'featurefull' version of /bin/ls. Or something. -- | Matthew N. Dodd | '78 Datsun 280Z | '75 Volvo 164E | FreeBSD/NetBSD | | winter@jurai.net | 2 x '84 Volvo 245DL | ix86,sparc,pmax | | http://www.jurai.net/~winter | This Space For Rent | ISO8802.5 4ever | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message