summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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. */