From: Alan Coopersmith Date: Tue, 14 Sep 2010 07:45:57 +0000 (-0700) Subject: Attempt to further improve keysym name info in man page X-Git-Tag: xmodmap-1.0.5~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d1091f9fee901b5cdc589aa544c0a5616bf99d9d;p=platform%2Fupstream%2Fxmodmap.git Attempt to further improve keysym name info in man page - Move it to the top of the grammar section since it applies to multiple commands, not just the keysym KEYSYMNAME = KEYSYMNAME command - Note that XKeysymDB supplements keysymdef.h, doesn't stand in place of it. - Add note about automatic mapping of Unicode characters to keysyms Signed-off-by: Alan Coopersmith --- diff --git a/man/xmodmap.man b/man/xmodmap.man index 4268e1b..4393daf 100644 --- a/man/xmodmap.man +++ b/man/xmodmap.man @@ -1,6 +1,6 @@ .\" $Xorg: xmodmap.man,v 1.4 2001/02/09 02:05:56 xorgcvs Exp $ .\" -.\" Copyright 1987 Sun Microsystems, Inc. All rights reserved. +.\" Copyright (c) 1987, 2010, Oracle and/or its affiliates. All rights reserved. .\" .\" Permission is hereby granted, free of charge, to any person obtaining a .\" copy of this software and associated documentation files (the "Software"), @@ -140,6 +140,12 @@ program reads a list of expressions and parses them all before attempting to execute any of them. This makes it possible to refer to keysyms that are being redefined in a natural way without having to worry as much about name conflicts. +.PP +The list of keysym names may be found in the header file +\fI\fP (without the \fIXK_\fP prefix), +supplemented by the keysym database \fI __X11datadir__/XKeysymDB\fP. +Keysyms matching Unicode characters may be specified as "U0020" to "U007E" +and "U00A0" to "U10FFFF" for all possible Unicode characters. .TP 8 .B keycode \fINUMBER\fP = \fIKEYSYMNAME ...\fP The list of keysyms is assigned to the indicated keycode @@ -159,10 +165,7 @@ The list of keysyms may be specified in decimal, hex or octal. .TP 8 .B keysym \fIKEYSYMNAME\fP = \fIKEYSYMNAME ...\fP 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 __X11datadir__/XKeysymDB\fP. Note that +used to perform the corresponding set of \fBkeycode\fP expressions. Note that if the same keysym is bound to multiple keys, the expression is executed for each matching keycode. .TP 8