Re: Odd behavior with ls about colors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2002-12-02 at 12:21, Harry Putnam wrote:
> I wondered if this is caused by local setting: 
> 
> Phenomena I observe is when i call `ls' on a directory I see the
> symlinks in my chosen color of cyan.  However if I call 
>   `ls .misc-snippets' 
> 
> Or any dot file that is a symlink it doesn't appear in
> cyan, but in default color.
> 
> If I call it like `ls -l .dot-file, then the cyan appears
> 
> Going to a 7.3 machine I have running I see a direct ls like:
>   `ls .misc-snippets' does show the cyan.

[~]$ mkdir test
[~]$ cd test
[test]$ ln -s ../.gnome-desktop
[test]$ ls -al
Works for me here.  Symlink to .gnome-desktop shows in cyan as you
describe.

Check that your DIR_COLORS (fileutils) has not been changed.  (Mine has,
for testing a problem the other day.  DIR_COLORS modify time is
different than original, but content is the same)

$ rpm --verify fileutils
.......T c /etc/DIR_COLORS
missing  c /etc/DIR_COLORS.xterm

Also compare DIR_COLORS to your RH7.3 system, and note that RH8 has an
additional file, DIR_COLORS.xterm.  Finally, you can check the
environment variable which ultimately contains this info (LS_COLORS),
comparing it also to RH7.3

HTH,
Ryan

-- 
Powered by Red Hat Linux 8.0



-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux