SCO UNIX (3.2.2) 'ls' is broken... what a shame
Walter Mecky
walter at mecky.UUCP
Fri Jan 4 05:27:07 AEST 1991
In article <41 at esacs.UUCP> pizzi at esacs.UUCP (Riccardo Pizzi) writes:
< We installed recently the new SCO UNIX release, i.e. 3.2.2.
< []
< However, my first login on the newly installed system showed a very nasty
< bug in one of the most used commands, 'ls'.
[ Shows that the filenames or not sorted in ASCII sequence but upper
case and lower case a sorted together. ]
<
< Anybody has a solution?
Reading the manual from the International Supplement you can read
someting about "locales". The default locale is ISO 8859. I bet,
after installing you find something with ".8859" in your
/etc/default/lang file, Riccardo, don't you?
If you look in /usr/lib/lang.src/col.8859.src, you find the sorting
sequence for this character set. Here it is defined that upper and
lower case letter sorts equal.
There are some possiblities to get the good old ASCII sorting order:
1. Replace the "8859" in your /etc/default/lang with "asci".
2. Set the LANG environment variable to something that ends with "asci".
3. Change /usr/lib/lang.src/col.8859.src to meet your style. Run
chrtbl(C) and move the output file in the correct directory under
/usr/lib/lang.
--
Walter Mecky [ walter at mecky.uucp or ...uunet!unido!mecky!walter ]
More information about the Comp.unix.sysv386
mailing list