From owner-freebsd-commit Fri Mar 24 09:52:06 1995 Return-Path: commit-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id JAA14395 for commit-outgoing; Fri, 24 Mar 1995 09:52:06 -0800 Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id JAA14374 for cvs-usrsbin-outgoing; Fri, 24 Mar 1995 09:51:59 -0800 Received: from time.cdrom.com (time.cdrom.com [192.216.223.46]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id JAA14296; Fri, 24 Mar 1995 09:51:52 -0800 Received: from mail.cs.tu-berlin.de (mail.cs.tu-berlin.de [130.149.17.13]) by time.cdrom.com (8.6.11/8.6.9) with ESMTP id JAA01933; Fri, 24 Mar 1995 09:51:44 -0800 Received: from caramba.cs.tu-berlin.de (wosch@caramba.cs.tu-berlin.de [130.149.144.4]) by mail.cs.tu-berlin.de (8.6.10/8.6.10) with ESMTP id SAA17169; Fri, 24 Mar 1995 18:34:10 +0100 From: Wolfram Schneider Received: (wosch@localhost) by caramba.cs.tu-berlin.de (8.6.10/8.6.9) id SAA05486; Fri, 24 Mar 1995 18:34:00 +0100 Date: Fri, 24 Mar 1995 18:34:00 +0100 Message-Id: <199503241734.SAA05486@caramba.cs.tu-berlin.de> To: "Andrey A. Chernov, Black Mage" Cc: CVS-commiters@time.cdrom.com, cvs-usrsbin@time.cdrom.com, "Jordan K. Hubbard" Subject: Re: cvs commit: src/usr.sbin/kbdmap - Imported sources In-Reply-To: References: <199503240052.QAA07302@time.cdrom.com> <199503241038.LAA13616@caramba.cs.tu-berlin.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 8bit Sender: commit-owner@FreeBSD.ORG Precedence: bulk Andrey A. Chernov writes: >>>This program incorrectly use system variable LANG for its own >>>purposes. Valid LANG format is _. >>>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