{
    "content": [
        {
            "type": "text",
            "text": "# tty (pydoc)\n\n## TLDR\n\n> Returns terminal name.\n\n- Print the file name of this terminal:\n  `tty`\n\n*Source: tldr-pages*\n\n---\n\n**Summary:** tty - Terminal utilities.\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **MODULE REFERENCE** (8 lines)\n- **FUNCTIONS** (1 lines) — 2 subsections\n  - setcbreak (2 lines)\n  - setraw (2 lines)\n- **DATA** (2 lines)\n- **FILE** (3 lines)\n\n## Full Content\n\n### NAME\n\ntty - Terminal utilities.\n\n### MODULE REFERENCE\n\nhttps://docs.python.org/3.10/library/tty.html\n\nThe following documentation is automatically generated from the Python\nsource files.  It may be incomplete, incorrect or include features that\nare considered implementation detail and may vary between Python\nimplementations.  When in doubt, consult the module reference at the\nlocation listed above.\n\n### FUNCTIONS\n\n#### setcbreak\n\nPut terminal into a cbreak mode.\n\n#### setraw\n\nPut terminal into a raw mode.\n\n### DATA\n\nall = ['setraw', 'setcbreak']\n\n### FILE\n\n/usr/lib/python3.10/tty.py\n\n"
        }
    ],
    "structuredContent": {
        "command": "tty",
        "section": "",
        "mode": "pydoc",
        "summary": "tty - Terminal utilities.",
        "synopsis": null,
        "tldr_summary": "Returns terminal name.",
        "tldr_examples": [
            {
                "description": "Print the file name of this terminal",
                "command": "tty"
            }
        ],
        "tldr_source": "official",
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "MODULE REFERENCE",
                "lines": 8,
                "subsections": []
            },
            {
                "name": "FUNCTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "setcbreak",
                        "lines": 2
                    },
                    {
                        "name": "setraw",
                        "lines": 2
                    }
                ]
            },
            {
                "name": "DATA",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "FILE",
                "lines": 3,
                "subsections": []
            }
        ]
    }
}