1RCVTTY(1)                   General Commands Manual                  RCVTTY(1)
2
3
4

NAME

6       rcvtty - report new mail with nmh
7

SYNOPSIS

9       /usr/libexec/nmh/rcvtty [-help] [-version] [command] [-form formatfile]
10            [-format string] [-width columns] [-bell | -nobell] [-newline |
11            -nonewline] [-biff]
12

DESCRIPTION

14       The  rcvtty command can be used to report new mail.  It is used primar‐
15       ily in conjunction with mail filtering agents such as slocal  or  proc‐
16       mail.
17
18       rcvtty  executes  the  named  command  with the message as its standard
19       input, and writes the resulting output on your terminal.
20
21       Alternatively, if no command is specified (or the  command  is  bogus),
22       then  rcvtty  will  instead write a one-line scan listing.  The default
23       output format of this scan listing may be overridden  by  using  either
24       the  -form  formatfile or -format string option, similar to the equiva‐
25       lent options for scan and inc.  See mh-format(5) for details.
26
27       A newline is output before the message output, and the terminal bell is
28       rung  after  the  output.   The  -nonewline  and  -nobell switches will
29       inhibit these functions.
30
31       The switch -width columns may be given to specify the width of the scan
32       line.  The default is to use the width of the terminal.
33
34       In  addition  to the standard format escapes described in mh-format(5),
35       rcvtty also recognizes the following additional component escapes:
36
37            Escape    Returns  Description
38            body      string   the (compressed) first part of the body
39            dtimenow  date     the current date
40            folder    string   the name of the current folder
41
42       By default, rcvtty will send its output to every terminal on the  local
43       machine that is owned by current user, and that has given write permis‐
44       sion as granted by the command mesg(1).  If the option -biff is  given,
45       then  rcvtty  will  obey  the  notification  status  set by the command
46       biff(1) instead.
47

FILES

49       /etc/nmh/mts.conf          nmh mts configuration file
50       $HOME/.maildelivery        The file controlling local delivery
51       /etc/nmh/maildelivery      Rather than the standard file
52

CONTEXT

54       None
55

DEFAULTS

57       `-width' defaults to the width of the terminal
58       `-newline'
59       `-bell'
60

SEE ALSO

62       mh-format(5), rcvdist(1), rcvpack(1), rcvstore(1), slocal(1)
63

BUGS

65       Only two return codes are meaningful, others should be.
66
67
68
69nmh-1.7.1                         1999-04-30                         RCVTTY(1)
Impressum