Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ rcvalert(C) — OpenDesktop 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

rcvtrip(C)

maildelivery(F)


 rcvalert(C)                     19 June 1992                     rcvalert(C)


 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
    than 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 ``Sub-
    ject:'' 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 direc-
    tory is not in your search path.

 Files

    /etc/utmp                       used to see who is logged in
    $HOME/.maildelivery             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 permis-
    sion.


Typewritten Software • bear@typewritten.org • Edmonds, WA 98026