1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288
|
.\" $Id: af.man,v 2.2 1997/11/16 00:28:02 malc Exp $
.TH AF %SEC1%
.SH NAME
af \- emacs-like mail reader.
.SH SYNOPSIS
.B af
[
.B -envwzEFH
] [
.BR -f " folder"
] [
.BR -u " user"
] [
.BR -l " loadfile"
] [
.BR -S " scriptfile"
] [
.BR -c " cc"
] [
.BR -b " bcc"
] [
.BR -s " subject"
] [
.BR -C " content-type"
] [ destination ... ]
.SH DESCRIPTION
.I Af\^
is a screen-oriented electronic mail reader and composer. The
interface is designed to be quite similar to that of the \fIEmacs\fP
screen editor, with lines on the display representing mail messages.
By default, \fIaf\fP will read your \fIincoming mailbox\fP, and then
wait for commands. For more detail on using \fIaf\fP interactively,
see the Af User Manual.
.PP
If you specify \fIdestination\fPs on the command line, or use the
\fB-c\fP or \fB-b\fP options, \fIaf\fP will allow you to compose and
send mail to the specified destinations, just as if you had executed
the command \fIsend-mail\fP from within af. Once the message has been
sent (or if you abort the message), then \fIaf\fP exits.
.PP
Other arguments are options influencing the behaviour
of \fIaf\fP.
.SH OPTIONS
The
.B -v
(version) option makes \fIaf\fP print its version information to
standard output and then quit, regardless of any other arguments.
.PP
The
.B -e
(exists) option makes \fIaf\fP check whether there is mail in your
default mailbox (or, if \fB-f\fP or \fB-u\fP are given, any specified
folders) and then exit. The exit status is zero if there is mail in
any of the folders; one if not.
.br
This option is ignored if destinations were specified.
.PP
The
.B -z
(zero) option makes \fIaf\fP terminate immediately with an exit status
of 1 if your default mailbox (or, if \fB-f\fP or \fB-u\fP is given,
any specified folders) is empty. Otherwise, af will start up
normally.
.br
This option is ignored if destinations were specified.
.PP
The
.B -n
(no startup file) option makes \fIaf\fP ignore the file \fI.afrc\fP in
the user's home directory.
.PP
The
.B -E
(edit and deliver) option forces \fIaf\fP to send a single mail
message, asking for the destinations if not given on the command line.
If the if the text of the message to be sent is being read from the
standard input, then the text is gathered into a temporary file and
\fIaf\fP then asks for destinations and subject (if it has not already
read them from the message's text), editing the file and asking for
disposition. This is mainly useful when \fIaf\fP is being called by
other programs or is at the receiving end of a pipeline of commands;
you'll very rarely need it, but when you do, it's invaluable.
.PP
The
.B -H
(headers anyway) option forces \fIaf\fP to present the user with the
headers of an outgoing message when editing it, or to force
translation of headers in mail sent from the standard input. In
effect, it causes \fIaf\fP's \fBedit-initial-headers\fP variable to be
set to \fBtrue\fP regardless of the contents of the user's \fI.afrc\fP
file.
.PP
Multiple occurrences of \fB-e\fP, \fB-z\fP, \fB-E\fP, or \fB-H\fP act
as only one occurrence of the option; if given together, \fB-e\fP
takes precedence over \fB-z\fP. It's not clear why anyone should ever
wish to do these things, but now you know.
.PP
The
.BI -f " folder"
(file or folder) option specifies the folder to be read instead of
your default mailbox. Multiple \fB-f\fP options may be given.
\fB-f\fP and \fB-u\fP may be intermixed. More than one \fB-f\fP or
\fB-u\fP causes each named folder to be read into its own buffer.
.br
This option is ignored if destinations were specified.
.PP
The
.BI -u " user"
(user) option specifies that \fIuser\fP's incoming mailbox is to be
read instead of your own. You must have any necessary access
permissions to read the mailbox. Multiple \fB-u\fP options may be
given. \fB-u\fP and \fB-f\fP may be intermixed. More than one
\fB-u\fP or \fB-f\fP causes each named file to be read into its own
buffer.
.br
This option is ignored if destinations were specified.
.PP
The
.B -F
(all files or folders) option tells af to treat any arguments as folders
to be read rather than destinations to send mail. This can be convenient
when you want load several folders at once into af.
.PP
The
.B -w
(windows) option makes \fIaf\fP create enough windows to display all
the folders specified with the -f, -u or -F, options, subject to the
maximum number of windows that will fit on the screen (usually
about four or five).
.br
This option is ignored if destinations were specified.
.PP
The
.BI -l " loadfile"
(loadfile) option specifies a file of af commands which should be read
and executed on startup before any buffers are created. Used with the
\fB-n\fP option, this allows the user to specify an alternate startup
file, rather than the default of \fI.afrc\fP in their home directory.
See the Af User Manual for details on startup files.
.PP
The
.BI -S " file"
(script) option names a file of commands in \fIaf\fP's internal
language \fIafl\fP. The commands in the file are read and executed
exactly as if \fIaf\fP had been started up interactively and then the
af command \fIload-file\fP had been executed. When all the \fIafl\fP
commands in \fIfile\fP have been executed, or if an error is
encountered in the file, then \fIaf\fP terminates. If the \fB-S\fP
option is given, then \fIaf\fP will not display the screen; only
messages will be printed to the standard output.
.br
Only one \fB-S\fP option may be given, it is ignored if
destinations were specified.
.PP
The
.BI -c " cc"
(cc) option specifies Carbon copy addresses for an outgoing message.
Only one \fB-c\fP option may be given.
.PP
The
.BI -b " bcc"
(cc) option specifies Blind carbon copy addresses for an outgoing
message. Only one \fB-b\fP option may be given.
.PP
The
.BI -s " subject"
(subject) option specifies the Subject: for an outgoing message. Only
one \fB-s\fP option may be given.
.br
This option is ignored if destinations were not specified.
.PP
The
.BI -C " content-type"
(subject) option specifies the MIME Content-Type: for an outgoing message.
Only one \fB-C\fP option may be given.
.br
This option is ignored if destinations were not specified.
.SH "FINDING OUT MORE"
The definitive reference for \fIaf\fP is the Af Reference Manual,
which is available in \fItexinfo\fP and \fIinfo\fP, forms with
the \fIaf\fP distribution.
.PP
More convenient is the Af Quick Reference Card, which gives a very
condensed summary of \fIaf\fP commands, variables, and options.
The LaTeX sources for the reference card are available as part of
the \fIaf\fP distribution.
.PP
More immediately useful for exploring \fIaf\fP is \fIaf\fP's internal
help system, which can be accessed by entering \fIaf\fP and typing
\fBC-h\fP (control-H). The first command you'll probably want to use
is \fBC-h C-i\fP (control-H followed by control-I), which will allow
you to browse the af user manual.
.SH FILES
.PD 0
.TP
/usr/spool/mail/\fIuser\fP (or similar)
incoming mail for \fIuser\fP;
the
\fIincoming mailfile\fP
.TP
$HOME/.signature
default signature file
.TP
$HOME/dead.letter
repository for unsent mail read from standard input
.TP
$HOME/.afrc
personal startup file
.TP
%ETCDIR%/afrc
global startup file
.TP
$HOME/.afalias
personal alias file
.TP
%ETCDIR%/afalias
global alias file
.TP
%LIBDIR%/af.help
help file
.TP
%LIBDIR%/readmbox
program to read mailboxes
.TP
%LIBDIR%/writembox
program to write mailboxes
.TP
/tmp/aftmp\(**
temporary file used when editing
.PD
.SH ENVIRONMENT
.PD 0
.TP
SHELL
.br
Shell to run as an inferior shell
.TP
VISUAL, EDITOR
.br
editor for outgoing mail
.TP
PAGER
.br
program to page text
.TP
MAIL
.br
location of your incoming mailbox
.TP
FOLDER
.br
directory for your folders
.TP
SAVEDIR
directory for your news folders
.TP
HOME
.br
your home directory
.TP
MAILCAPS
location of mailcap files to read
.TP
NAME
.br
your real name
.TP
ORGANIZATION
.br
your organisational affiliation
.TP
TMPDIR
.br
directory for temporary files
.PD
.SH "EXIT STATUS"
.I Af
exits with status zero indicating that all is well; status one for
unusual but not strictly incorrect happenings; and status two for
things that are just plain wrong.
.SH AUTHOR
.I Af
was written by Malc Arnold, with assistance from Kay Dekker
and Ian Dickinson.
.SH SEE ALSO
afack(%SEC1%), afalias(%SEC5%) ``The Af User Manual''.
.SH BUGS
Running out of memory causes ungraceful termination.
|