Mail edits a mailbox in an acme(1) environment. The default mailbox
is /mail/fs/mbox. Mail shows 3 views: The list view, the message
view, and the composition view.|
At startup, Mail takes the following options:
–T Disable threading
–O Disable writing to outbox
–s Accept sendmail plumb messages. By default, only the Mail instance
viewing /mail/fs/mbox will accept plumb messages.
Open the maildir maildir instead of the default|
Define the format of individual messages in the list view (see
"Format strings" below).|
Mail presents and acme interface for a upas/fs mailbox. When started,
a mailbox, by default /mail/fs/mbox, is presented. In the message
list, the tag bar commands typically affect the selected messsage.
In the message and composition views, they typically apply to
the current message.
Save a copy of outgoing messages to the mailbox outbox, instead
of discarding them after they're enqueued.|
The following text commands are recognized by the message list:
Put Flush pending changes back to upasfs(4).
NextSelect the next unread message in the mailbox.
Flags a message for deletion on the next Put invocation.|
Add or remove message flags. The flags recognized are listed in
The following text commands are recognized by the message view:
Redraws the contents of the mailbox.|
Replies to a message, quoting it. If all is specified, reply to
all addresses on the message.|
MarkAs with the message view, but applied to the open message.
As with the message view, but applied to the open message.|
The following text commands are recognized by the composition
PostSends the message currently being composed.
The formatting of messages in the list view is controlled by the
format string defined through the –f flag. The format string is
composed of multiple directives: plain characters, which are displayed
unchanged; indentation directives, which allows spacing based
on thread depth; and messages directives, which display
Directives have the following format:
width limits the number of characters displayed. If width is negative,
text is aligned right instead of left.
The supported flags are:
> Insert indentation into the start of the field. This does not
increase the width of the field.
Messages directives are:
f From field
F From field including sender's name
t To field
c Cc field
r Reply–to field
Indentation directives are:
i Adds spacing depending on message depth in thread but limited
to a single level. If width is not specified, adds a tabulation
otherwise width specifies the number of spaces to display.
I Similar to i but not limited to a single level.
Two special directives are also available:
Text within the brackets is displayed if the message is not the
toplevel message of a thread.|
The default format string is "%>48s\t<%f>"
Text within the braces is used as the format string for tmfmt(2).|