1
.\" @(#)loadkeys.1 1.0 93/09/1 RK
2
.TH DUMPKEYS 1 "1 Sep 1993"
4
dumpkeys \- dump keyboard translation tables
10
.B \-\-help \-\-short\-info \-\-long\-info \-\-numeric \-\-full\-table \-\-funcs\-only \-\-keys\-only \-\-compose\-only
11
.BI \-\-charset= charset
14
.IX "dumpkeys command" "" "\fLdumpkeys\fR command"
17
writes, to the standard output, the current contents of the keyboard
18
driver's translation tables, in the format specified by
21
Using the various options, the format of the output can be controlled
22
and also other information from the kernel and the programs
30
Prints the program's version number and a short usage message to the
31
program's standard error output and exits.
34
Prints some characteristics of the kernel's keyboard driver. The items
38
Keycode range supported by the kernel
41
This tells what values can be used after the
43
keyword in keytable files. See
45
for more information and the syntax of these files.
48
Number of actions bindable to a key
51
This tells how many different actions a single key can output using
52
various modifier keys. If the value is 16 for example, you can define up
53
to 16 different actions to a key combined with modifiers. When the value
54
is 16, the kernel probably knows about four modifier keys, which you can
55
press in different combinations with the key to access all the bound
59
Ranges of action codes supported by the kernel
62
This item contains a list of action code ranges in hexadecimal notation.
63
These are the values that can be used in the right hand side of a key
77
for more information about the format of key definition lines).
81
support a symbolic notation, which is preferable to the numeric one, as
82
the action codes may vary from kernel to kernel while the symbolic names
83
usually remain the same. However, the list of action code ranges can be
84
used to determine, if the kernel actually supports all the symbols
86
knows, or are there maybe some actions supported by the kernel that
87
have no symbolic name in your
89
program. To see this, you compare the range list with the action symbol
95
Number of function keys supported by kernel
98
This tells the number of action codes that can be used to output
99
strings of characters. These action codes are traditionally bound to
100
the various function and editing keys of the keyboard and are defined
101
to send standard escape sequences. However, you can redefine these to
102
send common command lines, email addresses or whatever you like.
103
Especially if the number of this item is greater than the number of
104
function and editing keys in your keyboard, you may have some "spare"
105
action codes that you can bind to AltGr-letter combinations, for example,
106
to send some useful strings. See
114
You can see you current function key definitions with the command
117
.B dumpkeys --funcs-only
125
This option instructs
127
to print a long information listing. The output is the same as with the
129
appended with the list of action symbols supported by
133
along with the symbols' numeric values.
139
to by-pass the conversion of action code values to symbolic notation and
140
to print the in hexadecimal format instead.
143
.B \-f \-\-full-table
146
skip all the short-hand heuristics (see
148
and output the key bindings in the canonical form. First a keymaps
149
line describing the currently defined modifier combinations
150
is printed. Then for each key a row with a column for each
151
modifier combination is printed. For
152
example, if the current keymap in use uses seven modifiers,
153
every row will have seven action code columns. This format
154
can be useful for example to programs that post-process the
160
When this option is given,
162
prints only the function key string definitions. Normally
164
prints both the key bindings and the string definitions.
168
When this option is given,
170
prints only the key bindings. Normally
172
prints both the key bindings and the string definitions.
176
When this option is given,
178
prints only the compose key combinations.
179
This option is available only if your kernel has compose key support.
182
.BI \-c charset " " " " \-\-charset= charset
185
to interpret character code values according to the specified character
186
set. This affects only the translation of character code values to
187
symbolic names. Valid values for
191
Where X is a digit in 1-9. If no
195
is used as a default.
196
This option produces an output line `charset "iso-8859-X"', telling
197
loadkeys how to interpret the keymap. (For example, "division" is
198
0xf7 in iso-8859-1 but 0xba in iso-8859-8.)
203
.BI @DATADIR@/keymaps
204
recommended directory for keytable files