[1350] in RedHat Linux List
Re: color ls broken after 4.0 upgrade
daemon@ATHENA.MIT.EDU (Ian Burrell)
Sun Oct 27 22:01:16 1996
To: redhat-list@redhat.com
Date: Sun, 27 Oct 1996 18:55:14 -0800 (PST)
In-Reply-To: <v03010501ae997bc0bbc9@[206.243.174.18]> from "ralph muha" at Oct 27, 96 03:53:54 pm
From: Ian Burrell <iburrell@leland.Stanford.EDU>
Reply-To: iburrell@leland.Stanford.EDU
Resent-From: redhat-list@redhat.com
>
>
> >did you try
> >alias ls="ls --color=auto"
>
> so where is this documented? not in the man page.
> and not on the redhat web pages, either, which is
> what I used to set it up in 3.0.3...
>
It changed between 3.0.3 and 4.0 because color-ls was integrated into
the standard GNU fileutils. It is best documented in the fileutils
info pages, although the ls man page does have the
--color={yes,no,tty} option which corresponds to the new
--color={always,never,auto}. Just do the alias and everything should
work properly. Keep in mind that dircolors works off its internal
defaults and doesn't look at the /etc/DIR_COLORS file, so if you want
to customize things, you need to make it explicit 'dircolors
/etc/DIR_COLORS'.
BTW, you should probably remove the color-ls package. A general
comment on RedHat, I have noticed there are quite a few obsolete
packages left after upgrading. Since there is no way the update can
remove them automatically, making a list of what packages were
replaced or integrated with something else would really help in later
cleanup.
- Ian
--
-- Ian Burrell == iburrell@leland.stanford.edu **
<URL:http://www-leland.stanford.edu/~iburrell/>
No matter how much you know, you will never know enough.
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
________________________________________________________________________
http://www.redhat.com/RedHat-FAQ http://www.redhat.com/RedHat-Errata
http://www.redhat.com/RedHat-Tips http://www.redhat.com/mailing-lists
------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null