From owner-freebsd-hackers@FreeBSD.ORG Tue Aug 12 12:55:46 2014 Return-Path: Delivered-To: freebsd-hackers@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 EA78C6B6; Tue, 12 Aug 2014 12:55:46 +0000 (UTC) Received: from mailout07.t-online.de (mailout07.t-online.de [194.25.134.83]) (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 ADAE72A80; Tue, 12 Aug 2014 12:55:46 +0000 (UTC) Received: from fwd11.aul.t-online.de (fwd11.aul.t-online.de [172.20.27.152]) by mailout07.t-online.de (Postfix) with SMTP id 3E17B3DAD63; Tue, 12 Aug 2014 14:55:38 +0200 (CEST) Received: from [192.168.119.33] (Xje78OZbohuGYZbsSVs0prcYnTBoZFBTwLo0kDYy5oN6MTvQd6uYdumtL5wYfIoweD@[84.154.101.219]) by fwd11.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-SHA encrypted) esmtp id 1XHBbz-0xFULw0; Tue, 12 Aug 2014 14:55:35 +0200 Message-ID: <53EA0EC2.2070601@freebsd.org> Date: Tue, 12 Aug 2014 14:55:30 +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: Aleksandr Rybalko Subject: Keymap definitions for VT / NEWCONS Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-ID: Xje78OZbohuGYZbsSVs0prcYnTBoZFBTwLo0kDYy5oN6MTvQd6uYdumtL5wYfIoweD X-TOI-MSGID: 2d312942-e45f-4730-9afe-b4113dbfa7b1 Cc: freebsd-hackers@freebsd.org, freebsd-stable@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Aug 2014 12:55:47 -0000 Hi Aleksandr, I have converted quite a number of the SYSCONS keymaps to NEWCONS format, using your script (uakbd2ukbd.pl). Many conversions lead to identical files for NEWCONS, some had a just a few replaced characters (e.g. Turkish or Brasilian keymaps). I verified quite a number of single characters using web resources (e.g. http://www.decodeunicode.org/ and keyboard layout images at http://http://ascii-table.com/keyboard.php/275 - replace number at the end for other locales). When there were different source encodings (e.g. German ISO8859-1 and CP850), I compared those too - the results should have been identical. In fact, there were minor changes and the version that had been converted from ISO was better than the one from CP850, with the exception of a single shifted key. I want to commit the conversion results to share/vt/keymaps, if you don't mind. In a first step, I want to commit those keymaps that I think are correct (either because they are identical to the SYSCONS keymaps, or because I checked them against web resources). I did not know how to deal with Dvorak keymaps (especially since they are not named according to the encoding used for SYSCONS), they can come later. These keymaps should be committed in time for 10.1, since NEWCONS is in GENERIC and people will expect them. When these maps are committed to -CURRENT, I can remove the hack that made kbdcontrol lookup keymaps under share/syscons/keymaps as a fall-back. This hack will not be merged to 10-STABLE ... One minor point: I want to commit the keymaps under names that just consist of the country code and ".kbd" (e.g. "us.kbd"), since only Unicode encoding is supported/required. Keyboards with accented characters will be named like "us.acc.kbd". I'm planning to commit the keymap files that I have on Thursday, if there are no objections. Regards, STefan PS: I have the keymaps that are ready to commit uploaded to: http://people.freebsd.org/~se/vt-keymaps.tar.bz2 (This file includes the 3 sample keymaps that already are in SVN since I did not exclude them when tarring ...)