Click on any of the 687 commands below to get a description and list of available options. All links in the command summaries point to the online version of the book on Safari Bookshelf.
Print information about the keyboard driver's translation tables to standard output. Further information is available in the manual pages under keymaps(5).
Options
-1, --separate-lines
Print one line for each modifier/keycode pair, and prefix plain to each unmodified keycode.
-ccharset, --charset=charset
Specify character set with which to interpret character code values. The default character set is iso-8859-1. The full list of valid character sets is available with the --help option.
--compose-only
Print compose key combinations only. Requires compose key support in the kernel.
-f, --full-table
Output in canonical, not short, form: for each key, print a row with modifier combinations divided into columns.
--funcs-only
Print function-key string definitions only; do not print key bindings or string definitions.
-h, --help
Print help message and the version.
-i, --short-info
Print in short-info format, including information about acceptable keycode keywords in the keytable files; the number of actions that can be bound to a key; a list of the ranges of action codes (the values to the right of a key definition); and the number of function keys that the kernel supports.
--keys-only
Print key bindings only; do not print string definitions.
-l, --long-info
Print the same information as in --short-info, plus a list of the supported action symbols and their numeric values.
-n, --numeric
Print action code values in hexadecimal notation; do not attempt to convert them to symbolic notation.
-Snum, --shape=num
Print using num to determine table shape. Values of num are:
0
Default.
1
Same as --full-table.
2
Same as --separate-lines.
3
One line for each keycode up to the first hole, then one line per modifier/keycode pair.