Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!uunet!mcsun!unido!mikros!mwtech!mecky!walter From: walter@mecky.UUCP (Walter Mecky) Newsgroups: comp.unix.sysv386 Subject: Re: SCO UNIX (3.2.2) 'ls' is broken... what a shame Summary: No, it's not broken Keywords: ls SCO shame Message-ID: <849@mecky.UUCP> Date: 3 Jan 91 18:27:07 GMT References: <41@esacs.UUCP> Reply-To: walter@mecky.UUCP (Walter Mecky) Organization: MIKROS Systemware, Buettelborn/W-Germany Lines: 28 In article <41@esacs.UUCP> pizzi@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@mecky.uucp or ...uunet!unido!mecky!walter ]