freebsd-dev/bin/ls
Josef Karthauser 3885812c8c Add colour support to /bin/ls (at a cost of 1056 bytes on my system).
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.)

Colour support is silently disabled (if switched on) if stdout
isn't a tty.

Based on:	asami's colorls port.
PR:		bin/18900 && ports/18616.
2000-06-02 14:53:42 +00:00
..
cmp.c $Id$ -> $FreeBSD$ 1999-08-27 23:15:48 +00:00
extern.h Add colour support to /bin/ls (at a cost of 1056 bytes on my system). 2000-06-02 14:53:42 +00:00
ls.1 Add colour support to /bin/ls (at a cost of 1056 bytes on my system). 2000-06-02 14:53:42 +00:00
ls.c Add colour support to /bin/ls (at a cost of 1056 bytes on my system). 2000-06-02 14:53:42 +00:00
ls.h Add colour support to /bin/ls (at a cost of 1056 bytes on my system). 2000-06-02 14:53:42 +00:00
Makefile Revert part of the last commit, remove {g|s}etflags from the libc 2000-02-05 18:42:36 +00:00
print.c Add colour support to /bin/ls (at a cost of 1056 bytes on my system). 2000-06-02 14:53:42 +00:00
util.c $Id$ -> $FreeBSD$ 1999-08-27 23:15:48 +00:00