Date: Sun, 4 Jun 2000 20:51:30 -0700 (PDT) From: Josef Karthauser <joe@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/bin/ls extern.h ls.c print.c Message-ID: <200006050351.UAA28622@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
joe 2000/06/04 20:51:30 PDT Modified files: bin/ls extern.h ls.c print.c Log: 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 Revision Changes Path 1.10 +5 -1 src/bin/ls/extern.h 1.35 +24 -3 src/bin/ls/ls.c 1.22 +5 -10 src/bin/ls/print.c 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?200006050351.UAA28622>