summaryrefslogtreecommitdiff
path: root/console-client/pc-kbd.c
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/pc-kbd.c
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/pc-kbd.c')
-rw-r--r--console-client/pc-kbd.c5
1 files changed, 3 insertions, 2 deletions
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. */