|
|
1.1 root 1: .TH Mail 1
2: .SH NAME
3: Mail \- send and receive mail
4: .SH SYNOPSIS
5: .B Mail
6: [
7: .I option
8: ]
9: ...
10: [
11: .I person
12: ]
13: ...
14: .SH DESCRIPTION
15: .I Mail
16: with
17: .I persons
18: named reads a letter from the standard input and sends it to them.
19: .PP
20: .I Mail
21: otherwise presents your mail.
22: It responds to commands, each typed on a line by itself,
23: possibly with arguments.
24: A command need not be typed in its
25: entirety \- the first command that matches the typed prefix is used.
26: A missing message list is interpreted as a singleton:
27: whichever of the current message,
28: the nearest message ahead, or the nearest message back
29: satisfies the command's requirements.
30: .PP
31: The following table describes the commands:
32: .PP
33: .ta \w'\f5alternates\fP 'u +\w'Arguments 'u
34: .de fq
35: \f5\\$1\\fP \f5\\$2\\fP \\f5\\$3\\fP
36: ..
37: .nf
38: .fq ! "Single command escape to shell"
39: .fq - "Back up to previous message"
40: .fq Reply "Compose a reply to a message"
41: .fq alias "Define an alias as a set of user names"
42: .fq alternates "List other names you are known by"
43: .fq chdir "Change working directory, default home"
44: .fq copy "Copy a message to a file or folder, or pipe it to a command"
45: .fq delete "Delete a list of messages"
46: .fq dt "Delete message, type next"
47: .fq endif "End of \f5if\fR conditional statement"
48: .fq edit "Edit a list of messages"
49: .fq else "Part of \f5if\fR conditional"
50: .fq exit "Leave mail without changing anything"
51: .fq file "Interrogate/change current mail file"
52: .fq folder "Same as file"
53: .fq folders "List your folder directory"
54: .fq from "List headers of a list of messages"
55: .fq headers "List current window of messages"
56: .fq help "Print brief summary of Mail commands"
57: .fq hold "Same as preserve"
58: .fq if "Conditional execution of Mail commands"
59: .fq ignore "Do not print listed headers"
60: .fq mail "Send mail to specified names"
61: .fq mbox "Arrange to save a list of messages in mbox"
62: .fq next "Go to next message and type it"
63: .fq preserve "Arrange to leave list of messages in mbox"
64: .fq quit "Leave Mail; update mbox as appropriate"
65: .fq reply "Reply to author of message only"
66: .fq save "Append messages, with headers, to a file, or pipe it to a command"
67: .fq set "Set binary or valued options"
68: .fq shell "Invoke an interactive shell"
69: .fq top "Print first so many (5 by default) lines of list of messages"
70: .fq type "Print messages"
71: .fq undelete "Undelete list of messages"
72: .fq unset "Undo the operation of a set"
73: .fq visual "Invoke visual editor on a list of messages"
74: .fq write "Append messages, without headers, to a file, or pipe it to a command"
75: .fq z "Scroll to next/previous screenful of headers"
76: .fi
77: .PP
78: The following table describes the options for
79: .BR set .
80: Each option is
81: shown as being either a binary or valued option.
82: .PP
83: .nf
84: .fq EDITOR valued "Pathname of editor for \f5~e\fP and \f5edit\fP"
85: .fq SHELL valued "Pathname of shell for \f5shell\fP, \f5~!\fP and \f5!\fP"
86: .fq VISUAL valued "Pathname of screen editor for \f5~v\fP, \f5visual\fP"
87: .fq append binary "Always append messages to end of \fImbox\fP"
88: .fq ask binary "Prompt user for Subject: field when sending"
89: .fq askcc binary "Prompt user for additional Cc's at end of message"
90: .fq autoprint binary "Print next message after \f5delete\fP"
91: .fq crt valued "Minimum number of lines before using \fImore\fP"
92: .fq dot binary "Accept . alone on line to terminate message input"
93: .fq escape valued "Escape character to be used instead of ~"
94: .fq folder valued "Directory to store folders in"
95: .fq hold binary "Hold messages in \fImbox\fP by default"
96: .fq ignore binary "Ignore \s-2RUBOUT\s0 while sending mail"
97: .fq ignoreeof binary "Don't terminate letters/command input with ^D"
98: .fq keep binary "Don't unlink \fImbox\fP when empty"
99: .fq keepsave binary "Don't delete \f5save\fPd messages by default"
100: .fq metoo binary "Include sending user in aliases"
101: .fq nosave binary "Don't save partial letter in \fIdead.letter\fP"
102: .fq quiet binary "Suppress printing of \fIMail\fP version"
103: .fq record valued "File to save all outgoing mail in"
104: .fq screen valued "Size of window of message headers for \f5z\fP, etc."
105: .fq sendmail valued "Choose alternate mail delivery system"
106: .fq toplines valued "Number of lines to print in \f5top\fP"
107: .fi
108: .PP
109: The following table summarizes tilde escapes available
110: while entering a letter.
111: .PP
112: Escape Arguments Description
113: .nf
114: .de fz
115: \f5\\$1\fP \fI\\$2\\fP \\$3
116: ..
117: .fz ~! command "Execute shell command"
118: .fz ~c name ... "Add names to Cc: field"
119: .fz ~d "Read \f5dead.letter\fP into message"
120: .fz ~e "Invoke text editor on partial message"
121: .fz ~f messages "Read named messages"
122: .fz ~h "Edit the header fields"
123: .fz ~m messages "Read named messages, right shift by tab"
124: .fz ~p "Print message entered so far"
125: .fz ~q "Abort entry of letter; like \s-2RUBOUT\s0"
126: .fz ~r filename "Read file into message"
127: .fz ~s string "Set Subject: field to \fIstring\fP"
128: .fz ~t name ... "Add names to \f%To:\fP field"
129: .fz ~v "Invoke screen editor on message"
130: .fz ~w filename "Write message on file"
131: .fz ~\^| command "Pipe message through \fIcommand\fP"
132: .fz ~~ string "Quote a \f5~\fP in front of \fIstring\fP"
133: .fi
134: .PP
135: The following table shows the command line flags.
136: .PP
137: .ta \w'\f5-h number\fP 'u
138: .B
139: .nf
140: .fz -N "Suppress the initial printing of headers"
141: .fz -T file "Article-id's of read/deleted messages to \fIfile\fP"
142: .fz -d "Turn on debugging"
143: .fz -f file "Show messages in \fIfile\fP or \fI$HOME/mbox\fP"
144: .fz -h number "Pass on hop count for mail forwarding"
145: .fz -i "Ignore tty interrupt signals"
146: .fz -n "Inhibit reading of /usr/lib/Mail.rc"
147: .fz -r name "Pass on \fIname\fP for mail forwarding"
148: .fz -s string "Use \fIstring\fP as subject in outgoing mail"
149: .fz -u name "Read \fIname's\fP mail instead of your own"
150: .fi
151: .PP
152: Notes:
153: .B -T ,
154: .B -d ,
155: .B -h ,
156: and
157: .B -r
158: are not intended for human consumption.
159: .SH FILES
160: .TF /usr/lib/Mail.help*
161: .TP
162: .F /usr/spool/mail/*
163: post office
164: .TP
165: .F $HOME/mbox
166: your old mail
167: .TP
168: .F $HOME/.mailrc
169: file giving initial mail commands
170: .TP
171: .F /tmp/R#
172: temporary for editor escape
173: .TP
174: .F /usr/lib/Mail.help*
175: help files
176: .TP
177: .F /usr/lib/Mail.rc
178: system initialization file
179: .TP
180: .F /bin/mail
181: to do actual mailing
182: .fi
183: .SH "SEE ALSO"
184: .IR mail (1)
185: .br
186: `The Mail Reference Manual,'
187: .I Berkeley BSD 4.1 UNIX User's Manual
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.