summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2001-09-30 06:00:53 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2001-09-30 06:00:53 +0000
commite6dbd9d5f29704d0a7fb46a92c619f1fb29840fd (patch)
tree47ef9717ffb4b834ab4d1d9251112f93fb5116e8
parentec0aa053823d2a3da68a229c5020f2083ae94f1b (diff)
add mode_shift and mode_lock examples; mostly from Igor Grabin <violent@death.kiev.ua>
-rw-r--r--sbin/wsconsctl/wsconsctl.824
1 files changed, 23 insertions, 1 deletions
diff --git a/sbin/wsconsctl/wsconsctl.8 b/sbin/wsconsctl/wsconsctl.8
index 9dddf86e091..789011e97a4 100644
--- a/sbin/wsconsctl/wsconsctl.8
+++ b/sbin/wsconsctl/wsconsctl.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: wsconsctl.8,v 1.7 2001/09/08 15:36:01 heko Exp $
+u\" $OpenBSD: wsconsctl.8,v 1.8 2001/09/30 06:00:52 mickey Exp $
.\" $NetBSD: wsconsctl.8,v 1.5 1999/09/12 18:47:11 kleink Exp $
.\"
.\" Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -127,6 +127,28 @@ to the
.Ar /usr/include/dev/wscons/wsksymdef.h
file.
.Pp
+.Cm wsconsctl -w keyboard.map+="keycode 184=Mode_switch"
+.Pp
+Assigns the
+.Ar Right Alt
+key to be the group modifier (layout is changed while the key is pressed).
+.Pp
+.Cm wsconsctl -w keyboard.map+="keycode 157=Mode_Lock"
+.Pp
+Assigns the
+.Ar Right Control
+key to be the lock for the group modifier.
+.Pp
+The effect of
+.Ar Mode_Lock
+and
+.Ar Mode_switch
+is not mutually exclusive, to be consistant with
+.Ar Caps Lock
+and
+.Ar Shift
+behaviour.
+.Pp
.Cm wsconsctl -w keyboard.encoding=us.swapctrlcaps
.Pp
Sets a US keyboard encoding, with the