svn commit: r270114 - head/share/vt/keymaps
emaste at freebsd.org
Mon Aug 18 01:58:47 UTC 2014
On 17 August 2014 15:54, Stefan Esser <se at freebsd.org> wrote:
> Author: se
> Date: Sun Aug 17 19:54:21 2014
> New Revision: 270114
> URL: http://svnweb.freebsd.org/changeset/base/270114
> 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.
Thank you very much for taking this on.
> <2-letter country code>.<variant>.kbd
> Only if there are multiple layouts for different languages:
> <2-letter country code>-<2-letter language code>.<variant>.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).
I've just temporarily broken this rule by renaming ca.kbd to
ca-fr.kbd, but will add a "Canadian Multilingual" ca.kbd soon; I think
it's better to get this set up in advance of the MFC.
> I choose to write Unicode character codes as hex numbers. While this
> increases the diff to the SYSCONS keymap files for the trivial cases
> (conversion from ISO8859-1), it really helps to verify the more complex
> cases against a Unicode table (which is indexed by hex numbers).
Thanks for this too, I agree that being able to look up Unicode code
points directly is much more important than reducing syscons diffs.
More information about the svn-src-all