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