Commit | Line | Data |
---|---|---|
57efb37a C |
1 | .bp |
2 | .sh 1 "Summary of commands, options, and escapes" | |
3 | .pp | |
4 | This section gives a quick summary of the | |
5 | .i Mail | |
6 | commands, binary and valued options, and tilde escapes. | |
7 | .(b | |
8 | .pp | |
9 | The following table describes the commands: | |
10 | .TS | |
11 | center ; | |
12 | c ci | |
13 | lb l. | |
14 | Command Description | |
15 | _ | |
16 | ! Single command escape to shell | |
17 | - Back up to previous message | |
18 | Print Type message with ignored fields | |
19 | Reply Reply to author of message only | |
20 | Type Type message with ignored fields | |
21 | alias Define an alias as a set of user names | |
22 | alternates List other names you are known by | |
23 | chdir Change working directory, home by default | |
24 | copy Copy a message to a file or folder | |
25 | delete Delete a list of messages | |
26 | dt Delete current message, type next message | |
27 | endif End of conditional statement; see \fBif\fP | |
28 | edit Edit a list of messages | |
29 | else Start of else part of conditional; see \fBif\fP | |
30 | exit Leave mail without changing anything | |
31 | file Interrogate/change current mail file | |
32 | folder Same as \fBfile\fP | |
33 | folders List the folders in your folder directory | |
34 | from List headers of a list of messages | |
35 | headers List current window of messages | |
36 | help Print brief summary of \fIMail\fP commands | |
37 | hold Same as \fBpreserve\fP | |
38 | if Conditional execution of \fIMail\fP commands | |
39 | ignore Set/examine list of ignored header fields | |
40 | mail Send mail to specified names | |
41 | mbox Arrange to save a list of messages in \fImbox\fP | |
42 | next Go to next message and type it | |
43 | preserve Arrange to leave list of messages in system mailbox | |
44 | quit Leave \fIMail\fP; update system mailbox, \fImbox\fP as appropriate | |
45 | reply Compose a reply to a message | |
46 | save Append messages, headers included, on a file | |
47 | set Set binary or valued options | |
48 | shell Invoke an interactive shell | |
49 | top Print first so many (5 by default) lines of list of messages | |
50 | type Print messages | |
51 | undelete Undelete list of messages | |
52 | unset Undo the operation of a \fBset\fP | |
53 | visual Invoke visual editor on a list of messages | |
54 | write Append messages to a file, don't include headers | |
55 | z Scroll to next/previous screenful of headers | |
56 | .TE | |
57 | .)b | |
58 | .(b | |
59 | .pp | |
60 | The following table describes the options. Each option is | |
61 | shown as being either a binary or valued option. | |
62 | .TS | |
63 | center; | |
64 | c ci ci | |
65 | l ci l. | |
66 | Option Type Description | |
67 | _ | |
68 | EDITOR valued Pathname of editor for ~e and \fBedit\fP | |
69 | SHELL valued Pathname of shell for \fBshell\fP, ~! and \fB!\fP | |
70 | VISUAL valued Pathname of screen editor for ~v, \fBvisual\fP | |
71 | append binary Always append messages to end of \fImbox\fP | |
72 | ask binary Prompt user for Subject: field when sending | |
73 | askcc binary Prompt user for additional Cc's at end of message | |
74 | autoprint binary Print next message after \fBdelete\fP | |
75 | crt valued Minimum number of lines before using \fImore\fP | |
76 | dot binary Accept . alone on line to terminate message input | |
77 | escape valued Escape character to be used instead of ~ | |
78 | folder valued Directory to store folders in | |
79 | hold binary Hold messages in system mailbox by default | |
80 | ignore binary Ignore \s-2RUBOUT\s0 while sending mail | |
81 | ignoreeof binary Don't terminate letters/command input with \fB\(uaD\fP | |
82 | keep binary Don't unlink system mailbox when empty | |
83 | keepsave binary Don't delete \fBsave\fPd messages by default | |
84 | metoo binary Include sending user in aliases | |
85 | nosave binary Don't save partial letter in \fIdead.letter\fP | |
86 | quiet binary Suppress printing of \fIMail\fP version | |
87 | record valued File to save all outgoing mail in | |
88 | screen valued Size of window of message headers for \fBz\fP, etc. | |
89 | sendmail valued Choose alternate mail delivery system | |
90 | toplines valued Number of lines to print in \fBtop\fP | |
91 | .TE | |
92 | .)b | |
93 | .(b | |
94 | .pp | |
95 | The following table summarizes the tilde escapes available | |
96 | while sending mail. | |
97 | .TS | |
98 | center; | |
99 | c ci ci | |
100 | l li l. | |
101 | Escape Arguments Description | |
102 | _ | |
103 | ~! command Execute shell command | |
104 | ~c name ... Add names to Cc: field | |
105 | ~d Read \fIdead.letter\fP into message | |
106 | ~e Invoke text editor on partial message | |
107 | ~f messages Read named messages | |
108 | ~h Edit the header fields | |
109 | ~m messages Read named messages, right shift by tab | |
110 | ~p Print message entered so far | |
111 | ~q Abort entry of letter; like \s-2RUBOUT\s0 | |
112 | ~r filename Read file into message | |
113 | ~s string Set Subject: field to \fIstring\fP | |
114 | ~t name ... Add names to To: field | |
115 | ~v Invoke screen editor on message | |
116 | ~w filename Write message on file | |
117 | ~| command Pipe message through \fIcommand\fP | |
118 | ~~ string Quote a ~ in front of \fIstring\fP | |
119 | .TE | |
120 | .)b | |
121 | .(b | |
122 | .pp | |
123 | The following table shows the command line flags that | |
124 | .i Mail | |
125 | accepts: | |
126 | .TS | |
127 | center; | |
128 | c c | |
129 | l a. | |
130 | Flag Description | |
131 | _ | |
132 | \-N Suppress the initial printing of headers | |
133 | \-T \fIfile\fP Article-id's of read/deleted messages to \fIfile\fP | |
134 | \-d Turn on debugging | |
135 | \-f \fIfile\fP Show messages in \fIfile\fP or \fI~/mbox\fP | |
136 | \-h \fInumber\fP Pass on hop count for mail forwarding | |
137 | \-i Ignore tty interrupt signals | |
138 | \-n Inhibit reading of /usr/lib/Mail.rc | |
139 | \-r \fIname\fP Pass on \fIname\fP for mail forwarding | |
140 | \-s \fIstring\fP Use \fIstring\fP as subject in outgoing mail | |
141 | \-u \fIname\fP Read \fIname's\fP mail instead of your own | |
142 | .TE | |
143 | .)b | |
144 | .lp | |
145 | Notes: | |
146 | .b \-T , | |
147 | .b \-d , | |
148 | .b \-h , | |
149 | and | |
150 | .b \-r | |
151 | are not for human use. |