{
    "content": [
        {
            "type": "text",
            "text": "# kbdinfo (man)\n\n## NAME\n\nkbdinfo - obtain information about the status of a console\n\n## SYNOPSIS\n\nkbdinfo [-C DEVICE] getmode [text|graphics]\nkbdinfo [-C DEVICE] gkbmode [raw|xlate|mediumraw|unicode]\nkbdinfo [-C DEVICE] gkbmeta [metabit|escprefix]\nkbdinfo [-C DEVICE] gkbled [scrolllock|numlock|capslock]\n\n## DESCRIPTION\n\nkbdinfo  is  an  interface to KDGETMODE, GKBMODE, GKBMETA and GKBLED ioctls.  Its primary use\ncase is to query the status of the given CONSOLE (or the currently active one, if no  -C  op‐\ntion is present) from a shell script.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **SEE ALSO**\n- **AUTHOR**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "kbdinfo",
        "section": "",
        "mode": "man",
        "summary": "kbdinfo - obtain information about the status of a console",
        "synopsis": "kbdinfo [-C DEVICE] getmode [text|graphics]\nkbdinfo [-C DEVICE] gkbmode [raw|xlate|mediumraw|unicode]\nkbdinfo [-C DEVICE] gkbmeta [metabit|escprefix]\nkbdinfo [-C DEVICE] gkbled [scrolllock|numlock|capslock]",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [
            {
                "name": "kbdmode",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/kbdmode/1/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 8,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 9,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 8,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "kbdinfo - obtain information about the status of a console\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "kbdinfo [-C DEVICE] getmode [text|graphics]\n\nkbdinfo [-C DEVICE] gkbmode [raw|xlate|mediumraw|unicode]\n\nkbdinfo [-C DEVICE] gkbmeta [metabit|escprefix]\n\nkbdinfo [-C DEVICE] gkbled [scrolllock|numlock|capslock]\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "kbdinfo  is  an  interface to KDGETMODE, GKBMODE, GKBMETA and GKBLED ioctls.  Its primary use\ncase is to query the status of the given CONSOLE (or the currently active one, if no  -C  op‐\ntion is present) from a shell script.\n\nIf  the  final  value argument is not specified, kbdinfo will print the result of the desired\nioctl to the standard output.  Otherwise, the given value is compared to the  actual  result,\nand  the  utility  will  exit  with  a status code of 0 for a match, 1 otherwise.  No text is\nprinted for this style of invocation.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "kbdmode(1)\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "kbdinfo is Copyright © 2011 Alexey Gladkov <gladkov.alexey@gmail.com>.\n\nThis manual page was written by Michael Schutte <michi@debian.org> for the  Debian  GNU/Linux\nsystem (but may be used by others).\n\n\n\nJune 2011                                   KBDINFO(1)",
                "subsections": []
            }
        }
    }
}