From owner-cvs-all Sun Jun 4 19:31:51 2000 Delivered-To: cvs-all@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 542) id 8CD6B37C1D1; Sun, 4 Jun 2000 19:31:46 -0700 (PDT) Date: Sun, 4 Jun 2000 19:31:46 -0700 From: "Andrey A. Chernov" To: Josef Karthauser Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/bin/ls Makefile extern.h ls.c ls.h print.c Message-ID: <20000604193146.B3141@freebsd.org> References: <200006050214.TAA18352@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <200006050214.TAA18352@freefall.freebsd.org>; from joe@FreeBSD.org on Sun, Jun 04, 2000 at 07:14:01PM -0700 Organization: Biomechanoid Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Jun 04, 2000 at 07:14:01PM -0700, Josef Karthauser wrote: > joe 2000/06/04 19:14:01 PDT > > Modified files: > bin/ls Makefile extern.h ls.c ls.h print.c > Log: > * Re-implement colour support using termcap's AF and AB capabilities > to manage the ANSI colour sequences. Colour support is disabled > unless the TERM environment variable references a valid termcap. ansiseq = tgetstr("se", &bp); This is wrong way to turn colors off. "se" for attributes, not for colors. This is very inefficient and cause full termcap entry search each time. -- Andrey A. Chernov http://ache.pp.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message