{
    "mode": "man",
    "parameter": "ttytype",
    "section": "5",
    "url": "https://www.chedong.com/phpMan.php/man/ttytype/5/json",
    "generated": "2026-06-17T01:10:09Z",
    "sections": {
        "NAME": {
            "content": "ttytype - terminal device to default terminal type mapping\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "The  /etc/ttytype  file associates termcap(5)/terminfo(5) terminal type names with tty lines.\nEach line consists of a terminal type, followed by whitespace, followed by a tty name (a  de‐\nvice name without the /dev/) prefix.\n\nThis  association  is used by the program tset(1) to set the environment variable TERM to the\ndefault terminal name for the user's current tty.\n\nThis facility was designed for a traditional time-sharing  environment  featuring  character-\ncell terminals hardwired to a UNIX minicomputer.  It is little used on modern workstation and\npersonal UNIX systems.\n",
            "subsections": []
        },
        "FILES": {
            "content": "/etc/ttytype\nthe tty definitions file.\n",
            "subsections": []
        },
        "EXAMPLES": {
            "content": "A typical /etc/ttytype is:\n\ncon80x25 tty1\nvt320 ttys0\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "termcap(5), terminfo(5), agetty(8), mingetty(8)\n",
            "subsections": []
        },
        "COLOPHON": {
            "content": "This page is part of release 5.10 of the Linux  man-pages  project.   A  description  of  the\nproject,  information about reporting bugs, and the latest version of this page, can be found\nat https://www.kernel.org/doc/man-pages/.\n\n\n\nLinux                                        2020-06-09                                   TTYTYPE(5)",
            "subsections": []
        }
    },
    "summary": "ttytype - terminal device to default terminal type mapping",
    "flags": [],
    "examples": [
        "A typical /etc/ttytype is:",
        "con80x25 tty1",
        "vt320 ttys0"
    ],
    "see_also": [
        {
            "name": "termcap",
            "section": "5",
            "url": "https://www.chedong.com/phpMan.php/man/termcap/5/json"
        },
        {
            "name": "terminfo",
            "section": "5",
            "url": "https://www.chedong.com/phpMan.php/man/terminfo/5/json"
        },
        {
            "name": "agetty",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/agetty/8/json"
        },
        {
            "name": "mingetty",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/mingetty/8/json"
        }
    ]
}