aboutsummaryrefslogtreecommitdiff
path: root/tools/tools/vt
diff options
context:
space:
mode:
authorStefan Eßer <se@FreeBSD.org>2014-08-18 20:55:11 +0000
committerStefan Eßer <se@FreeBSD.org>2014-08-18 20:55:11 +0000
commite1ac1011927fa43de8e46b6477e4345f348d6043 (patch)
treec8bbf327116d414e9d3b91a5af57d32aefc32e3e /tools/tools/vt
parentada1ae623ea120c9bdabc0304f9b2e6f094cf62b (diff)
downloadsrc-e1ac1011927fa43de8e46b6477e4345f348d6043.tar.gz
src-e1ac1011927fa43de8e46b6477e4345f348d6043.zip
Notes
Diffstat (limited to 'tools/tools/vt')
-rw-r--r--tools/tools/vt/keymaps/KBDFILES.map22
-rwxr-xr-xtools/tools/vt/keymaps/convert-keymap.pl2
2 files changed, 12 insertions, 12 deletions
diff --git a/tools/tools/vt/keymaps/KBDFILES.map b/tools/tools/vt/keymaps/KBDFILES.map
index 81617e3da6b7..f4e5a66492d9 100644
--- a/tools/tools/vt/keymaps/KBDFILES.map
+++ b/tools/tools/vt/keymaps/KBDFILES.map
@@ -6,13 +6,13 @@ ISO8859-15 be.iso.acc.kbd be.acc.kbd
ISO8859-5 bg.bds.ctrlcaps.kbd bg.bds.kbd
ISO8859-5 bg.phonetic.ctrlcaps.kbd bg.bds.ctrlcaps.kbd
-ISO8859-1 br275.iso.kbd br.kbd
-ISO8859-1 br275.iso.acc.kbd br.acc.kbd
-CP850 br275.cp850.kbd br.kbd.from-cp850
+#ISO8859-1 br275.iso.kbd br.kbd.from-iso1 (only AltGr-Shift-6 differs from CP850)
+ISO8859-1 br275.iso.acc.kbd br.kbd
+CP850 br275.cp850.kbd br.noacc.kbd
-CP1131 by.cp1131.kbd by.kbd.from-cp1131
-CP1251 by.cp1251.kbd by.kbd.from-cp1251
-ISO8859-5 by.iso5.kbd by.kbd.from-iso5
+#CP1131 by.cp1131.kbd by.kbd.from-cp1131 (Shift-3 not OK)
+#CP1251 by.cp1251.kbd by.kbd.from-cp1251 (result identical to CP1251)
+ISO8859-5 by.iso5.kbd by.kbd
ISO8859-2 ce.iso2.kbd centraleuropean.kbd
@@ -119,11 +119,11 @@ ISO8859-1 swissgerman.macbook.acc.kbd ch.macbook.acc.kbd
ISO8859-9 tr.iso9.q.kbd tr.kbd
-ISO8859-1 uk.iso.kbd uk.kbd
-ISO8859-1 uk.iso-ctrl.kbd uk.capsctrl.kbd
-CP850 uk.cp850.kbd uk.kbd.from-cp850
-CP850 uk.cp850-ctrl.kbd uk.capsctrl.kbd.from-cp850
-ISO8859-1 uk.dvorak.kbd uk.dvorak.kbd
+ISO8859-15 uk.iso.kbd uk.kbd
+ISO8859-15 uk.iso-ctrl.kbd uk.capsctrl.kbd
+#CP850 uk.cp850.kbd uk.kbd.from-cp850 (no ¤ and different Alt/Alt-Shift encodings)
+#CP850 uk.cp850-ctrl.kbd uk.capsctrl.kbd.from-cp850 (no ¤ and different Alt/Alt-Shift encodings)
+ISO8859-15 uk.dvorak.kbd uk.dvorak.kbd
ISO8859-1 us.iso.kbd us.kbd
ISO8859-1 us.iso.acc.kbd us.acc.kbd
diff --git a/tools/tools/vt/keymaps/convert-keymap.pl b/tools/tools/vt/keymaps/convert-keymap.pl
index ce2408abf602..42349faeaf62 100755
--- a/tools/tools/vt/keymaps/convert-keymap.pl
+++ b/tools/tools/vt/keymaps/convert-keymap.pl
@@ -46,7 +46,7 @@ sub convert_token
if $C =~ m/^(\d+)$/; # decimal number
return local_to_UCS_code(chr(hex($1)))
if $C =~ m/^0x([0-9a-f]+)$/i; # hex number
- return local_to_UCS_code($1)
+ return local_to_UCS_code(chr(ord($1)))
if $C =~ m/^'(.)'$/; # character
return "<?$C?>"; # uncovered case
}