[NTLUG:Discuss] Undoing Windows Sytle ls foo
kbrannen@gte.net
kbrannen at gte.net
Tue Aug 27 22:54:27 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.
Except that I've seen this problem on SuSE too. So I guess you'd say they
followed RH's lead, then changed it back? Unsetting LANG, or setting it to
"en_US.iso885915" on both my SuSE 8.0 and a RH 7.2 machine don't cause it to
"go bad". (BTW, my RH7.2 system defaults it to "en_US".)
I also do not find LANG mentioned anywhere in the man page (or the info page).
Where did you find this tidbit? I wonder what else I'm missing... :-)
Kevin
More information about the Discuss
mailing list