{
    "mode": "man",
    "parameter": "SETMETAMODE",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/SETMETAMODE/1/json",
    "generated": "2026-06-13T18:17:16Z",
    "synopsis": "setmetamode [ options ] [ argument ]",
    "sections": {
        "NAME": {
            "content": "setmetamode - define the keyboard meta key handling\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "setmetamode [ options ] [ argument ]\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "Without  argument,  setmetamode prints the current Meta key mode.  With argument, it sets the\nMeta key mode as indicated.  The setting before and after the change are reported.\n\nThe Meta key mode is specific for each VT (and the VT corresponding to stdin is  used).   One\nmight use setmetamode in /etc/rc to define the initial state of the Meta key mode, e.g. by\n\nINITTY=/dev/tty[1-8]\nfor tty in $INITTY; do\nsetmetamode escprefix < $tty\ndone\n",
            "subsections": []
        },
        "ARGUMENTS": {
            "content": "esc, prefix, escprefix\nThe Meta key sends an Escape prefix.\n\nmeta, bit, metabit\nThe Meta key sets the high order bit of the character.\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "",
            "subsections": [
                {
                    "name": "-C --console",
                    "content": "the console device to be used;\n",
                    "flag": "-C",
                    "long": "--console"
                },
                {
                    "name": "-V --version",
                    "content": "print version number;\n",
                    "flag": "-V",
                    "long": "--version"
                },
                {
                    "name": "-h --help",
                    "content": "print this usage message.\n",
                    "flag": "-h",
                    "long": "--help"
                }
            ]
        },
        "SEE ALSO": {
            "content": "loadkeys(1), kbdinfo(1)\n\n\n\n\nkbd                                          30 Jan 1994                              SETMETAMODE(1)",
            "subsections": []
        }
    },
    "summary": "setmetamode - define the keyboard meta key handling",
    "flags": [
        {
            "flag": "-C",
            "long": "--console",
            "arg": null,
            "description": "the console device to be used;"
        },
        {
            "flag": "-V",
            "long": "--version",
            "arg": null,
            "description": "print version number;"
        },
        {
            "flag": "-h",
            "long": "--help",
            "arg": null,
            "description": "print this usage message."
        }
    ],
    "examples": [],
    "see_also": [
        {
            "name": "loadkeys",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/loadkeys/1/json"
        },
        {
            "name": "kbdinfo",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/kbdinfo/1/json"
        }
    ]
}