{
    "content": [
        {
            "type": "text",
            "text": "# dumpkeys (info)\n\n## NAME\n\ndumpkeys - dump keyboard translation tables\n\n## SYNOPSIS\n\ndumpkeys  [ -h --help -i --short-info -l -s --long-info -n --numeric -f\n--full-table -1 --separate-lines -Sshape --shape=shape -t  --funcs-only\n-k  --keys-only -d --compose-only -ccharset --charset=charset -v --ver-\nbose -V --version ]\n\n## DESCRIPTION\n\ndumpkeys writes, to the standard output, the current  contents  of  the\nkeyboard  driver's  translation  tables,  in  the  format  specified by\nkeymaps(5).\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **OPTIONS**\n- **FILES**\n- **SEE ALSO**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "dumpkeys",
        "section": "",
        "mode": "info",
        "summary": "dumpkeys - dump keyboard translation tables",
        "synopsis": "dumpkeys  [ -h --help -i --short-info -l -s --long-info -n --numeric -f\n--full-table -1 --separate-lines -Sshape --shape=shape -t  --funcs-only\n-k  --keys-only -d --compose-only -ccharset --charset=charset -v --ver-\nbose -V --version ]",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [
            {
                "name": "loadkeys",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/loadkeys/1/json"
            },
            {
                "name": "keymaps",
                "section": "5",
                "url": "https://www.chedong.com/phpMan.php/man/keymaps/5/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 8,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 121,
                "subsections": []
            },
            {
                "name": "FILES",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 3,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "dumpkeys - dump keyboard translation tables\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "dumpkeys  [ -h --help -i --short-info -l -s --long-info -n --numeric -f\n--full-table -1 --separate-lines -Sshape --shape=shape -t  --funcs-only\n-k  --keys-only -d --compose-only -ccharset --charset=charset -v --ver-\nbose -V --version ]\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "dumpkeys writes, to the standard output, the current  contents  of  the\nkeyboard  driver's  translation  tables,  in  the  format  specified by\nkeymaps(5).\n\nUsing the various options, the format of the output can  be  controlled\nand also other information from the kernel and the programs dumpkeys(1)\nand loadkeys(1) can be obtained.\n",
                "subsections": []
            },
            "OPTIONS": {
                "content": "-h --help\nPrints the program's version number and a short usage message to\nthe program's standard error output and exits.\n\n-i --short-info\nPrints some characteristics of the kernel's keyboard driver. The\nitems shown are:\n\nKeycode range supported by the kernel\n\nThis tells what values can be used after the keycode key-\nword  in keytable files. See keymaps(5) for more informa-\ntion and the syntax of these files.\n\nNumber of actions bindable to a key\n\nThis tells how many different actions a  single  key  can\noutput  using  various  modifier keys. If the value is 16\nfor example, you can define up to 16 different actions to\na  key combined with modifiers. When the value is 16, the\nkernel probably knows about four modifier keys, which you\ncan  press  in different combinations with the key to ac-\ncess all the bound actions.\n\nRanges of action codes supported by the kernel\n\nThis item contains a list of action code ranges in  hexa-\ndecimal  notation.  These are the values that can be used\nin the right hand side of a key definition, ie. the  vv's\nin a line\n\nkeycode xx = vv vv vv vv\n\n(see  keymaps(5) for more information about the format of\nkey definition lines).  dumpkeys(1) and loadkeys(1)  sup-\nport  a symbolic notation, which is preferable to the nu-\nmeric one, as the action codes may vary  from  kernel  to\nkernel  while the symbolic names usually remain the same.\nHowever, the list of action code ranges can  be  used  to\ndetermine,  if  the kernel actually supports all the sym-\nbols loadkeys(1) knows, or are there maybe  some  actions\nsupported  by  the  kernel  that have no symbolic name in\nyour loadkeys(1) program. To see this,  you  compare  the\nrange  list  with  the  action  symbol  list,  see option\n--long-info below.\n\nNumber of function keys supported by kernel\n\nThis tells the number of action codes that can be used to\noutput strings of characters. These action codes are tra-\nditionally bound to the various function and editing keys\nof  the  keyboard and are defined to send standard escape\nsequences. However, you can redefine these to send common\ncommand lines, email addresses or whatever you like.  Es-\npecially if the number of this item is greater  than  the\nnumber of function and editing keys in your keyboard, you\nmay have some \"spare\" action codes that you can  bind  to\nAltGr-letter combinations, for example, to send some use-\nful strings. See loadkeys(1) for more details.\n\nFunction strings\n\nYou can see you current function key definitions with the\ncommand\n\ndumpkeys --funcs-only\n\n-l -s --long-info\nThis option instructs dumpkeys to print a long information list-\ning. The output is the same as with  the  --short-info  appended\nwith  the  list  of  action symbols supported by loadkeys(1) and\ndumpkeys(1), along with the symbols' numeric values.\n\n-n --numeric\nThis option causes dumpkeys to by-pass the conversion of  action\ncode values to symbolic notation and to print the in hexadecimal\nformat instead.\n\n-f --full-table\nThis makes dumpkeys skip  all  the  short-hand  heuristics  (see\nkeymaps(5))  and  output the key bindings in the canonical form.\nFirst a keymaps line describing the currently  defined  modifier\ncombinations  is  printed. Then for each key a row with a column\nfor each modifier combination is printed. For  example,  if  the\ncurrent  keymap in use uses seven modifiers, every row will have\nseven action code columns. This format can be useful for example\nto programs that post-process the output of dumpkeys.\n\n-Sshape  --shape=shape\n\n-t --funcs-only\nWhen this option is given, dumpkeys prints only the function key\nstring definitions. Normally dumpkeys prints both the key  bind-\nings and the string definitions.\n\n-k --keys-only\nWhen  this  option  is given, dumpkeys prints only the key bind-\nings. Normally dumpkeys prints both the  key  bindings  and  the\nstring definitions.\n\n-d --compose-only\nWhen  this option is given, dumpkeys prints only the compose key\ncombinations.  This option is available only if your kernel  has\ncompose key support.\n\n-ccharset  --charset=charset\nThis  instructs  dumpkeys to interpret character code values ac-\ncording to the specified character set. This  affects  only  the\ntranslation  of  character  code values to symbolic names. Valid\nvalues for charset currently are iso-8859-X, Where X is a  digit\nin 1-9.  If no charset is specified, iso-8859-1 is used as a de-\nfault.   This  option   produces   an   output   line   `charset\n\"iso-8859-X\"',  telling  loadkeys  how  to interpret the keymap.\n(For example, \"division\" is  0xf7  in  iso-8859-1  but  0xba  in\niso-8859-8.)\n\n-v --verbose\n\n-V --version\nPrints version number and exits.\n",
                "subsections": []
            },
            "FILES": {
                "content": "/usr/share/keymaps\nThe recommended directory for keytable files.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "loadkeys(1), keymaps(5)\n\nkbd                               1 Sep 1993                       DUMPKEYS(1)",
                "subsections": []
            }
        }
    }
}