{
    "mode": "man",
    "parameter": "rcvtty",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/rcvtty/1/json",
    "generated": "2026-06-15T13:12:58Z",
    "synopsis": "/usr/lib/mh/rcvtty [-help] [-version] [command] [-form formatfile] [-format string] [-width\ncolumns] [-bell | -nobell] [-newline | -nonewline] [-biff]",
    "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\n\n\nnmh-1.7.1                                    1999-04-30                                  RCVTTY(1mh)",
            "subsections": []
        }
    },
    "summary": "rcvtty - report new mail with nmh",
    "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"
        }
    ]
}