summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2006-09-13 15:07:16 -0700
committerAlan Coopersmith <alan.coopersmith@sun.com>2006-09-13 15:07:16 -0700
commit86a4f2a2d66bbeb6c9deee9133eb335f593c47f9 (patch)
tree8d2e95a08c14268211ca580d215a0d7ebe11e0a9
parent7410e78207ca01d70d9df14eb1e4e07e7fe5f237 (diff)
Sun bug 6459447: Add note on reversing CapsLock/Control swap to man page
http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6459447
-rw-r--r--xmodmap.man5
1 files changed, 4 insertions, 1 deletions
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<X11/keysymdef.h>\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