Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Mar 1995 18:34:00 +0100
From:      Wolfram Schneider <wosch@cs.tu-berlin.de>
To:        "Andrey A. Chernov, Black Mage" <ache@astral.msk.su>
Cc:        CVS-commiters@time.cdrom.com, cvs-usrsbin@time.cdrom.com, "Jordan K. Hubbard" <jkh@FreeBSD.ORG>
Subject:   Re: cvs commit: src/usr.sbin/kbdmap - Imported sources
Message-ID:  <199503241734.SAA05486@caramba.cs.tu-berlin.de>
In-Reply-To: <qMqjjSlGT1@astral.msk.su>
References:  <199503240052.QAA07302@time.cdrom.com> <RBwWbSlyYE@astral.msk.su> <199503241038.LAA13616@caramba.cs.tu-berlin.de> <qMqjjSlGT1@astral.msk.su>

next in thread | previous in thread | raw e-mail | index | archive | help
Andrey A. Chernov writes:
>>>This program incorrectly use system variable LANG for its own
>>>purposes. Valid LANG format is <lang>_<country>.<code_table>
>>>or "C", it _never_ contain values as "en" or "de".
>
>>Njeeet! "en" or "de" are valid (ISO) and common (Hyper-G use it)
>>aliases for locale.
>
>Misunderstanding. "en" & "de" is valid (ISO) as _language_names_
>not as XPG locale names which is currently supported.

kbdmap support only languages, not countries or dialects with an army
:-) The Language is for the description.

english:
koi8-r-8x14 	Russian koi8-r-8x14

german:	
koi8-r-8x14	Russisch koi8-r-8x14

russian:
koi8-r-8x14	Russki koi8-r-8x14



>Moving english primary to US is Americano-centrism. :-)
>What happens, if you have f.e. two code tables for "ru" in one country?
>This is exaple from real life.
>Where "ru" will ponts in this case?

>Then, what happens with two countries with same language, f.e.
>French and Canada? Where "fr" will points in this case?

Ok, I wrote a function which map fr_CA.ISO8859-1 to 'fr',
fr_FR.ISO8859-1 to 'fr', it_CH.ISO8859-1 to 'it' etc.


Gruß Wolfram

--
http://hyperg.cs.tu-berlin.de:2080/C~wosch



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199503241734.SAA05486>