From owner-cvs-all Sun Jun 4 19:14: 5 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 2FCA637B50D; Sun, 4 Jun 2000 19:14:02 -0700 (PDT) (envelope-from joe@FreeBSD.org) Received: (from joe@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id TAA18352; Sun, 4 Jun 2000 19:14:01 -0700 (PDT) (envelope-from joe@FreeBSD.org) Message-Id: <200006050214.TAA18352@freefall.freebsd.org> From: Josef Karthauser Date: Sun, 4 Jun 2000 19:14:01 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/bin/ls Makefile extern.h ls.c ls.h print.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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. * Allow optional compilation of the colour support in the Makefile, defaulting to yes. This allows us to switch it off for fixit floppies and other mediums where space is an issue and the extra bloat of statically linking with ncurses isn't acceptable. * Display a warning if colour is requested with '-G' but support for it isn't compiled in. Revision Changes Path 1.10 +4 -1 src/bin/ls/Makefile 1.9 +4 -1 src/bin/ls/extern.h 1.34 +21 -3 src/bin/ls/ls.c 1.13 +3 -1 src/bin/ls/ls.h 1.21 +48 -12 src/bin/ls/print.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message