]> diplodocus.org Git - nmh/blobdiff - man/rcvtty.man
lock_file.c: close(2) file descriptor on failure, avoiding leak.
[nmh] / man / rcvtty.man
index 917b1ea07b8e86969a28a3d8e8835045b6a34e3a..658d91b28ba13d4551f67809f5dd6f3d7f721f57 100644 (file)
@@ -1,13 +1,15 @@
-.TH RCVTTY %manext1% "%nmhdate%" MH.6.8 [%nmhversion%]
-.\"
+.TH RCVTTY %manext1% 1999-04-30 "%nmhversion%"
+.
 .\" %nmhwarning%
 .\" %nmhwarning%
-.\"
+.
 .SH NAME
 .SH NAME
-rcvtty  \- report new mail
+rcvtty \- report new mail with nmh
 .SH SYNOPSIS
 .HP 5
 .na
 .SH SYNOPSIS
 .HP 5
 .na
-.B %libdir%/rcvtty
+.B %nmhlibexecdir%/rcvtty
+.RB [ \-help ]
+.RB [ \-version ]
 .RI [ command ]
 .RB [ \-form
 .IR formatfile ]
 .RI [ command ]
 .RB [ \-form
 .IR formatfile ]
@@ -18,34 +20,30 @@ rcvtty  \- report new mail
 .RB [ \-bell " | " \-nobell ]
 .RB [ \-newline " | " \-nonewline ]
 .RB [ \-biff ]
 .RB [ \-bell " | " \-nobell ]
 .RB [ \-newline " | " \-nonewline ]
 .RB [ \-biff ]
-.RB [ \-version ]
-.RB [ \-help ]
 .ad
 .SH DESCRIPTION
 The
 .B rcvtty
 .ad
 .SH DESCRIPTION
 The
 .B rcvtty
-can be used to report new mail.  It is used primarily
+command can be used to report new mail.  It is used primarily
 in conjunction with mail filtering agents such as
 .B slocal
 or
 .BR procmail .
 .PP
 in conjunction with mail filtering agents such as
 .B slocal
 or
 .BR procmail .
 .PP
-The
 .B rcvtty
 .B rcvtty
-program executes the named command with the message as
-its standard input, and writes the resulting output on your terminal.
+executes the named command with the message as its standard input,
+and writes the resulting output on your terminal.
 .PP
 .PP
-Alternately, if no command is specified (or is bogus), then
+Alternatively, if no command is specified (or the command is bogus), then
 .B rcvtty
 .B rcvtty
-will instead write a one\-line scan listing.  The default output format
+will instead write a one-line scan listing.  The default output format
 of this scan listing may be overridden by using either the
 .B \-form
 .I formatfile
 or
 .B \-format
 .I string
 of this scan listing may be overridden by using either the
 .B \-form
 .I formatfile
 or
 .B \-format
 .I string
-option, similar to the
-equivalent options for
+option, similar to the equivalent options for
 .B scan
 and
 .BR inc .
 .B scan
 and
 .BR inc .
@@ -58,14 +56,13 @@ rung after the output.  The
 .B \-nonewline
 and
 .B \-nobell
 .B \-nonewline
 and
 .B \-nobell
-options will
-inhibit these functions.
+switches will inhibit these functions.
 .PP
 The switch
 .B \-width
 .I columns
 .PP
 The switch
 .B \-width
 .I columns
-may be given to specify the width of
-the scan line.  The default is to use the width of the terminal.
+may be given to specify the width of the scan line.
+The default is to use the width of the terminal.
 .PP
 In addition to the standard format escapes described in
 .IR mh\-format (5),
 .PP
 In addition to the standard format escapes described in
 .IR mh\-format (5),
@@ -86,25 +83,24 @@ folder      string  the name of the current folder
 .PP
 By default,
 .B rcvtty
 .PP
 By default,
 .B rcvtty
-will send its output to every terminal on the
-local machine that is owned by current user, and that has given write
-permission as granted by the command
+will send its output to every terminal on the local machine that
+is owned by current user, and that has given write permission
+as granted by the command
 .IR mesg (1).
 If the option
 .B \-biff
 is given, then
 .B rcvtty
 .IR mesg (1).
 If the option
 .B \-biff
 is given, then
 .B rcvtty
-will obey the notification status
-set by the command
+will obey the notification status set by the command
 .IR biff (1)
 instead.
 .SH FILES
 .fc ^ ~
 .nf
 .IR biff (1)
 instead.
 .SH FILES
 .fc ^ ~
 .nf
-.ta \w'%etcdir%/ExtraBigFileName  'u
-^%etcdir%/mts.conf~^nmh mts configuration file
-^$HOME/\&.maildelivery~^The file controlling local delivery
-^%etcdir%/maildelivery~^Rather than the standard file
+.ta \w'%nmhetcdir%/ExtraBigFileName  'u
+^%nmhetcdir%/mts.conf~^nmh mts configuration file
+^$HOME/.maildelivery~^The file controlling local delivery
+^%nmhetcdir%/maildelivery~^Rather than the standard file
 .fi
 .SH CONTEXT
 None
 .fi
 .SH CONTEXT
 None
@@ -115,10 +111,10 @@ None
 .RB ` \-bell '
 .fi
 .SH "SEE ALSO"
 .RB ` \-bell '
 .fi
 .SH "SEE ALSO"
+.IR mh-format (5),
 .IR rcvdist (1),
 .IR rcvpack (1),
 .IR rcvstore (1),
 .IR rcvdist (1),
 .IR rcvpack (1),
 .IR rcvstore (1),
-.IR mh\-format (5),
-.IR  slocal (1)
+.IR slocal (1)
 .SH BUGS
 Only two return codes are meaningful, others should be.
 .SH BUGS
 Only two return codes are meaningful, others should be.