1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-05 09:14:03 +00:00
freebsd/bin/ls
Josef Karthauser 5a890e22bf Don't look up the ANSI sequences each time a colour is changed,
this is extremely inefficient, instead write them all down at the
beginning.

The correct sequence to switch colours off is to first use 'op' if
it exists, otherwise use 'oc'.  If neither of these exist then we
shouldn't be doing colour with this terminal.

Reviewed by:	ache
2000-06-05 03:51:29 +00:00
..
cmp.c $Id$ -> $FreeBSD$ 1999-08-27 23:15:48 +00:00
extern.h Don't look up the ANSI sequences each time a colour is changed, 2000-06-05 03:51:29 +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 Don't look up the ANSI sequences each time a colour is changed, 2000-06-05 03:51:29 +00:00
ls.h * Re-implement colour support using termcap's AF and AB capabilities 2000-06-05 02:14:01 +00:00
Makefile Disable colour support in ls when building the fixit floppy, and make 2000-06-05 02:25:55 +00:00
print.c Don't look up the ANSI sequences each time a colour is changed, 2000-06-05 03:51:29 +00:00
util.c $Id$ -> $FreeBSD$ 1999-08-27 23:15:48 +00:00