[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fw: lct.tgz



Halloo Alexander Voropay,
on Wed, Sep 22, 1999 at 07:46:52PM +0400, you wrote:

 >  В продолжение битвы с Alias-ами - крошечная программушка.
 > 
 > Попробуйте
 > $ lct ru
 > $ lct ru_RU
 > $ lct ru_RU.KOI8-R
 > 
 >  на разных системах, пожалуста.
 
 [0:mm@elf:~/prog/lct]$ cc -s lct.c -o lct
 [0:mm@elf:~/prog/lct]$ ./lct
 Usage: lct language[_TERRITORY[.Codeset]]
 [0:mm@elf:~/prog/lct]$ ./lct ru
 Trying to set LC_CTYPE=ru
 No locale 'ru' in your system.
 [0:mm@elf:~/prog/lct]$ ./lct ru_RU
 Trying to set LC_CTYPE=ru_RU
 We got LC_CTYPE=ru_RU
 Great! All OK.
 [0:mm@elf:~/prog/lct]$ ./lct ru_SU
 Trying to set LC_CTYPE=ru_SU
 We got LC_CTYPE=ru_SU
 Great! All OK.
 [0:mm@elf:~/prog/lct]$ ./lct russian
 Trying to set LC_CTYPE=russian
 We got LC_CTYPE=ru_RU.KOI8-R
 We can't set REQUIRED locale !
 [0:mm@elf:~/prog/lct]$ ./lct ru_RU.KOI8-R
 Trying to set LC_CTYPE=ru_RU.KOI8-R
 We got LC_CTYPE=ru_RU.KOI8-R
 Great! All OK.
 [0:mm@elf:~/prog/lct]$ ./lct ru_SU.KOI8-R
 Trying to set LC_CTYPE=ru_SU.KOI8-R
 We got LC_CTYPE=ru_SU
 We can't set REQUIRED locale !
 [0:mm@elf:~/prog/lct]$ uname -a
 Linux elf.tm.penza.ru 2.2.12 #4 Втр Сен 14 11:39:27 MSD 1999 i586 unknown
 [0:mm@elf:~/prog/lct]$ _

 Гм. Это RedHat 6.0

-- 
Michael Marackaew
mm@tm.penza.ru