From owner-freebsd-ports Mon Jan 8 18:46:06 1996 Return-Path: owner-ports Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id SAA00480 for ports-outgoing; Mon, 8 Jan 1996 18:46:06 -0800 (PST) Received: from access.netaxs.com (access.netaxs.com [198.69.186.2]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id SAA00475 for ; Mon, 8 Jan 1996 18:46:03 -0800 (PST) Received: from unix3.netaxs.com (bmc@unix3.netaxs.com [198.69.186.5]) by access.netaxs.com (8.6.12/8.6.11) with ESMTP id VAA05156 for ; Mon, 8 Jan 1996 21:13:52 -0500 From: Brian Clapper Received: (bmc@localhost) by unix3.netaxs.com (8.6.12/8.6.9) id VAA09284 for freebsd-ports@freebsd.org; Mon, 8 Jan 1996 21:13:46 -0500 Message-Id: <199601090213.VAA09284@unix3.netaxs.com> Subject: Re: linux `ls' port To: freebsd-ports@freebsd.org Date: Mon, 8 Jan 1996 21:13:46 -0500 (EST) In-Reply-To: from "Chuck Robey" at Jan 8, 96 07:38:19 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-ports@freebsd.org Precedence: bulk Chuck Robey wrote: > Hmm, how does the linux ls differ from colorls in ports/misc ? >From my reading of the man page for colorls-2.1 (which is in ports/utils on my CD), and from my limited use of it, its colorization is controlled by the LSCOLORS environment variable. The file type is the only discriminant used to determine color, and (again, acc. to the man page) only the following types are supported: 1. directory 2. symbolic link 3. socket 4. pipe 5. executable 6. block special 7. character special 8. executable with setuid bit set 9. executable with setgid bit set 10. directory writable to others, with sticky bit 11. directory writable to others, without sticky bit That's a direct quote from the man page. The Linux version (which is, again, just a patched GNU `ls') is more versatile. Among other things it: - permits colorization based on file extension; - permits you to limit colorization to tty devices only; - and permits separate colorization of "orphan" symbolic links. Mainly, I prefer its versatility, which is why I ported it to FreeBSD. ---------- Brian Clapper bmc@willscreek.com -OR- bmc@telebase.com