From owner-svn-src-head@FreeBSD.ORG Sun Aug 17 21:09:36 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F0FF1D91; Sun, 17 Aug 2014 21:09:35 +0000 (UTC) Received: from mailout12.t-online.de (mailout12.t-online.de [194.25.134.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mailout00.t-online.de", Issuer "TeleSec ServerPass DE-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7C38E3292; Sun, 17 Aug 2014 21:09:35 +0000 (UTC) Received: from fwd41.aul.t-online.de (fwd41.aul.t-online.de [172.20.27.139]) by mailout12.t-online.de (Postfix) with SMTP id D83E44796BB; Sun, 17 Aug 2014 23:09:26 +0200 (CEST) Received: from [192.168.119.33] (EY23ncZJQh2rpGwd9f8qLZMtiPPjWq5zbM7ZWt7uuRNVsrxKI3ppkMi9Ski6ykaZuY@[84.154.101.219]) by fwd41.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-SHA encrypted) esmtp id 1XJ7he-1XJN1E0; Sun, 17 Aug 2014 23:09:26 +0200 Message-ID: <53F11A04.504@freebsd.org> Date: Sun, 17 Aug 2014 23:09:24 +0200 From: Stefan Esser User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: Pedro Giffuni , src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r270114 - head/share/vt/keymaps References: <201408171954.s7HJsLmX099240@svn.freebsd.org> <53F10E95.30108@freebsd.org> In-Reply-To: <53F10E95.30108@freebsd.org> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit X-ID: EY23ncZJQh2rpGwd9f8qLZMtiPPjWq5zbM7ZWt7uuRNVsrxKI3ppkMi9Ski6ykaZuY X-TOI-MSGID: 59bd996e-01ab-45bc-86ec-be289b4a6430 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Aug 2014 21:09:36 -0000 Am 17.08.2014 um 22:20 schrieb Pedro Giffuni: > > On 08/17/14 14:54, Stefan Esser wrote: >> Author: se >> Date: Sun Aug 17 19:54:21 2014 >> New Revision: 270114 >> URL: http://svnweb.freebsd.org/changeset/base/270114 >> >> Log: >> Attempt at converting the SYSCONS keymaps to Unicode for use with >> NEWCONS. >> I have spent many hours comparing source and destination formats, >> and hope >> to have caught the most severe conversion errors. >> Files were converted with a Perl script which I'll shortly >> commit to the >> tools directory. This script is a much enhanced version of the one >> provided by ray@ and is expected to support the full kbdmap(5) syntax. >> The naming convention used is: >> <2-letter country code>..kbd >> Only if there are multiple layouts for different languages: >> <2-letter country code>-<2-letter language code>..kbd >> In nearly all cases, the keyboards are country specific, only. >> Currently >> there is only one case where the language was added ("ch-fr.kbd" for >> the Swiss-French keyboard layout). > > My $0.02 > I think es-la could/should be used for the latin-american keyboard. > es is basically used only in Spain so it should be es-es This has been discussed in the mail-list over quite a few days, and in the end I think that Ed Maste was right with his suggestion to just use country codes. My idea was to use the locale IDs, which are of the form _. But keyboard maps depend more on national standards than on languages. If you start with the language, then you need to add the country, but if you start with the country, you hardly ever need to support language specific layouts. (The Swiss-French keyboard differs only in two keys which have the shifted and unshifted characters exchanged.) > This is just IMHO, and could easily divert into a bikeshed > though. It already kind of did, over the last few days ;-) I spent quite some time discussing the naming scheme and that time could have been spent on the conversion and review process, instead ... But I really think that the scheme suggested be Ed is a good one - it is simple and uses the selector everybody knows (the country code as used in domain names), while the language codes are often hard to remember (and SYSCONS keymaps existed with either one used to name them, as a result). Therefore, what you'd name "es_LA" (or es-la) is now latinamerican (it could be "latinamerican-es" if you wanted to make the language visible in the name). The country comes first, and if there is no country code (e.g. because the keymap is used in many countries), a longer name is used. Sorry, if this is not what you'd have used. Up until two days ago, I also was in favour of the locale based names. But (just) the country is much more intuitive selector (and it works for nearly all countries - and it is easy to support those few that need both country and language ...) Best regards, STefan