From 86a4f2a2d66bbeb6c9deee9133eb335f593c47f9 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Wed, 13 Sep 2006 15:07:16 -0700 Subject: [PATCH] Sun bug 6459447: Add note on reversing CapsLock/Control swap to man page http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6459447 --- xmodmap.man | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xmodmap.man b/xmodmap.man index 17425e8..4a7a95d 100644 --- a/xmodmap.man +++ b/xmodmap.man @@ -140,7 +140,7 @@ The \fIKEYSYMNAME\fP on the left hand side is translated into matching keycodes used to perform the corresponding set of \fBkeycode\fP expressions. The list of keysym names may be found in the header file \fI\fP (without the \fIXK_\fP prefix) -or the keysym database\fI __projectroot__/lib/X11/XKeysymDB\fP. Note that +or the keysym database \fI __projectroot__/lib/X11/XKeysymDB\fP. Note that if the same keysym is bound to multiple keys, the expression is executed for each matching keycode. .TP 8 @@ -253,6 +253,9 @@ add Lock = Caps_Lock add Control = Control_L .EE .PP +This example can be run again to swap the keys back to their previous +assignments. +.PP The \fIkeycode\fP command is useful for assigning the same keysym to multiple keycodes. Although unportable, it also makes it possible to write scripts that can reset the keyboard to a known state. The following script -- 2.7.4