summaryrefslogtreecommitdiff
path: root/xmodmap.man
diff options
context:
space:
mode:
authorKaleb Keithley <kaleb@freedesktop.org>2003-11-14 16:49:23 +0000
committerKaleb Keithley <kaleb@freedesktop.org>2003-11-14 16:49:23 +0000
commitdc0f15394719e18bb9b01e70468f4d9908488d35 (patch)
tree7ab8dfcac5f42c5c2951a6007e45a45d53a09537 /xmodmap.man
parente29f1f1ed2128d7382a72ccb1684045fe4bc8183 (diff)
Diffstat (limited to 'xmodmap.man')
-rw-r--r--xmodmap.man26
1 files changed, 16 insertions, 10 deletions
diff --git a/xmodmap.man b/xmodmap.man
index d23daca..9e5753e 100644
--- a/xmodmap.man
+++ b/xmodmap.man
@@ -23,6 +23,9 @@
.\" not be used in advertising or otherwise to promote the sale, use or
.\" other dealings in this Software without prior written authorization
.\" from The Open Group.
+.\"
+.\" $XFree86: xc/programs/xmodmap/xmodmap.man,v 1.11 2002/10/12 16:06:48 herrb Exp $
+.\"
.de EX \"Begin example
.ne 5
.if n .sp 1
@@ -36,9 +39,9 @@
.if n .sp 1
.if t .sp .5
..
-.TH XMODMAP 1 "Release 6.4" "X Version 11"
+.TH XMODMAP 1 __xorgversion__
.SH NAME
-xmodmap - utility for modifying keymaps (and pointer buttons) in X
+xmodmap - utility for modifying keymaps and pointer button mappings in X
.SH SYNOPSIS
.B xmodmap
[-options ...] [filename]
@@ -119,9 +122,13 @@ conflicts.
.B keycode \fINUMBER\fP = \fIKEYSYMNAME ...\fP
The list of keysyms is assigned to the indicated keycode
(which may be specified in decimal, hex or octal and can be determined by
-running the
-.I xev
-program.
+running the
+.I xev
+program. Up to eight keysyms may be attached to a key, however the last four
+are not used in any major X server implementation. The first keysym is used
+when no modifier key is pressed in conjunction with this key, the second with
+Shift, the third when the Mode_Switch key is used with this key and the fourth
+when both the Mode_Switch and Shift keys are used.
.TP 8
.B keycode any = \fIKEYSYMNAME ...\fP
If no existing key has the specified list of keysyms assigned to it,
@@ -133,10 +140,9 @@ 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<XRoot>/lib/X11/XKeysymDB\fP, where <XRoot> refers
-to the root of the X11 install tree.
-Note that if the same keysym is bound to multiple keys, the expression is
-executed for each matching keycode.
+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
.B clear \fIMODIFIERNAME\fP
This removes all entries in the modifier map for the given modifier, where
@@ -279,7 +285,7 @@ add Lock = Caps_Lock
.B DISPLAY
to get default host and display number.
.SH SEE ALSO
-X(1), xev(1), \fIXlib\fP documentation on key and pointer events
+X(__miscmansuffix__), xev(1), \fIXlib\fP documentation on key and pointer events
.SH BUGS
.PP
Every time a \fBkeycode\fP expression is evaluated, the server generates