]> git.eshelyaron.com Git - emacs.git/commitdiff
(dos_rawgetc): Don't zero out c if private translation
authorEli Zaretskii <eliz@gnu.org>
Tue, 6 Apr 1999 10:25:31 +0000 (10:25 +0000)
committerEli Zaretskii <eliz@gnu.org>
Tue, 6 Apr 1999 10:25:31 +0000 (10:25 +0000)
table was used.
(jp_kbd_translate_table): Support C-\.
(it_kbd_translate_table): Map `>' correctly.
(it_keyboard): Add `>'.

src/msdos.c

index 25f61b1b53243a89b967f9790167240b653d46d4..e919c203dbb49c54a0ae2712bf121eb32f520734 100644 (file)
@@ -1538,14 +1538,14 @@ static struct dos_keyboard_map fr_keyboard = {
  */
 
 static struct kbd_translate it_kbd_translate_table[] = {
-  { 0x56, 0x3c, Map | 13 },
-  { 0x56, 0x3e, Map | 13 },
+  { 0x56, 0x3c, Normal | 13 },
+  { 0x56, 0x3e, Normal | 27 },
   { 0, 0, 0 }
 };
 static struct dos_keyboard_map it_keyboard = {
 /* 0          1         2         3         4         5     */
 /* 0 123456789012345678901234567890123456789012345678901234 */
-  "\\1234567890'\8d< qwertyuiop\8a+   asdfghjkl\95\85\97   zxcvbnm,.-  ",
+  "\\1234567890'\8d< qwertyuiop\8a+>  asdfghjkl\95\85\97   zxcvbnm,.-  ",
 /* 01 23456789012345678901234567890123456789012345678901234 */
   "|!\"\9c$%&/()=?^> QWERTYUIOP\82*   ASDFGHJKL\87øõ   ZXCVBNM;:_  ",
 /* 0123456789012345678901234567890123456789012345678901234 */
@@ -1569,6 +1569,7 @@ static struct kbd_translate jp_kbd_translate_table[] = {
   { 0x73, 0x5f, Normal | 0 },
   { 0x7d, 0x5c, Normal | 13 },
   { 0x7d, 0x7c, Normal | 13 },
+  { 0x7d, 0x1c, Map | 13 },
   { 0, 0, 0 }
 };
 static struct dos_keyboard_map jp_keyboard = {
@@ -2131,8 +2132,6 @@ dos_rawgetc ()
            }
          
        case Map:
-         if (keyboard->translate_table)
-           c = 0;      /* so key gets mapped through country-specific kbd */
          if (c && !(mask & ALT_P) && !((mask & SHIFT_P) && (mask & CTRL_P)))
            if (!keyboard_map_all)
              return c;