Commit | Line | Data |
---|---|---|
a74e24c2 KS |
1 | .TH MAIL UCB 2/24/79 UCB |
2 | .SH NAME | |
3 | Mail \- interactive mail processing system | |
4 | .SH SYNOPSIS | |
5 | .B Mail | |
6 | [ | |
7 | .B \-f | |
8 | [ | |
9 | name | |
10 | ] | |
11 | ] | |
12 | [ | |
13 | people ... | |
14 | ] | |
15 | .SH DESCRIPTION | |
16 | .I Mail | |
17 | is a intelligent mail processing system, which has | |
18 | a command syntax reminiscent of | |
19 | .I ed | |
20 | with lines replaced by messages. | |
21 | In normal usage, it is given no arguments and checks your mail out of the | |
22 | post office, then | |
23 | printing out a one line header of each message there. | |
24 | The current message is initially the first message (numbered 1) | |
25 | and can be printed using the | |
26 | .B print | |
27 | command (which can be abbreviated \fBp\fR). | |
28 | You can move among the messages much as you move between lines in | |
29 | .I ed, | |
30 | with the commands `+' and `-' moving backwards and forwards, and | |
31 | simple numbers typing the addressed message. | |
32 | .PP | |
33 | After examining a message you can | |
34 | .B delete | |
35 | (\fBd\fR) | |
36 | the message or | |
37 | .B reply | |
38 | (\fBr\fR) | |
39 | to it. | |
40 | Deletion causes the | |
41 | .I Mail | |
42 | program to forget about the message. | |
43 | This is not irreversible, the message can be | |
44 | .B undeleted | |
45 | (\fBu\fR) | |
46 | by giving its number, or | |
47 | the | |
48 | .I Mail | |
49 | session can be aborted by giving the | |
50 | .B exit | |
51 | (\fBx\fR) | |
52 | command. | |
53 | Deleted messages will, however, usually disappear never to be seen again. | |
54 | .PP | |
55 | When you give the | |
56 | .B reply | |
57 | command, | |
58 | .I Mail | |
59 | sets up a response to the original message, sending it back to the | |
60 | person who it was from. | |
61 | Text you then type in, up to an end-of-file, defines the contents of | |
62 | the message. | |
63 | While you are composing a message, | |
64 | .I Mail | |
65 | treats lines beginning with the character `~' specially. | |
66 | The following `~' escapes are the most useful: | |
67 | .TP 5 | |
68 | .B ~m | |
69 | Places a copy of the current message in the response message text, | |
70 | right shifting it by a tab stop. | |
71 | .TP 5 | |
72 | .B ~s | |
73 | Sets a subject for the message. The subject follows the `~s' on | |
74 | the same line, and appears in the header for the message when received | |
75 | with | |
76 | .I Mail. | |
77 | If there was a subject in the mail being responded to, then this is the | |
78 | subject of the response unless you give a new one. | |
79 | .TP 5 | |
80 | .B ~c | |
81 | Adds carbon copies, users who will receive the message also. | |
82 | By default, only the originator of the message receives a | |
83 | .B reply. | |
84 | .TP 5 | |
85 | .B ~e | |
86 | Invokes an editor on the response composed so far. | |
87 | When editing terminates, message composition continues. | |
88 | .TP 5 | |
89 | .B ~p | |
90 | Prints the message composed so far. | |
91 | .PP | |
92 | You can end a | |
93 | .I Mail | |
94 | session with the | |
95 | .B quit | |
96 | (\fBq\fR) | |
97 | command. | |
98 | Messages which have been examined go to your | |
99 | .I mbox | |
100 | file unless they have been deleted in which case they are discarded. | |
101 | Unexamined messages go back to the post office. | |
102 | .PP | |
103 | By giving `people' arguments to | |
104 | .I Mail | |
105 | on the command line, or by using the internal | |
106 | .B mail | |
107 | (\fBm\fR) | |
108 | command you can originate mail. | |
109 | The escapes available during | |
110 | .I reply | |
111 | commands are available here also. | |
112 | .PP | |
113 | The | |
114 | .B \-f | |
115 | option causes | |
116 | .I Mail | |
117 | to read in the contents of your | |
118 | .I mbox | |
119 | (or the specified file) | |
120 | for processing; when you | |
121 | .B quit | |
122 | .I Mail | |
123 | writes undeleted messages back to this file. | |
124 | .PP | |
125 | .I Mail | |
126 | has a number of other facilities as well as options which can be set | |
127 | in the file | |
128 | .I \&.mailrc | |
129 | in your home directory. | |
130 | See the `Mail Reference Manual' for details. | |
131 | .SH FILES | |
132 | .if n .ta 2.5i | |
133 | .if t .ta 1.8i | |
134 | /usr/spool/mail/* post office | |
135 | .br | |
136 | ~/mbox your old mail | |
137 | .br | |
138 | ~/.mailrc file giving initial mail commands | |
139 | .br | |
140 | /tmp/R# temporary for editor escape | |
141 | .br | |
142 | /usr/lib/Mail.groups named groupings for bulk mailing | |
143 | .br | |
144 | /usr/lib/Mail.help* help files | |
145 | .br | |
146 | /usr/lib/Mail.rc system-wide initialization file | |
147 | .br | |
148 | /bin/mail to do actual mailing | |
149 | .SH "SEE ALSO" | |
150 | mail(1), | |
151 | `The Mail Reference Manual' | |
152 | .SH AUTHOR | |
153 | Kurt Shoens | |
154 | .SH BUGS |