Subject: Re: colorls
To: Thilo Manske <Thilo.Manske@HEH.Uni-Oldenburg.DE>
From: Nate Johnston <njohnston@broadwing.com>
List: netbsd-users
Date: 02/25/2000 10:06:38
> (Are we alone on this list?)

No.  :)
 
> It seems to loose it's fuctionality when piped though more or less.  
> Is this the way it just is, because if it is, colorls is pretty
> useless, as most directories are more than a screenfull long.  Plus, I
> wish to suggest it as a

Deleting the color codes is better than the alternative, which is what
linuxls does (I'm using the names in the NetBSD ports tree, BTW).  Here's
a sample:

njohnston@synapse:/usr/pkgsrc/misc/linuxls linuxls --color
CVS
Makefile
files
patches
pkg
work

You can see how the ANSI color codes are displayed literally in more.
grep and all the other text processing utilities are the same.

--N.