summaryrefslogtreecommitdiff
path: root/console-client
diff options
context:
space:
mode:
authorMarcus Brinkmann <marcus@gnu.org>2002-09-22 02:13:55 +0000
committerMarcus Brinkmann <marcus@gnu.org>2002-09-22 02:13:55 +0000
commit253348bac2dced91688712d909059a035d5b9b0c (patch)
tree4453deab4c323b29f5ba5eb29aa4a836b0b70fc9 /console-client
parent1eb7ad1b73de1d61587a892efb4b10da02ae1537 (diff)
2002-09-22 Marcus Brinkmann <marcus@gnu.org>
* pc-kbd.c (sc_to_kc): Implement Meta-Backspace combinations.
Diffstat (limited to 'console-client')
-rw-r--r--console-client/ChangeLog4
-rw-r--r--console-client/pc-kbd.c5
2 files changed, 7 insertions, 2 deletions
diff --git a/console-client/ChangeLog b/console-client/ChangeLog
index 9093466f..cf13d98d 100644
--- a/console-client/ChangeLog
+++ b/console-client/ChangeLog
@@ -1,3 +1,7 @@
+2002-09-22 Marcus Brinkmann <marcus@gnu.org>
+
+ * pc-kbd.c (sc_to_kc): Implement Meta-Backspace combinations.
+
2002-09-19 Marcus Brinkmann <marcus@gnu.org>
* vga-support.c (vga_read_write_font_buffer): New function. It
diff --git a/console-client/pc-kbd.c b/console-client/pc-kbd.c
index 5dccc50e..81992975 100644
--- a/console-client/pc-kbd.c
+++ b/console-client/pc-kbd.c
@@ -179,8 +179,9 @@ char *sc_to_kc[][7] =
{ "0", ")", 0, "\e0", "\e)", 0, "0" }, /* SC_0. */
{ "-", "_", "\x1f", "\e-", "\e_", "\e\x1f", "-" }, /* SC_MINUS. */
{ "=", "+", 0, "\e=", "\e+", 0, "=" }, /* SC_EQUAL. */
- { CONS_KEY_BACKSPACE, CONS_KEY_BACKSPACE, CONS_KEY_BACKSPACE, /* XXX */ 0,
- CONS_KEY_BACKSPACE, /*XXX*/ 0, CONS_KEY_BACKSPACE }, /* SC_BACKSPACE. */
+ { CONS_KEY_BACKSPACE, CONS_KEY_BACKSPACE, CONS_KEY_BACKSPACE,
+ "\e" CONS_KEY_BACKSPACE, "\e" CONS_KEY_BACKSPACE,
+ "\e" CONS_KEY_BACKSPACE, CONS_KEY_BACKSPACE }, /* SC_BACKSPACE. */
/* XXX back tab? */
{ "\t", "\t", "\t", "\e\t", "\e\t", "\e\t", "\t" }, /* SC_TAB. */
{ "q", "Q", "\x11", "\eq", "\eQ", "\e\x11", "q" }, /* SC_Q. */