Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Jun 2000 14:42:49 -0400 (EDT)
From:      "Matthew N. Dodd" <winter@jurai.net>
To:        Josef Karthauser <joe@FreeBSD.org>
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
Message-ID:  <Pine.BSF.4.21.0006021440450.19627-100000@sasami.jurai.net>
In-Reply-To: <200006021453.HAA57857@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0006021440450.19627-100000>