[NTLUG:Discuss] Undoing Windows Sytle ls foo
Kenneth Loafman
ken at lt.com
Tue Aug 27 10:06:12 CDT 2002
MadHat wrote:
>On Mon, 2002-08-26 at 13:27, Kenneth Loafman wrote:
>
>>Just upgraded from RH 6.2 to 7.3. All is well except I can't seem to
>>find which switches were installed that cause the oddball directory
>>listing. I want (need) to have the old style UNIX directory listings
>>with the dot-foo stuff first, alphabetized with case-sensitivity, etc.
>> This new listing looks too much like the crap Windows users have to
>>contend with.
>>
>
>Its not a library or a compile problem... it is a feature. Red Hat is
>now setting LANG variables in the /etc/profile.d/lang.sh and
>/etc/profile.d/lang.csh scripts to support foreign languages.
>
>By default for english, it is setting LANG to en_US.iso885915, if you
>set LANG to just en, it goes back to 'normal' (yeh!!)
>
>The value is actually set in /etc/sysconfig/i18n for the whole system or
>you can also create a local file ~/.i18n and put LANG=en in it to
>override the system defaults.
>
>you can also use
>$ export LANG=en
>for bash, or
>$ setenv LANG en
>for csh to change it and test. If you just want to see what it is set
>to, do an
>$ echo $LANG
>
>Enjoy
>
THANK YOU! THANK YOU! THANK YOU!
Works like a charm. Just like the UNIX gods intended.
...Ken
More information about the Discuss
mailing list