.sh 1 "Additional commands"
This section describes additional Mail commands available when
command goes to the next message and types it. If given a message list,
goes to the first such message and types it. Thus,
goes to the next message sent by \*(lqroot\*(rq and types it.
command can be abbreviated to simply a newline, which means that one
can go to and type a message by simply giving its message number or
one of the magic characters
prints the current message and
command goes to the previous message and prints it. The
command may be given a decimal number
as an argument, in which case the
previous message is gone to and printed.
command allows you to save messages received from others on a file
Its syntax varies somewhat from the other commands which accept
a message list in that the final word on the command line is taken to be
the file on which to save the messages. The named messages are
appended to the file (which is created if it did not already exist)
and are marked as saved. Saved messages are not automatically saved in
at quit time, nor are they selected by the
command described above, unless explicitly specified. The
command provides a facility for saving messages pertaining to a particular
subject or from a particular person in a special place.
command causes a message which had been deleted previously to regain
its initial status. Only messages which are already deleted may be
undeleted. This command may be abbreviated to
command takes a message list and marks each message therein so that it
will be saved in your system mailbox instead of being deleted or
when you quit. This is useful for saving messages of importance that
you want to see again, or messages not intended for you if you are sharing
Often, one wants to deal with a message by responding to its author right
command is useful for this purpose: it takes a message list and sends mail
to the authors of those messages. The message is collected in the usual
fashion by reading up to an EOT. All of the tilde escapes described in section
Additionally, if there are header fields
in the message being replied to, this information is copied into the
command can be abbreviated to
In order to simply mail to a user inside of Mail, the
command is provided. This sends mail in the manner described for the
command above, except that the user supplies a list of recipient login
names and distribution groups. All of the tilde escapes described in
section three will work in
command may be abbreviated to
In order to edit individual messages using the text editor, the
command takes a list of message as described under the
command and processes each by writing it into the file
is the message number being edited and executing the text editor on it.
When you have edited the message to your satisfaction, write the message
out and quit, upon which Mail will read the message back and remove the file.
It is often useful to be able to invoke one of two editors,
based on the type of terminal one is using. To invoke
a display oriented editor, you can use the
command. The operation of the
command is otherwise identical to that of the
When Mail is invoked to receive mail, it prints out the message header
for each message. In order to reprint the headers for remaining messages
(those which haven't been deleted), you may type the
command. Deleted messages do not appear in the listing, saved messages are
and preserved messages are flagged with a
command takes a list of messages and prints out the header lines for each one;
is the easy way to display all the message headers from \*(lqjoe.\*(rq
command takes a message list and prints the first five lines
of each addressed message. It may be abbreviated to
command deletes the current message and prints the next message.
It is useful for quickly reading and disposing of mail.