BSD 3 development
[unix-history] / .ref-BSD-2 / doc / Mail / mail5.nr
CommitLineData
a80efa1b
KS
1.sh 1 "Command line options"
2.pp
3This section describes the alternate usages of Mail from the
4shell.
5.pp
6As you continue to receive system mail, you will most likely
7accumulate a large collection of messages in the file
8.i mbox.
9In order to help you deal with this, Mail allows you to edit
10files of messages by using the
11.rb -f
12flag. Specifically,
13.(l
14Mail \-f filename
15.)l
16causes Mail to edit \*(lqfilename\*(rq and
17.(l
18Mail \-f
19.)l
20causes Mail to read \*(lqmbox\*(rq in your home directory. All of
21the Mail commands except
22.b preserve
23are available to edit the messages. When you type the
24.b quit
25command, Mail will write the updated file back.
26.pp
27Since you will usually have a large number of messages stored in
28.i mbox,
29Mail will only print out the first 18 message headers when editing
30more than 18 messages. To display the other message headers, the
31.b headers
32command takes as an optional argument either + or \- to move forward
33or back to the next or previous 18 message group.
34.pp
35If you send mail over a noisy phone line, you will notice that many
36of the garbage characters turn out to be the \s-2RUBOUT\s0 character,
37which causes Mail to abort the message. To deal with this annoyance,
38you can invoke Mail with the
39.rb -i
40option to causes these garbage characters to be ignored. Unfortunately,
41as you are typing in a line of text to a program, the little gnome which
42gathers up the characters is instructed to throw them all away when
43a \s-2RUBOUT\s0 is seen. For this reason, Mail indicates that a
44\s-2RUBOUT\s0 has been received by echoing an @ to tell you that everything
45you had typed on that line has been thrown away.