From 253348bac2dced91688712d909059a035d5b9b0c Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Sun, 22 Sep 2002 02:13:55 +0000 Subject: 2002-09-22 Marcus Brinkmann * pc-kbd.c (sc_to_kc): Implement Meta-Backspace combinations. --- console-client/pc-kbd.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'console-client/pc-kbd.c') 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. */ -- cgit v1.2.3