{
    "content": [
        {
            "type": "text",
            "text": "# RCVTTY (man)\n\n## NAME\n\nrcvtty - report new mail with nmh\n\n## SYNOPSIS\n\n/usr/lib/mh/rcvtty [-help] [-version] [command] [-form formatfile] [-format string] [-width\ncolumns] [-bell | -nobell] [-newline | -nonewline] [-biff]\n\n## DESCRIPTION\n\nThe  rcvtty command can be used to report new mail.  It is used primarily in conjunction with\nmail filtering agents such as slocal or procmail.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **FILES**\n- **CONTEXT**\n- **DEFAULTS**\n- **SEE ALSO**\n- **BUGS**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "RCVTTY",
        "section": "",
        "mode": "man",
        "summary": "rcvtty - report new mail with nmh",
        "synopsis": "/usr/lib/mh/rcvtty [-help] [-version] [command] [-form formatfile] [-format string] [-width\ncolumns] [-bell | -nobell] [-newline | -nonewline] [-biff]",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [
            {
                "name": "mh-format",
                "section": "5",
                "url": "https://www.chedong.com/phpMan.php/man/mh-format/5/json"
            },
            {
                "name": "rcvdist",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/rcvdist/1/json"
            },
            {
                "name": "rcvpack",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/rcvpack/1/json"
            },
            {
                "name": "rcvstore",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/rcvstore/1/json"
            },
            {
                "name": "slocal",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/slocal/1/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 30,
                "subsections": []
            },
            {
                "name": "FILES",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "CONTEXT",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DEFAULTS",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "BUGS",
                "lines": 3,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "rcvtty - report new mail with nmh\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "/usr/lib/mh/rcvtty [-help] [-version] [command] [-form formatfile] [-format string] [-width\ncolumns] [-bell | -nobell] [-newline | -nonewline] [-biff]\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "The  rcvtty command can be used to report new mail.  It is used primarily in conjunction with\nmail filtering agents such as slocal or procmail.\n\nrcvtty executes the named command with the message as its standard input, and writes the  re‐\nsulting output on your terminal.\n\nAlternatively, if no command is specified (or the command is bogus), then rcvtty will instead\nwrite  a  one-line scan listing.  The default output format of this scan listing may be over‐\nridden by using either the -form formatfile or -format string option, similar to the  equiva‐\nlent options for scan and inc.  See mh-format(5) for details.\n\nA  newline  is output before the message output, and the terminal bell is rung after the out‐\nput.  The -nonewline and -nobell switches will inhibit these functions.\n\nThe switch -width columns may be given to specify the width of the scan line.  The default is\nto use the width of the terminal.\n\nIn addition to the standard format escapes described in mh-format(5), rcvtty also  recognizes\nthe following additional component escapes:\n\nEscape    Returns  Description\nbody      string   the (compressed) first part of the body\ndtimenow  date     the current date\nfolder    string   the name of the current folder\n\nBy  default, rcvtty will send its output to every terminal on the local machine that is owned\nby current user, and that has given write permission as granted by the command  mesg(1).   If\nthe  option  -biff is given, then rcvtty will obey the notification status set by the command\nbiff(1) instead.\n",
                "subsections": []
            },
            "FILES": {
                "content": "/etc/nmh/mts.conf          nmh mts configuration file\n$HOME/.maildelivery        The file controlling local delivery\n/etc/nmh/maildelivery      Rather than the standard file\n",
                "subsections": []
            },
            "CONTEXT": {
                "content": "None\n",
                "subsections": []
            },
            "DEFAULTS": {
                "content": "`-width' defaults to the width of the terminal\n`-newline'\n`-bell'\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "mh-format(5), rcvdist(1), rcvpack(1), rcvstore(1), slocal(1)\n",
                "subsections": []
            },
            "BUGS": {
                "content": "Only two return codes are meaningful, others should be.\n\nnmh-1.8                                      1999-04-30                                  RCVTTY(1mh)",
                "subsections": []
            }
        }
    }
}