NAME
dumpkeys - dump keyboard translation tables
SYNOPSIS
dumpkeys [-C <vc>|--console=<vc>] [ -hilfn -ccharset --help --short-info --long-info --numeric --full-table --funcs-only --keys-only --compose-only --charset=charset ]
DESCRIPTION
dumpkeys writes, to the standard output, the current contents of the keyboard drivers translation tables, in the format specified by keymaps(5).
Using the various options, the format of the output can be controlled and also other information from the kernel and the programs dumpkeys(1) and loadkeys(1) can be obtained.
OPTIONS
-h --help | Prints the programs version number and a short usage message to the programs standard error output and exits. | ||||||||||
-i --short-info | |||||||||||
Prints some characteristics of the kernels keyboard driver. The items
shown are:
Keycode range supported by the kernel
Number of actions bindable to a key
Ranges of action codes supported by the kernel
Number of function keys supported by kernel
Function strings
| |||||||||||
-l --long-info | |||||||||||
This option instructs dumpkeys to print a long information listing. The output is the same as with the --short-info appended with the list of action symbols supported by loadkeys(1) and dumpkeys(1), along with the symbols numeric values. | |||||||||||
-n --numeric | |||||||||||
This option causes dumpkeys to by-pass the conversion of action code values to symbolic notation and to print the in hexadecimal format instead. | |||||||||||
-f --full-table | |||||||||||
This makes dumpkeys skip all the short-hand heuristics (see keymaps(5)) and output the key bindings in the canonical form. First a keymaps line describing the currently defined modifier combinations is printed. Then for each key a row with a column for each modifier combination is printed. For example, if the current keymap in use uses seven modifiers, every row will have seven action code columns. This format can be useful for example to programs that post-process the output of dumpkeys. | |||||||||||
--funcs-only | |||||||||||
When this option is given, dumpkeys prints only the function key string definitions. Normally dumpkeys prints both the key bindings and the string definitions. | |||||||||||
--keys-only | |||||||||||
When this option is given, dumpkeys prints only the key bindings. Normally dumpkeys prints both the key bindings and the string definitions. | |||||||||||
--compose-only | |||||||||||
When this option is given, dumpkeys prints only the compose key combinations. This option is available only if your kernel has compose key support. | |||||||||||
-ccharset --charset=charset | |||||||||||
This instructs dumpkeys to interpret character code values according to the specified character set. This affects only the translation of character code values to symbolic names. Valid values for charset currently are iso-8859-X, Where X is a digit in 1-9. If no charset is specified, iso-8859-1 is used as a default. This option produces an output line charset "iso-8859-X", telling loadkeys how to interpret the keymap. (For example, "division" is 0xf7 in iso-8859-1 but 0xba in iso-8859-8.) | |||||||||||
FILES
/usr/share/kbd/keymaps | |
recommended directory for keytable files | |
SEE ALSO