Commit | Line | Data |
---|---|---|
1c36befc C |
1 | .bp |
2 | .sh 1 "Additional features" | |
3 | .pp | |
4 | This section describes some additional commands of use for | |
5 | reading your mail, setting options, and handling lists of messages. | |
6 | .sh 2 "Message lists" | |
7 | .pp | |
8 | Several | |
9 | .i Mail | |
10 | commands accept a list of messages as an argument. | |
11 | Along with | |
12 | .b type | |
13 | and | |
14 | .b delete , | |
15 | described in section 2, | |
16 | there is the | |
17 | .b from | |
18 | command, which prints the message headers associated with the | |
19 | message list passed to it. | |
20 | The | |
21 | .b from | |
22 | command is particularly useful in conjunction with some of the | |
23 | message list features described below. | |
24 | .pp | |
25 | A | |
26 | .i "message list" | |
27 | consists of a list of message numbers, ranges, and names, | |
28 | separated by spaces or tabs. Message numbers may be either | |
29 | decimal numbers, which directly specify messages, or one of the | |
30 | special characters | |
31 | .q \(ua | |
32 | .q "." | |
33 | or | |
34 | .q "$" | |
35 | to specify the first relevant, current, or last | |
36 | relevant message, respectively. | |
37 | .i Relevant | |
38 | here means, for most commands | |
39 | .q "not deleted" | |
40 | and | |
41 | .q "deleted" | |
42 | for the | |
43 | .b undelete | |
44 | command. | |
45 | .pp | |
46 | A range of messages consists of two message numbers (of the form | |
47 | described in the previous paragraph) separated by a dash. | |
48 | Thus, to print the first four messages, use | |
49 | .(l | |
50 | type 1\-4 | |
51 | .)l | |
52 | and to print all the messages from the current message to the last | |
53 | message, use | |
54 | .(l | |
55 | type .\-$ | |
56 | .)l | |
57 | .pp | |
58 | A | |
59 | .i name | |
60 | is a user name. The user names given in the message list are | |
61 | collected together and each message selected by other means | |
62 | is checked to make sure it was sent by one of the named users. | |
63 | If the message consists entirely of user names, then every | |
64 | message sent by one those users that is | |
65 | .i relevant | |
66 | (in the sense described earlier) | |
67 | is selected. Thus, to print every message sent to you by | |
68 | .q root, | |
69 | do | |
70 | .(l | |
71 | type root | |
72 | .)l | |
73 | .pp | |
74 | As a shorthand notation, you can specify simply | |
75 | .q * | |
76 | to get every | |
77 | .i relevant | |
78 | (same sense) | |
79 | message. Thus, | |
80 | .(l | |
81 | type * | |
82 | .)l | |
83 | prints all undeleted messages, | |
84 | .(l | |
85 | delete * | |
86 | .)l | |
87 | deletes all undeleted messages, and | |
88 | .(l | |
89 | undelete * | |
90 | .)l | |
91 | undeletes all deleted messages. | |
92 | .pp | |
93 | You can search for the presence of a word in subject lines with | |
94 | .b / . | |
95 | For example, to print the headers of all messages that contain the | |
96 | word | |
97 | .q PASCAL, | |
98 | do: | |
99 | .(l | |
100 | from /pascal | |
101 | .)l | |
102 | Note that subject searching ignores upper/lower case differences. | |
103 | .sh 2 "List of commands" | |
104 | .pp | |
105 | This section describes all the | |
106 | .i Mail | |
107 | commands available when | |
108 | receiving mail. | |
109 | .ip \fB!\fP | |
110 | Used to preface a command to be executed by the shell. | |
111 | .ip \fB\-\fP | |
112 | The | |
113 | .rb \- | |
114 | command goes to the previous message and prints it. The | |
115 | .rb \- | |
116 | command may be given a decimal number | |
117 | .i n | |
118 | as an argument, in which case the | |
119 | .i n th | |
120 | previous message is gone to and printed. | |
121 | .ip \fBPrint\fP | |
122 | Like | |
123 | .b print , | |
124 | but also print out ignored header fields. See also | |
125 | .b print | |
126 | and | |
127 | .b ignore . | |
128 | .ip \fBReply\fP | |
129 | Note the capital R in the name. | |
130 | Frame a reply to a one or more messages. | |
131 | The reply (or replies if you are using this on multiple messages) | |
132 | will be sent ONLY to the person who sent you the message | |
133 | (respectively, the set of people who sent the messages you are | |
134 | replying to). | |
135 | You can | |
136 | add people using the | |
137 | .b ~t | |
138 | and | |
139 | .b ~c | |
140 | tilde escapes. The subject in your reply is formed by prefacing the | |
141 | subject in the original message with | |
142 | .q "Re:" | |
143 | unless it already began thus. | |
144 | If the original message included a | |
145 | .q "reply-to" | |
146 | header field, the reply will go | |
147 | .i only | |
148 | to the recipient named by | |
149 | .q "reply-to." | |
150 | You type in your message using the same conventions available to you | |
151 | through the | |
152 | .b mail | |
153 | command. | |
154 | The | |
155 | .b Reply | |
156 | command is especially useful for replying to messages that were sent | |
157 | to enormous distribution groups when you really just want to | |
158 | send a message to the originator. Use it often. | |
159 | .ip \fBType\fP | |
160 | Identical to the | |
161 | .b Print | |
162 | command. | |
163 | .ip \fBalias\fP | |
164 | Define a name to stand for a set of other names. | |
165 | This is used when you want to send messages to a certain | |
166 | group of people and want to avoid retyping their names. | |
167 | For example | |
168 | .(l | |
169 | alias project john sue willie kathryn | |
170 | .)l | |
171 | creates an alias | |
172 | .i project | |
173 | which expands to the four people John, Sue, Willie, and Kathryn. | |
174 | .ip \fBalternates\fP | |
175 | If you have accounts on several machines, you may find it convenient | |
176 | to use the /usr/lib/aliases on all the machines except one to direct | |
177 | your mail to a single account. | |
178 | The | |
179 | .b alternates | |
180 | command is used to inform | |
181 | .i Mail | |
182 | that each of these other addresses is really | |
183 | .i you . | |
184 | .i Alternates | |
185 | takes a list of user names and remembers that they are all actually you. | |
186 | When you | |
187 | .b reply | |
188 | to messages that were sent to one of these alternate names, | |
189 | .i Mail | |
190 | will not bother to send a copy of the message to this other address (which | |
191 | would simply be directed back to you by the alias mechanism). | |
192 | If | |
193 | .i alternates | |
194 | is given no argument, it lists the current set of alternate names. | |
195 | .b Alternates | |
196 | is usually used in the .mailrc file. | |
197 | .ip \fBchdir\fP | |
198 | The | |
199 | .b chdir | |
200 | command allows you to change your current directory. | |
201 | .b Chdir | |
202 | takes a single argument, which is taken to be the pathname of | |
203 | the directory to change to. If no argument is given, | |
204 | .b chdir | |
205 | changes to your home directory. | |
206 | .ip \fBcopy\fP | |
207 | The | |
208 | .b copy | |
209 | command does the same thing that | |
210 | .b save | |
211 | does, except that it does not mark the messages it is used on | |
212 | for deletion when you quit. | |
213 | .ip \fBdelete\fP | |
214 | Deletes a list of messages. Deleted messages can be reclaimed | |
215 | with the | |
216 | .b undelete | |
217 | command. | |
218 | .ip \fBdt\fP | |
219 | The | |
220 | .b dt | |
221 | command deletes the current message and prints the next message. | |
222 | It is useful for quickly reading and disposing of mail. | |
223 | .ip \fBedit\fP | |
224 | To edit individual messages using the text editor, the | |
225 | .b edit | |
226 | command is provided. The | |
227 | .b edit | |
228 | command takes a list of messages as described under the | |
229 | .b type | |
230 | command and processes each by writing it into the file | |
231 | Message\c | |
232 | .i x | |
233 | where | |
234 | .i x | |
235 | is the message number being edited and executing the text editor on it. | |
236 | When you have edited the message to your satisfaction, write the message | |
237 | out and quit, upon which | |
238 | .i Mail | |
239 | will read the message back and remove the file. | |
240 | .b Edit | |
241 | may be abbreviated to | |
242 | .b e . | |
243 | .ip \fBelse\fP | |
244 | Marks the end of the then-part of an | |
245 | .b if | |
246 | statement and the beginning of the | |
247 | part to take effect if the condition of the | |
248 | .b if | |
249 | statement is false. | |
250 | .ip \fBendif\fP | |
251 | Marks the end of an | |
252 | .b if | |
253 | statement. | |
254 | .ip \fBexit\fP | |
255 | Leave | |
256 | .i Mail | |
257 | without updating the system mailbox or the file your were reading. | |
258 | Thus, if you accidentally delete several messages, you can use | |
259 | .b exit | |
260 | to avoid scrambling your mailbox. | |
261 | .ip \fBfile\fP | |
262 | The same as | |
263 | .b folder . | |
264 | .ip \fBfolders\fP | |
265 | List the names of the folders in your folder directory. | |
266 | .ip \fBfolder\fP | |
267 | The | |
268 | .b folder | |
269 | command switches to a new mail file or folder. With no arguments, it | |
270 | tells you which file you are currently reading. If you give | |
271 | it an argument, it will write out changes (such as deletions) | |
272 | you have made in the current file and read the new file. | |
273 | Some special conventions are recognized for the name: | |
274 | .(b | |
275 | .TS | |
276 | center; | |
277 | c c | |
278 | l a. | |
279 | Name Meaning | |
280 | _ | |
281 | # Previous file read | |
282 | % Your system mailbox | |
283 | %name \fIName\fP's system mailbox | |
284 | & Your ~/mbox file | |
285 | +folder A file in your folder directory | |
286 | .TE | |
287 | .)b | |
288 | .ip \fBfrom\fP | |
289 | The | |
290 | .b from | |
291 | command takes a list of messages and prints out the header lines for each one; | |
292 | hence | |
293 | .(l | |
294 | from joe | |
295 | .)l | |
296 | is the easy way to display all the message headers from \*(lqjoe.\*(rq | |
297 | .ip \fBheaders\fP | |
298 | When you start up | |
299 | .i Mail | |
300 | to read your mail, it lists the message headers that you have. | |
301 | These headers tell you who each message is from, when they were | |
302 | sent, how many lines and characters each message is, and the | |
303 | .q "Subject:" | |
304 | header field of each message, if present. In addition, | |
305 | .i Mail | |
306 | tags the message header of each message that has been the object | |
307 | of the | |
308 | .b preserve | |
309 | command with a | |
310 | .q P. | |
311 | Messages that have been | |
312 | .b saved | |
313 | or | |
314 | .b written | |
315 | are flagged with a | |
316 | .q *. | |
317 | Finally, | |
318 | .b deleted | |
319 | messages are not printed at all. If you wish to reprint the current | |
320 | list of message headers, you can do so with the | |
321 | .b headers | |
322 | command. The | |
323 | .b headers | |
324 | command (and thus the initial header listing) | |
325 | only lists the first so many message headers. | |
326 | The number of headers listed depends on the speed of your | |
327 | terminal. | |
328 | This can be overridden by specifying the number of headers you | |
329 | want with the | |
330 | .i window | |
331 | option. | |
332 | .i Mail | |
333 | maintains a notion of the current | |
334 | .q window | |
335 | into your messages for the purposes of printing headers. | |
336 | Use the | |
337 | .b z | |
338 | command to move forward and back a window. | |
339 | You can move | |
340 | .i Mail's | |
341 | notion of the current window directly to a particular message by | |
342 | using, for example, | |
343 | .(l | |
344 | headers 40 | |
345 | .)l | |
346 | to move | |
347 | .i Mail's | |
348 | attention to the messages around message 40. The | |
349 | .b headers | |
350 | command can be abbreviated to | |
351 | .b h . | |
352 | .ip \fBhelp\fP | |
353 | Print a brief and usually out of date help message about the commands | |
354 | in | |
355 | .i Mail . | |
356 | Refer to this manual instead. | |
357 | .ip \fBhold\fP | |
358 | Arrange to hold a list of messages in the system mailbox, instead | |
359 | of moving them to the file | |
360 | .i mbox | |
361 | in your home directory. If you set the binary option | |
362 | .i hold , | |
363 | this will happen by default. | |
364 | .ip \fBif\fP | |
365 | Commands in your | |
366 | .q .mailrc | |
367 | file can be executed conditionally depending on whether you are | |
368 | sending or receiving mail with the | |
369 | .b if | |
370 | command. For example, you can do: | |
371 | .(l | |
372 | if receive | |
373 | \fIcommands\fP... | |
374 | endif | |
375 | .)l | |
376 | An | |
377 | .b else | |
378 | form is also available: | |
379 | .(l | |
380 | if send | |
381 | \fIcommands\fP... | |
382 | else | |
383 | \fIcommands\fP... | |
384 | endif | |
385 | .)l | |
386 | Note that the only allowed conditions are | |
387 | .b receive | |
388 | and | |
389 | .b send . | |
390 | .ip \fBignore\fP | |
391 | Add the list of header fields named to the | |
392 | .i "ignore list" . | |
393 | Header fields in the ignore list are not printed on your | |
394 | terminal when you print a message. This allows you to suppress | |
395 | printing of certain machine-generated header fields, such as | |
396 | .i Via | |
397 | which are not usually of interest. The | |
398 | .b Type | |
399 | and | |
400 | .b Print | |
401 | commands can be used to print a message in its entirety, including | |
402 | ignored fields. | |
403 | If | |
404 | .b ignore | |
405 | is executed with no arguments, it lists the current set of ignored fields. | |
406 | .ip \fBmail\fP | |
407 | Send mail to one or more people. If you have the | |
408 | .i ask | |
409 | option set, | |
410 | .i Mail | |
411 | will prompt you for a subject to your message. Then you | |
412 | can type in your message, using tilde escapes as described in | |
413 | section 4 to edit, print, or modify your message. To signal your | |
414 | satisfaction with the message and send it, type control-d at the | |
415 | beginning of a line, or a . alone on a line if you set the option | |
416 | .i dot . | |
417 | To abort the message, type two interrupt characters (\s-2RUBOUT\s0 | |
418 | by default) in a row or use the | |
419 | .b ~q | |
420 | escape. | |
421 | .ip \fBmbox\fP | |
422 | Indicate that a list of messages be sent to | |
423 | .i mbox | |
424 | in your home directory when you quit. This is the default | |
425 | action for messages if you do | |
426 | .i not | |
427 | have the | |
428 | .i hold | |
429 | option set. | |
430 | .ip \fBnext\fP | |
431 | The | |
432 | .b next | |
433 | command goes to the next message and types it. If given a message list, | |
434 | .b next | |
435 | goes to the first such message and types it. Thus, | |
436 | .(l | |
437 | next root | |
438 | .)l | |
439 | goes to the next message sent by | |
440 | .q root | |
441 | and types it. The | |
442 | .b next | |
443 | command can be abbreviated to simply a newline, which means that one | |
444 | can go to and type a message by simply giving its message number or | |
445 | one of the magic characters | |
446 | .q "\(ua" | |
447 | .q "." | |
448 | or | |
449 | .q "$". | |
450 | Thus, | |
451 | .(l | |
452 | \&. | |
453 | .)l | |
454 | prints the current message and | |
455 | .(l | |
456 | 4 | |
457 | .)l | |
458 | prints message 4, as described previously. | |
459 | .ip \fBpreserve\fP | |
460 | Same as | |
461 | .b hold . | |
462 | Cause a list of messages to be held in your system mailbox when you quit. | |
463 | .ip \fBquit\fP | |
464 | Leave | |
465 | .i Mail | |
466 | and update the file, folder, or system mailbox your were reading. | |
467 | Messages that you have examined are marked as | |
468 | .q read | |
469 | and messages that existed when you started are marked as | |
470 | .q old. | |
471 | If you were editing your system mailbox and | |
472 | if you have set the binary option | |
473 | .i hold , | |
474 | all messages which have not been deleted, saved, or mboxed | |
475 | will be retained in your system mailbox. | |
476 | If you were editing your system mailbox and | |
477 | you did | |
478 | .i not | |
479 | have | |
480 | .i hold | |
481 | set, all messages which have not been deleted, saved, or preserved | |
482 | will be moved to the file | |
483 | .i mbox | |
484 | in your home directory. | |
485 | .ip \fBreply\fP | |
486 | Frame a reply to a single message. | |
487 | The reply will be sent to the | |
488 | person who sent you the message to which you are replying, plus all | |
489 | the people who received the original message, except you. You can | |
490 | add people using the | |
491 | .b ~t | |
492 | and | |
493 | .b ~c | |
494 | tilde escapes. The subject in your reply is formed by prefacing the | |
495 | subject in the original message with | |
496 | .q "Re:" | |
497 | unless it already began thus. | |
498 | If the original message included a | |
499 | .q "reply-to" | |
500 | header field, the reply will go | |
501 | .i only | |
502 | to the recipient named by | |
503 | .q "reply-to." | |
504 | You type in your message using the same conventions available to you | |
505 | through the | |
506 | .b mail | |
507 | command. | |
508 | .ip \fBsave\fP | |
509 | It is often useful to be able to save messages on related topics | |
510 | in a file. The | |
511 | .b save | |
512 | command gives you ability to do this. The | |
513 | .b save | |
514 | command takes as argument a lit of message numbers, followed by | |
515 | the name of the file on which to save the messages. The messages | |
516 | are appended to the named file, thus allowing one to keep several | |
517 | messages in the file, stored in the order they were put there. | |
518 | The | |
519 | .b save | |
520 | command can be abbreviated to | |
521 | .b s . | |
522 | An example of the | |
523 | .b save | |
524 | command relative to our running example is: | |
525 | .(l | |
526 | s 1 2 tuitionmail | |
527 | .)l | |
528 | .b Saved | |
529 | messages are not automatically saved in | |
530 | .i mbox | |
531 | at quit time, nor are they selected by the | |
532 | .b next | |
533 | command described above, unless explicitly specified. | |
534 | .ip \fBset\fP | |
535 | Set an option or give an option a value. Used to customize | |
536 | .i Mail . | |
537 | Section 5.3 contains a list of the options. Options can be | |
538 | .i binary , | |
539 | in which case they are | |
540 | .i on | |
541 | or | |
542 | .i off , | |
543 | or | |
544 | .i valued . | |
545 | To set a binary option | |
546 | .i option | |
547 | .i on , | |
548 | do | |
549 | .(l | |
550 | set option | |
551 | .)l | |
552 | To give the valued option | |
553 | .i option | |
554 | the value | |
555 | .i value , | |
556 | do | |
557 | .(l | |
558 | set option=value | |
559 | .)l | |
560 | Several options can be specified in a single | |
561 | .b set | |
562 | command. | |
563 | .ip \fBshell\fP | |
564 | The | |
565 | .b shell | |
566 | command allows you to | |
567 | escape to the shell. | |
568 | .b Shell | |
569 | invokes an interactive shell and allows you to type commands to it. | |
570 | When you leave the shell, you will return to | |
571 | .i Mail . | |
572 | The shell used is a default assumed by | |
573 | .i Mail ; | |
574 | you can override this default by setting the valued option | |
575 | .q SHELL, | |
576 | eg: | |
577 | .(l | |
578 | set SHELL=/bin/csh | |
579 | .)l | |
580 | .ip \fBsource\fP | |
581 | The | |
582 | .b source | |
583 | command reads | |
584 | .i Mail | |
585 | commands from a file. It is useful when you are trying to fix your | |
586 | .q .mailrc | |
587 | file and you need to re-read it. | |
588 | .ip \fBtop\fP | |
589 | The | |
590 | .b top | |
591 | command takes a message list and prints the first five lines | |
592 | of each addressed message. It may be abbreviated to | |
593 | .b to . | |
594 | If you wish, you can change the number of lines that | |
595 | .b top | |
596 | prints out by setting the valued option | |
597 | .q "toplines." | |
598 | On a CRT terminal, | |
599 | .(l | |
600 | set toplines=10 | |
601 | .)l | |
602 | might be preferred. | |
603 | .ip \fBtype\fP | |
604 | Print a list of messages on your terminal. If you have set the | |
605 | option | |
606 | .i crt | |
607 | to a number and the total number of lines in the messages you are | |
608 | printing exceed that specified by | |
609 | .i crt , | |
610 | the messages will be printed by a terminal paging program such as | |
611 | .i more . | |
612 | .ip \fBundelete\fP | |
613 | The | |
614 | .b undelete | |
615 | command causes a message that had been deleted previously to regain | |
616 | its initial status. Only messages that have been deleted may be | |
617 | undeleted. This command may be abbreviated to | |
618 | .b u . | |
619 | .ip \fBunset\fP | |
620 | Reverse the action of setting a binary or valued option. | |
621 | .ip \fBvisual\fP | |
622 | It is often useful to be able to invoke one of two editors, | |
623 | based on the type of terminal one is using. To invoke | |
624 | a display oriented editor, you can use the | |
625 | .b visual | |
626 | command. The operation of the | |
627 | .b visual | |
628 | command is otherwise identical to that of the | |
629 | .b edit | |
630 | command. | |
631 | .ne 2v+\n(psu | |
632 | .sp \n(psu | |
633 | Both the | |
634 | .b edit | |
635 | and | |
636 | .b visual | |
637 | commands assume some default text editors. These default editors | |
638 | can be overridden by the valued options | |
639 | .q EDITOR | |
640 | and | |
641 | .q VISUAL | |
642 | for the standard and screen editors. You might want to do: | |
643 | .(l | |
644 | set EDITOR=/usr/ucb/ex VISUAL=/usr/ucb/vi | |
645 | .)l | |
646 | .ip \fBwrite\fP | |
647 | The | |
648 | .b save | |
649 | command always writes the entire message, including the headers, | |
650 | into the file. If you want to write just the message itself, you | |
651 | can use the | |
652 | .b write | |
653 | command. The | |
654 | .b write | |
655 | command has the same syntax as the | |
656 | .b save | |
657 | command, and can be abbreviated to simply | |
658 | .b w . | |
659 | Thus, we could write the second message by doing: | |
660 | .(l | |
661 | w 2 file.c | |
662 | .)l | |
663 | As suggested by this example, the | |
664 | .b write | |
665 | command is useful for such tasks as sending and receiving | |
666 | source program text over the message system. | |
667 | .ip \fBz\fP | |
668 | .i Mail | |
669 | presents message headers in windowfuls as described under | |
670 | the | |
671 | .b headers | |
672 | command. | |
673 | You can move | |
674 | .i Mail's | |
675 | attention forward to the next window by giving the | |
676 | .(l | |
677 | z+ | |
678 | .)l | |
679 | command. Analogously, you can move to the previous window with: | |
680 | .(l | |
681 | z\- | |
682 | .)l | |
683 | .sh 2 "Custom options" | |
684 | .pp | |
685 | Throughout this manual, we have seen examples of binary and valued options. | |
686 | This section describes each of the options in alphabetical order, including | |
687 | some that you have not seen yet. | |
688 | To avoid confusion, please note that the options are either | |
689 | all lower case letters or all upper case letters. When I start a sentence | |
690 | such as: | |
691 | .q "Ask" | |
692 | causes | |
693 | .i Mail | |
694 | to prompt you for a subject header, | |
695 | I am only capitalizing | |
696 | .q ask | |
697 | as a courtesy to English. | |
698 | .ip \fBEDITOR\fP | |
699 | The valued option | |
700 | .q EDITOR | |
701 | defines the pathname of the text editor to be used in the | |
702 | .b edit | |
703 | command and ~e. If not defined, a standard editor is used. | |
704 | .ip \fBSHELL\fP | |
705 | The valued option | |
706 | .q SHELL | |
707 | gives the path name of your shell. This shell is used for the | |
708 | .b ! | |
709 | command and ~! escape. In addition, this shell expands | |
710 | file names with shell metacharacters like * and ? in them. | |
711 | .ip \fBVISUAL\fP | |
712 | The valued option | |
713 | .q VISUAL | |
714 | defines the pathname of your screen editor for use in the | |
715 | .b visual | |
716 | command | |
717 | and ~v escape. A standard screen editor is used if you do not define one. | |
718 | .ip \fBappend\fP | |
719 | The | |
720 | .q append | |
721 | option is binary and | |
722 | causes messages saved in | |
723 | .i mbox | |
724 | to be appended to the end rather than prepended. | |
725 | Normally, | |
726 | .i Mail will put messages in | |
727 | .i mbox | |
728 | in the same order that the system puts messages in your system mailbox. | |
729 | By setting | |
730 | .q append, | |
731 | you are requesting that | |
732 | .i mbox | |
733 | be appended to regardless. It is in any event quicker to append. | |
734 | .ip \fBask\fP | |
735 | .q "Ask" | |
736 | is a binary option which | |
737 | causes | |
738 | .i Mail | |
739 | to prompt you for the subject of each message you send. | |
740 | If you respond with simply a newline, no subject field will be sent. | |
741 | .ip \fBaskcc\fP | |
742 | .q Askcc | |
743 | is a binary option which | |
744 | causes you to be prompted for additional carbon copy recipients at the | |
745 | end of each message. Responding with a newline shows your | |
746 | satisfaction with the current list. | |
747 | .ip \fBautoprint\fP | |
748 | .q Autoprint | |
749 | is a binary option which | |
750 | causes the | |
751 | .b delete | |
752 | command to behave like | |
753 | .b dp | |
754 | \*- thus, after deleting a message, the next one will be typed | |
755 | automatically. This is useful to quickly scanning and deleting | |
756 | messages in your mailbox. | |
757 | .ip \fBdot\fP | |
758 | .q Dot | |
759 | is a binary option which, if set, causes | |
760 | .i Mail | |
761 | to interpret a period alone on a line as the terminator | |
762 | of a message you are sending. | |
763 | .ip \fBescape\fP | |
764 | To allow you to change the escape character used when sending | |
765 | mail, you can set the valued option | |
766 | .q escape. | |
767 | Only the first character of the | |
768 | .q escape | |
769 | option is used, and it must be doubled if it is to appear as | |
770 | the first character of a line of your message. If you change your escape | |
771 | character, then ~ loses all its special meaning, and need no longer be doubled | |
772 | at the beginning of a line. | |
773 | .ip \fBfolder\fP | |
774 | The name of the directory to use for storing folders of messages. | |
775 | If this name begins with a `/' | |
776 | .i Mail | |
777 | considers it to be an absolute pathname; otherwise, the folder directory | |
778 | is found relative to your home directory. | |
779 | .ip \fBignore\fP | |
780 | The binary option | |
781 | .q ignore | |
782 | causes \s-2RUBOUT\s0 characters from your terminal to be ignored and echoed | |
783 | as @'s while you are sending mail. \s-2RUBOUT\s0 characters retain their | |
784 | original meaning in | |
785 | .i Mail | |
786 | command mode. | |
787 | Setting the | |
788 | .q ignore | |
789 | option is equivalent to supplying the | |
790 | .b \-i | |
791 | flag on the command line as described in section 2. | |
792 | .ip \fBignoreeof\fP | |
793 | An option related to | |
794 | .q dot | |
795 | is | |
796 | .q ignoreeof | |
797 | which makes | |
798 | .i Mail | |
799 | refuse to accept a control\-d as the end of a message. | |
800 | .q Ignoreeof | |
801 | also applies to | |
802 | .i Mail | |
803 | command mode. | |
804 | .ip \fBkeep\fP | |
805 | The | |
806 | .q keep | |
807 | option causes | |
808 | .i Mail | |
809 | to truncate your system mailbox instead of deleting it when it | |
810 | is empty. This is useful if you elect to protect your mailbox, which | |
811 | you would do with the shell command: | |
812 | .(l | |
813 | chmod 600 /usr/spool/mail/yourname | |
814 | .)l | |
815 | where | |
816 | .i yourname | |
817 | is your login name. If you do not do this, anyone can probably read | |
818 | your mail, although people usually don't. | |
819 | .ip \fBkeepsave\fP | |
820 | When you | |
821 | .b save | |
822 | a message, | |
823 | .i Mail | |
824 | usually discards it when you | |
825 | .b quit . | |
826 | To retain all saved messages, set the | |
827 | .q keepsave | |
828 | option. | |
829 | .ip \fBmetoo\fP | |
830 | When sending mail to an alias, | |
831 | .i Mail | |
832 | makes sure that if you are included in the alias, that mail will not | |
833 | be sent to you. This is useful if a single alias is being used by | |
834 | all members of the group. If however, you wish to receive a copy of | |
835 | all the messages you send to the alias, you can set the binary option | |
836 | .q metoo. | |
837 | .ip \fBnosave\fP | |
838 | Normally, | |
839 | when you abort a message with two \s-2RUBOUTs\s0, | |
840 | .i Mail | |
841 | copies the partial letter to the file | |
842 | .q dead.letter | |
843 | in your home directory. Setting the binary option | |
844 | .q nosave | |
845 | prevents this. | |
846 | .ip \fBquiet\fP | |
847 | The binary option | |
848 | .q quiet | |
849 | suppresses the printing of the version when | |
850 | .i Mail | |
851 | is first invoked, | |
852 | as well as printing the for example | |
853 | .q "Message 4:" | |
854 | from the | |
855 | .b type | |
856 | command. | |
857 | .ip \fBrecord\fP | |
858 | If you love to keep records, then the | |
859 | valued option | |
860 | .q record | |
861 | can be set to the name of a file to save your outgoing mail. | |
862 | Each new message you send is appended to the end of the file. | |
863 | .ip \fBscreen\fP | |
864 | When | |
865 | .i Mail | |
866 | initially prints the message headers, it determines the number to | |
867 | print by looking at the speed of your terminal. The faster your | |
868 | terminal, the more it prints. | |
869 | The valued option | |
870 | .q screen | |
871 | overrides this calculation and | |
872 | specifies how many message headers you want printed. | |
873 | This number is also used for scrolling with the | |
874 | .b z | |
875 | command. | |
876 | .ip \fBsendmail\fP | |
877 | To alternate delivery system, set the | |
878 | .q sendmail | |
879 | option to the full pathname of the program to use. Note: this is not | |
880 | for everyone! Most people should use the default delivery system. | |
881 | .ip \fBtoplines\fP | |
882 | The valued option | |
883 | .q toplines | |
884 | defines the number of lines that the | |
885 | .q top | |
886 | command will print out instead of the default five lines. |