source: trunk/third/nmh/man/rcvtty.man @ 12455

Revision 12455, 2.5 KB checked in by danw, 26 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r12454, which included commits to RCS files with non-trunk default branches.
Line 
1.\"
2.\" %nmhwarning%
3.\" $Id: rcvtty.man,v 1.1.1.1 1999-02-07 18:14:22 danw Exp $
4.\"
5.\" include the -mh macro file
6.so %etcdir%/tmac.h
7.\"
8.TH RCVTTY %manext1% MH.6.8 [%nmhversion%]
9.SH NAME
10rcvtty  \- report new mail
11.SH SYNOPSIS
12.in +.5i
13.ti -.5i
14%libdir%/rcvtty
15\%[command]
16.br
17\%[\-form\ formatfile]
18\%[\-format\ string]
19\%[\-width\ columns]
20.br
21\%[\-bell] \%[\-nobell]
22\%[\-newline]
23\%[\-nonewline]
24\%[\-biff]
25.br
26\%[\-version]
27\%[\-help]
28.in -.5i
29.SH DESCRIPTION
30The \fIrcvtty\fR can be used to report new mail.  It is used primarily
31in conjunction with mail filtering agents such as \fIslocal\fP or
32\fIprocmail\fP.
33
34The \fIrcvtty\fR program executes the named command with the message as
35its standard input, and writes the resulting output on your terminal.
36
37Alternately, if no command is specified (or is bogus), then \fIrcvtty\fR
38will instead write a one\-line scan listing.  The default output format
39of this scan listing may be overridden by using either the
40`\-form\ formatfile' or `\-format\ string' option, similar to the
41equivalent options for \fIscan\fP and \fIinc\fP.
42See \fImh\-format\fP(5) for details.
43
44A newline is output before the message output, and the terminal bell is
45rung after the output.  The `\-nonewline' and `\-nobell' options will
46inhibit these functions.
47
48The switch `\-width\ columns' may be given to specify the width of
49the scan line.  The default is to use the width of the terminal.
50
51In addition to the standard format escapes described in
52\fImh\-format\fR(5), \fIrcvtty\fR also recognizes the following additional
53\fIcomponent\fR escapes:
54.sp 1
55.ne 5
56.nf
57.ta \w'Dtimenow  'u +\w'Returns  'u
58\fIEscape\fR    \fIReturns\fR   \fIDescription\fR
59body    string  the (compressed) first part of the body
60dtimenow        date    the current date
61folder  string  the name of the current folder
62.re
63.fi
64
65By default, \fIrcvtty\fP will send its output to every terminal on the
66local machine that is owned by current user, and that has given write
67permission as granted by the command \fImesg\fP\0(1).  If the option
68`\-biff' is given, then \fIrcvtty\fP will obey the notification status
69set by the command \fIbiff\fP\0(1) instead.
70.Fi
71^%etcdir%/mts.conf~^nmh mts configuration file
72^$HOME/\&.maildelivery~^The file controlling local delivery
73^%etcdir%/maildelivery~^Rather than the standard file
74.De
75`\-width' defaults to the width of the terminal
76.Ds
77`\-newline'
78.Ds
79`\-bell'
80.Sa
81rcvdist(1), rcvpack(1), rcvstore(1), mh\-format(5), slocal(1)
82.Bu
83Only two return codes are meaningful, others should be.
84.En
Note: See TracBrowser for help on using the repository browser.