diff options
author | se <se@FreeBSD.org> | 2014-09-01 16:26:57 +0000 |
---|---|---|
committer | se <se@FreeBSD.org> | 2014-09-01 16:26:57 +0000 |
commit | cc5e941e71d915f0a714cbcbd1cb89f90fe86137 (patch) | |
tree | 7b12bdfc4c68ab8012eb489dfc4acfaee55a7a3b /tools | |
parent | dd5b14a1ea3d2d8614082e4c0560c4a89e3589f9 (diff) | |
download | FreeBSD-src-cc5e941e71d915f0a714cbcbd1cb89f90fe86137.zip FreeBSD-src-cc5e941e71d915f0a714cbcbd1cb89f90fe86137.tar.gz |
Final patches to the tools used to convert syscons keymaps for use with
vt.
MFC after: 3 days
Diffstat (limited to 'tools')
-rw-r--r-- | tools/tools/vt/keymaps/KBDFILES.map | 2 | ||||
-rwxr-xr-x | tools/tools/vt/keymaps/convert-keymap.pl | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tools/tools/vt/keymaps/KBDFILES.map b/tools/tools/vt/keymaps/KBDFILES.map index 4494b85..24b90a7 100644 --- a/tools/tools/vt/keymaps/KBDFILES.map +++ b/tools/tools/vt/keymaps/KBDFILES.map @@ -144,6 +144,6 @@ ISO8859-1 us.emacs.kbd us.emacs.kbd ISO8859-1 us.pc-ctrl.kbd us.ctrl.kbd ISO8859-1 us.unix.kbd us.unix.kbd -ISO8859-5 ua.iso5.kbd ua.kbd.from-iso5 +#ISO8859-5 ua.iso5.kbd ua.kbd.from-iso5 KOI8-U ua.koi8-u.kbd ua.kbd KOI8-U ua.koi8-u.shift.alt.kbd ua.shift.alt.kbd diff --git a/tools/tools/vt/keymaps/convert-keymap.pl b/tools/tools/vt/keymaps/convert-keymap.pl index 778ae10..9c7f3ed 100755 --- a/tools/tools/vt/keymaps/convert-keymap.pl +++ b/tools/tools/vt/keymaps/convert-keymap.pl @@ -7,7 +7,7 @@ use strict; use utf8; # command line parsing -die "Usage: $0 filename.kbd CHARSET [EURO]" +die "Usage: $0 filename.kbd charset [EURO|YEN]\n" unless ($ARGV[1]); my $inputfile = shift; # first command argument @@ -60,8 +60,8 @@ sub local_to_UCS_code $ucs_char = 0xa5 # replace with Jap. Yen character on PC kbd if $ucs_char == ord('\\') and $use_yen and $current_scancode == 125; - $ucs_char = 0xa5 # replace with Jap. Yen character on PC98x1 kbd - if $ucs_char == ord('\\') and $use_yen and $current_scancode == 13; +# $ucs_char = 0xa5 # replace with Jap. Yen character on PC98x1 kbd +# if $ucs_char == ord('\\') and $use_yen and $current_scancode == 13; return prettyprint_token($ucs_char); } |