aboutsummaryrefslogtreecommitdiff
path: root/share/vt/keymaps
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2020-02-18 01:50:44 +0000
committerHiroki Sato <hrs@FreeBSD.org>2020-02-18 01:50:44 +0000
commit604d0dd551fa7d275cdf69911c9df4595a42f49f (patch)
tree605afa0db65aba246b212317f4de10168a6aec95 /share/vt/keymaps
parent2272f66379a21653f5456307a4e726c6ebedeff7 (diff)
downloadsrc-604d0dd551fa7d275cdf69911c9df4595a42f49f.tar.gz
src-604d0dd551fa7d275cdf69911c9df4595a42f49f.zip
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
Notes
Notes: svn path=/head/; revision=358061
Diffstat (limited to 'share/vt/keymaps')
-rw-r--r--share/vt/keymaps/jp.capsctrl.kbd2
-rw-r--r--share/vt/keymaps/jp.kbd2
2 files changed, 2 insertions, 2 deletions
diff --git a/share/vt/keymaps/jp.capsctrl.kbd b/share/vt/keymaps/jp.capsctrl.kbd
index 294d531e6977..26d7409dfe31 100644
--- a/share/vt/keymaps/jp.capsctrl.kbd
+++ b/share/vt/keymaps/jp.capsctrl.kbd
@@ -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
diff --git a/share/vt/keymaps/jp.kbd b/share/vt/keymaps/jp.kbd
index 1fbff5d31e55..9f6b16fd13cd 100644
--- a/share/vt/keymaps/jp.kbd
+++ b/share/vt/keymaps/jp.kbd
@@ -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