Subject: Re: color ls (fwd)

From: [email-masked]
Date: Thu, 1 Aug 96 10:41 EDT

Thanks for forwarding this note by Jim Meyerding. I like his ignoring of
/etc/DIR_COLORS, I always found that filename rather ugly and kept my own
file /usr/local/etc/colour-ls.rc for these colour settings.

IMHO, two things remain:

	- the fileutils maintainer should patch dircolors so that it gives 
	  bright red for .deb files as for .tar and .tgz files.
	  Debian's color-ls did that too

	- ask Jim why dircolors doesn't generate the aliases as the
          Slackware version did. Should we patch it to remain backwards 
	  compatible?

-- 
Dirk Eddelb"uttel                             http://qed.econ.queensu.ca/~edd

---

From: [email-masked] (Erick Branderhorst)
Date: Thu, 1 Aug 1996 12:52:39 +0100

Answer from Jim Meyering (GNU fileutils mainstream maintainer):

> | I copied this to Jim Meyering hoping that he might be able to answer
> | your question Michael.
> |
> | Michael Meskes writes:
> | > Erick Branderhorst writes:
> | > > This file is in the origianl fileutils source name: dircolors.hin
> | > > but is not installed as you might have noticed.
> | >
> | > What's the reason for this behaviour?
> 
> I changed dircolors (to be different from the original slackware version)
> so that it doesn't read any fixed-filename config file.  So it no longer
> reads /etc/DIRCOLORS or $HOME/.whatever-that-name-was.
> 
> I made that change to maintain some measure of orthogonality.  Otherwise,
> dircolors would have been the sole program to do such a thing in all of
> the fileutils/textutils/sh-utils.
> 
> As you probably noticed, I added the --print-data-base option to print
> the default, compiled-in database.  So now, the config file must be
> specified when dircolors is run.
> 
>   % dircolors --help
>   Usage: dircolors [OPTION]... [FILE]
>   Output commands to set the LS_COLOR environment variable.
> 
>   Determine format of output:
>     -b, --sh, --bourne-shell    output Bourne shell code to set LS_COLOR
>     -c, --csh, --c-shell        output C shell code to set LS_COLOR
>     -p, --print-data-base       output defaults
> 	--help                  display this help and exit
> 	--version               output version information and exit

Erick