cls
Version 1.0
Copyright 1997, Brett Johnson.  All Rights Reserved
Mostly swiped from the HP-UX version of cls by Rex Barzee (thanks Rex!)

cls is a color version of the ls command line utility.  It's mostly
complete, although it doesn't support the "efp" flags.  It does support
the "1ACFLRabcdgilmnoqrstux" flags.

cls won't print the escape codes if $TERM isn't a recognized ANSI/VT-type
terminal (if you use a terminal that's not recognized, but should be, let
me know).  It also won't print the escape codes if stdout isn't a tty, so
it should be safe to use as a replacement for ls (as long as you don't need
the "efp" flags).

You probably won't like the default colors (they look pretty ugly on Terminal's
default white background).  So, its pretty easy to change them.  Just use
something like InterfaceElements to edit the resources in cls.  There is a
string resource for each type of file.  These strings contain the ANSI escape
sequences that cls prints to color the different types of files.

The "escapes.txt" file contains a selection of escape codes that you can just
copy and paste into these resources.  Just type "cat escapes.txt" in a terminal
window to see what the various escapes look like with your terminal color settings.

--

cls is freeware.  You're free to use and modify cls.  You're also free to
distribute this entire unmodified package.  However, you may *not* distribute
a modified version of this package without my explicit written permission.

Brett Johnson
brett_johnson@hp.com
