RCVALERT(C) UNIX System V
Name
rcvalert - mail-receipt notification
Syntax
/usr/bin/rcvalert [size]
Description
The rcvalert command displays a line of mail header
information on your screen when a letter is received. MMDF
invokes rcvalert for you rather you running it yourself.
This command is run when you insert a pipe entry to rcvalert
in your .maildelivery file in your home directory. The
rcvalert command checks to see if you are logged on and if
your terminal may be written to. If so, rcvalert prints a
scan listing of the message on your terminal.
The scan line rings the terminal's bell and then prints the
number of characters in the message and the contents of the
"From:" and "Subject:" components, if present. If the
"Subject:" component is not present or is very short, some
of the initial text from the body of the message is
included.
The size argument to rcvalert specifies the size of the
message.
Example
The following entry in the .maildelivery file invokes
rcvalert:
* - pipe R ``rcvalert $(size)''
Specify the full pathname of the rcvalert program, if the
/usr/bin directory is not in your search path.
Files
/etc/utmp is used to see who is logged in.
$HOME/.maildelivery is your delivery specification file.
See Also
rcvtrip(C), maildelivery(F)
Credit
This utility was written by David H. Crocker.
MMDF was developed at the University of Delaware and is used
with permission.
(printed 7/26/90) RCVALERT(C)