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