From owner-svn-src-head@FreeBSD.ORG Sun Aug 17 21:41:02 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 948BBCB7 for ; Sun, 17 Aug 2014 21:41:02 +0000 (UTC) Received: from nm50-vm2.bullet.mail.bf1.yahoo.com (nm50-vm2.bullet.mail.bf1.yahoo.com [216.109.115.221]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 43CE0357E for ; Sun, 17 Aug 2014 21:41:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1408311659; bh=JSPLKZ8rBTkSHrqW/IIaDkzsX+vsmWytnrO2AxW/fXE=; h=Received:Received:Received:X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Content-Type:Mime-Version:Subject:From:In-Reply-To:Date:Cc:Message-Id:References:To:X-Mailer; b=ccJ8nksuynthHhA0z0mzdhO5tCzqLeJ4nNebJmbNNHwfshpxPi3X/FO105b/kC+tveqez7omiV/wf3c7fc528DliBwRvREVmXTnirGGK/yxWspVoHx0eSMKF5J+E3rUm1k5+xdteHF0lML7YesDqzXyak9DPwB3LGw1F0oM9gChgDN5NshViVT5a0guljPrukc4MYxa7x80Bmco24h8s8WFoaEDlMdffco0TjSut5JmhFqYjEQV2l7hKA/6gCpdqN9IXo2PtbejL6/deZJUk7eLjwRgE8Iq5t292y3YGN3s7G80BbmW7sYocTG8RMTR66a51tKFhTTM7Bre9AgpBug== DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s2048; d=yahoo.com; b=Hrco3oRtRUkB+xrMMuBJmRJZBmDjKB96L1vj9llmJpvu6dv1Ans6jAtJaTeEQKrf6nCUlax8tKYf+B6xqu/lpC9HnjgWWfgHgwQuRlJ23dVVwjgXSmcXFi2Y3CmJymJ0xC9rIHKXotabgsm28lEB+sMxXd6HnEkYJyxrm4GPg9j1j9FZrKqhYLXBlIeAjPU7ellPfjxCJwZIhhwXpH16Ypq06Vu3MjU5UaFaX/BEMNGsBxaHma/al7C3jLFlK744rGnxiga7tXu3d4tjwpUj4U8SSdYMjNctmBxbQAtTRgM3RoRAEG8kLF6jvs2/SRmNeJkqJG0shXsojA+b/ZRyIg==; Received: from [98.139.212.150] by nm50.bullet.mail.bf1.yahoo.com with NNFMP; 17 Aug 2014 21:40:59 -0000 Received: from [98.139.213.9] by tm7.bullet.mail.bf1.yahoo.com with NNFMP; 17 Aug 2014 21:40:59 -0000 Received: from [127.0.0.1] by smtp109.mail.bf1.yahoo.com with NNFMP; 17 Aug 2014 21:40:59 -0000 X-Yahoo-Newman-Id: 842094.350.bm@smtp109.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: KaAVlbkVM1lCNLUkX0NTpDb8lKBOQPb5i1HoIEYd2iTXts9 zyW1_gpMkOp3QYicGVYYY3K_Sah_svfvGhIUHKnxCc3RrEREVqrqcepErJWH FrS9hfbHADPsOwwqjChwOrkToUE0KVUDTmUKZc3xBnwrnHjx.z7srqBG_BzE V06_Af7u92WJSI8v6XBT6Ycv.XvWyiHTKcij0.4pBGlXd.4yyS_6EHIk76ir buvkvlzt6dRME05_BPe3a.HTbiWiTYHQp7z6Y1cSVxC5OukPUcV1fgRotlC3 DxYeLDww02juEBzEuDkEE3luvhAEGn8Z2GaWY6Z67oi05olRzNDZ9QXaZlzQ xDeeJSvLGhbjzvuPKLjEFZrX9c38D6PhqzmT1IZzv8U6NH8xXKnlHS0lVIfc mKiQIj1E7oMQ2Z2uXiwlpX.Hc77Co4mTMBMd4w9GhYxlG.IhEevS1rbZLq_F Xc6I3yrl04bBifDVZ.QsOiuPF4ZZS221WVyhMwFGQkuXvEK1g3ZTkOylF25A 4a4V2oiSSnyjvo3qS25_fOI0PIsr3CoXxng-- X-Yahoo-SMTP: xcjD0guswBAZaPPIbxpWwLcp9Unf Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: svn commit: r270114 - head/share/vt/keymaps From: Pedro Giffuni In-Reply-To: <53F11A04.504@freebsd.org> Date: Sun, 17 Aug 2014 16:40:56 -0500 Message-Id: References: <201408171954.s7HJsLmX099240@svn.freebsd.org> <53F10E95.30108@freebsd.org> <53F11A04.504@freebsd.org> To: Stefan Esser X-Mailer: Apple Mail (2.1878.6) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org 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:41:02 -0000 Il giorno 17/ago/2014, alle ore 16:09, Stefan Esser ha = scritto: > Am 17.08.2014 um 22:20 schrieb Pedro Giffuni: >>=20 >> 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 >>>=20 >>> 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). >>=20 >> 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 >=20 > 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. >=20 > 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.) >=20 >> This is just IMHO, and could easily divert into a bikeshed >> though. >=20 > It already kind of did, over the last few days ;-) >=20 > 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). >=20 > 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. >=20 That would, IMHO, be fine. What I dislike is that all other files are = using two letter codes and meanwhile the latinamerican thing has the long name :-P. FWIW, I tried to change that in syscons but the reduced nomenclature came too late and changing names caused too much trouble in sysinstall.. Pedro. >=20 > 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 ...) >=20 > Best regards, STefan