Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Feb 2020 01:50:45 +0000 (UTC)
From:      Hiroki Sato <hrs@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r358061 - head/share/vt/keymaps
Message-ID:  <202002180150.01I1ojEa070066@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hrs
Date: Tue Feb 18 01:50:44 2020
New Revision: 358061
URL: https://svnweb.freebsd.org/changeset/base/358061

Log:
  Use 0x5c for the scan code 0x7d.
  
  Japanese keyboards traditionally use 0x5c for
  both Japanese yen sign key and backslash key.
  While a Japanese yen sign is depicted on the keytop,
  most of Japanese expect that the scan code 0x7d gives
  a backslash (0x5c), not a Japanese yen sign (0xa5).
  
  This is because JIS X 0201 encoding (aka ISO/IEC 646-JA,
  an extended version of ASCII which is very popular
  in Japan) has Japanese yen sign at 0x5c and
  no backslash.  On the other hand, ISO/IEC 8859-1
  has Japanese yen sign at 0xa5.  This difference has
  caused a confusion after Unicode became popular since
  ISO/IEC 10646 adopted 8859-1 for the plane 0.
  
  MFC after:	1 week

Modified:
  head/share/vt/keymaps/jp.capsctrl.kbd
  head/share/vt/keymaps/jp.kbd

Modified: head/share/vt/keymaps/jp.capsctrl.kbd
==============================================================================
--- head/share/vt/keymaps/jp.capsctrl.kbd	Tue Feb 18 01:21:56 2020	(r358060)
+++ head/share/vt/keymaps/jp.capsctrl.kbd	Tue Feb 18 01:50:44 2020	(r358061)
@@ -117,4 +117,4 @@
   115   '\'    '_'    fs     us     '\'    '_'    fs     us      O
   121   ' '    ' '    nul    ' '    ' '    ' '    susp   ' '     O
   123   ' '    ' '    nul    ' '    ' '    ' '    susp   ' '     O
-  125   0xa5   '|'    fs     us     0xa5   '|'    fs     us      O
+  125   '\'    '|'    fs     us     0xa5   '|'    fs     us      O

Modified: head/share/vt/keymaps/jp.kbd
==============================================================================
--- head/share/vt/keymaps/jp.kbd	Tue Feb 18 01:21:56 2020	(r358060)
+++ head/share/vt/keymaps/jp.kbd	Tue Feb 18 01:50:44 2020	(r358061)
@@ -115,4 +115,4 @@
   115   '\'    '_'    fs     us     '\'    '_'    fs     us      O
   121   ' '    ' '    nul    ' '    ' '    ' '    susp   ' '     O
   123   ' '    ' '    nul    ' '    ' '    ' '    susp   ' '     O
-  125   0xa5   '|'    fs     us     0xa5   '|'    fs     us      O
+  125   '\'    '|'    fs     us     0xa5   '|'    fs     us      O



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202002180150.01I1ojEa070066>