#
359075 |
|
18-Mar-2020 |
hrs |
MFC of r358061:
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.
|
#
270114 |
|
17-Aug-2014 |
se |
Attempt at converting the SYSCONS keymaps to Unicode for use with NEWCONS. I have spent many hours comparing source and destination formats, and hope to have caught the most severe conversion errors.
Files were converted with a Perl script which I'll shortly commit to the tools directory. This script is a much enhanced version of the one provided by ray@ and is expected to support the full kbdmap(5) syntax.
The naming convention used is:
<2-letter country code>.<variant>.kbd
Only if there are multiple layouts for different languages:
<2-letter country code>-<2-letter language code>.<variant>.kbd
In nearly all cases, the keyboards are country specific, only. Currently there is only one case where the language was added ("ch-fr.kbd" for the Swiss-French keyboard layout).
I choose to write Unicode character codes as hex numbers. While this increases the diff to the SYSCONS keymap files for the trivial cases (conversion from ISO8859-1), it really helps to verify the more complex cases against a Unicode table (which is indexed by hex numbers).
This commit does not cover all files that have been converted, since I need to sort out which ones to use, if there were several with different source encodings to choose from.
Review and test of the keymap files is highly desirable before 10.1 is released. I'd also appreciate educated opinions regarding the optimum variant (to be made available as the default for each language).
Since there are no NEWCONS keymaps in 10-STABLE, I plan to MFC after the minimum allowed delay of 3 days, to allow at least a few weeks to test and improve what will be in the next release.
MFC after: 3 days
|
#
43334 |
|
28-Jan-1999 |
yokota |
- Fix errors in some keymap files.
- The numpad * key should always generate *. - The numpad - is fkey52 and should not generate a control code (0x1f). - The numpad 5 is fkey54, not fkey61. - The numpad 6 is fkey55 and should not generate a control code (0x1e).
- Fix Spanish keymap. PR: i386/9532 Submitted by jose@we.lc.ehu.es.
- Added Croatian keymap. It is the same as the Slovenian keymap. PR: misc/9706 Pointed out by: Damjan Marion
- Addef Finnish keymap. It is the same as the Swedish keymap. PR: bin/9632 Submitted by: Martti Kuparinen
- Assign special functions consistently in all keymap files.
101 keyboard 84 keyboard function ------------------------------------------------------------------------ Ctrl-Alt-Delete Ctrl-Alt-Delete reboot Ctrl-Alt-Esc Ctrl-Alt-Esc debug Ctrl-Alt-Space Ctrl-Alt-Space susp ScrollLock ScrollLock slock PrintScreen Shift-(Numpad *)/PrintScreen nscr Ctrl-PrintScreen Shift-Ctrl-(Numpad *)/PrintScreen debug Alt-PrintScreen/SysRq SysRq nop Pause Ctrl-NumLock slock Shift-Pause Shift-Ctrl-NumLock saver Alt-Pause Alt-Ctrl-NumLock susp Ctrl-Pause/Break Ctrl-ScrollLock/Break nop Left W*ndow key NA fkey62 Right W*ndow key NA fkey63 Menu NA fkey64
NOTE: us.unix.kbd and us.emacs.kbd are very much different from the other keymaps, thus, I didn't touch them.
|
#
32822 |
|
27-Jan-1998 |
yokota |
- Correct inconsistencies among keymaps. - define CTL-ALT-ESC as `debug' key in all keymaps. (FAQ mentions this key sequence but not all keymaps had it!) - define CTL-SPACE as NUL in all keymaps. - define CTL-ALT-SPACE as `suspend' key in all but Russiun keymaps. - Fix Japanese keymaps. Some CTL- keystrokes were wrong. - Remove accent (dead) key definitions from spanish.iso.kbd, fr.iso.kbd and icelandic.iso.kbd. Create spanish.iso.acc.kbd, fr.iso.acc.kbd and icelandic.iso.acc.kbd with accent key definitions instead. - Update INDEX.keymaps and Makefile.
|