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