summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormickey <mickey@openbsd.org>2002-08-26 21:17:45 +0000
committermickey <mickey@openbsd.org>2002-08-26 21:17:45 +0000
commitaccf8305784cd02b62a5f9c28bf56fa31401b2b9 (patch)
treef26850da91e9d97272869d27c21fa69f9cefd6bd
parentmap backspace to delete, not backspace key symbol which are defined the same at the moment; drahn ok@ (diff)
downloadwireguard-openbsd-accf8305784cd02b62a5f9c28bf56fa31401b2b9.tar.xz
wireguard-openbsd-accf8305784cd02b62a5f9c28bf56fa31401b2b9.zip
now that none of the keyboard maps map anything into
the KS_BackSpace (use KS_Delete instead) we can restore an ability to map any key into BackSpace symbol: wsconsctl -w keyboard.map+="keycode 14 = Cmd_ResetEmul BackSpace" xfree is not using the key symbols, but raw key codes and therefore is not affected (as discussed w/ matthieu@). in fact, nothing in the whole tree is using the KS_BackSpace right now. existing KS_BackSpace definition is wrong and breaks the wsconsctl.
-rw-r--r--sys/dev/wscons/wsksymdef.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/wscons/wsksymdef.h b/sys/dev/wscons/wsksymdef.h
index 883d3179115..e541aff969a 100644
--- a/sys/dev/wscons/wsksymdef.h
+++ b/sys/dev/wscons/wsksymdef.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: wsksymdef.h,v 1.19 2002/06/29 15:21:48 maja Exp $ */
+/* $OpenBSD: wsksymdef.h,v 1.20 2002/08/26 21:17:45 mickey Exp $ */
/* $NetBSD: wsksymdef.h,v 1.34.4.1 2000/07/07 09:49:54 hannken Exp $ */
/*-
@@ -59,7 +59,7 @@
* Group Ascii (ISO Latin1) character in low byte
*/
-#define KS_BackSpace 0x7f
+#define KS_BackSpace 0x08
#define KS_Tab 0x09
#define KS_Linefeed 0x0a
#define KS_Clear 0x0b