TTYALERT(1)

NAME
ttyalert - notification of new mail

SYNOPSIS
ttyalert [-d] [-e string] [-f format] [-s size] [-w width]

DESCRIPTION
Ttyalert attempts to alert users of new mail. It's task is to build up an alert message from a message and display it on the users terminal.

It has several options to control the format.

-d  Run in debug mode. This stops the process disappearing into the background at the first opportunity.

-e string
    Set the extra variable. This is used in part of the display string and defaults to “NEW: ”.

-f format
    This allows overriding the default format of the message displayed.

-s size
    This sets the size variable which can be set in the .mailfilter delivery script (typically using the “$(size)” variable).

-w width
    This sets the maximum width of the output line. The string is truncated to this width.

The default display string is the following

%extra(%size) %20from %subject << %50body

FILES
none

SEE ALSO
xalert(1), flagmail(1)
PP Manual - Volume 3: User Manual

BUGS
The formatting string ought to be more general.