summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorse <se@FreeBSD.org>2014-09-01 16:26:57 +0000
committerse <se@FreeBSD.org>2014-09-01 16:26:57 +0000
commitcc5e941e71d915f0a714cbcbd1cb89f90fe86137 (patch)
tree7b12bdfc4c68ab8012eb489dfc4acfaee55a7a3b /tools
parentdd5b14a1ea3d2d8614082e4c0560c4a89e3589f9 (diff)
downloadFreeBSD-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.map2
-rwxr-xr-xtools/tools/vt/keymaps/convert-keymap.pl6
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);
}
OpenPOWER on IntegriCloud