Hi: Suse 9.1 I have an environment var called LS_COLORS set automatically by Suse which for a link has ln=00;36 which I take it should be cyan. However my links show red. I unset LS_COLORS, then my links show cyan. I look in the man page and info page for ls, of course they specify that: --color[=WHEN] control whether color is used to distinguish file types. WHEN may be never', always', or auto' Let's see here:
alias ls alias ls='/bin/ls $LS_OPTIONS'
But of course my LS_OPTIONS variable is set to:
echo $LS_OPTIONS -N --color=tty -T 0
So what is going on here? Does Suse know what they are doing? Why are options being used on ls that are inconsistent with the docs?!?! Of course I don't trust the docs very much considering that they are unable to organize them and even alphabetize them for that matter. Nor do the info docs state to what version of the programs they apply to. At least the man page for ls agrees with the ls --version. The info pages attempt to be cool by organizing info into little hyperlinked categories, but only succeed in making it more of a chore to find what you are looking for. Where does the ls info explain what env vars affect ls? What is /etc/DIR_COLORS used for? Why did my links show red? Thanks for input. -- Good day! ________________________________________ Christopher R. Carlen Principal Laser&Electronics Technologist Sandia National Laboratories PO Box 969 MS 9053 Livermore, CA 94550 USA crcarle@sandia.gov (925) 294-1562 (925) 294-1562 [fax]