* Update to version 2.19.6
[alpine.git] / doc / alpine.1
blob9810e1a6f22b5f79b88ac460d5fc764a6ddbaf18
1 .TH alpine 1 "Version 2.19.6"
2 .SH NAME
3 alpine \- an Alternatively Licensed Program for Internet News and Email
4 .SH SYNTAX 
6 .B alpine
8 .I options
9 ] [
10 .I address
12 .I address
13
15 .B alpinef
17 .I options
18 ] [
19 .I address
21 .I address
23 .SH DESCRIPTION
25 Alpine is a screen-oriented message-handling tool.  In its default 
26 configuration, Alpine offers an intentionally limited set of 
27 functions geared toward the novice user, but it also has a large
28 list of optional "power-user" and personal-preference features.
29 .I alpinef 
30 is a variant of Alpine that uses function keys rather than mnemonic 
31 single-letter commands.
32 Alpine's basic feature set includes:
33 .IP
34 View, Save, Export, Delete, Print, Reply and Forward messages.
35 .IP
36 Compose messages in a simple editor (Pico) with word-wrap and a spelling
37 checker.  Messages may be postponed for later completion.
38 .IP
39 Full-screen selection and management of message folders.
40 .IP
41 Address book to keep a list of long or frequently-used addresses.
42 Personal distribution lists may be defined.
43 Addresses may be taken into the address book from
44 incoming mail without retyping them. 
45 .IP
46 New mail checking and notification occurs automatically every 2.5 minutes
47 and after certain commands, e.g. refresh-screen (Ctrl-L).
48 .IP
49 On-line, context-sensitive help screens.
50 .PP
51 Alpine supports MIME (Multipurpose Internet Mail Extensions), an Internet
52 Standard for representing multipart and multimedia data in email.
53 Alpine allows you to save MIME objects to files, and in some 
54 cases, can also initiate the correct program for viewing the object.
55 It uses the system's
56 .I mailcap 
57 configuration file to determine what program can process a particular MIME
58 object type. 
59 Alpine's message composer does not have integral multimedia capability, but
60 any type of data file --including multimedia-- can be attached to a text
61 message and sent using MIME's encoding rules.  This allows any group of
62 individuals with MIME-capable mail software (e.g. Alpine, PC-Alpine, or many
63 other programs) to exchange formatted documents, spread-sheets, image
64 files, etc, via Internet email. 
65 .PP
66 Alpine uses the 
67 .I c-client
68 messaging API to access local and remote mail folders. This
69 library provides a variety of low-level message-handling functions, 
70 including drivers
71 for a variety of different mail file formats, as well as routines
72 to access remote mail and news servers, using IMAP (Internet Message
73 Access Protocol) and NNTP (Network News Transport Protocol).  Outgoing mail
74 is usually posted directly via SMTP 
75 (Simple Mail Transfer Protocol).
76 .SH OPTIONS
77 .if n .ta 2.8i
78 .if t .ta 2.1i
80 The command line options/arguments are:
81 .IP \fIaddress\fR 20
82 Send mail to 
83 .I address.
84 This will cause Alpine to go directly into the message composer.
85 .IP \fB-attach\ \fIfile\fR 20
86 Send mail with the listed
87 .I file
88 as an attachment.
89 .IP \fB-attachlist\ \fIfile-list\fR 20
90 Send mail with the listed
91 .I file-list
92 as an attachments.
93 .IP \fB-attach_and_delete\ \fIfile\fR 20
94 Send mail with the listed
95 .I file
96 as an attachment, and remove the file
97 after the message is sent.
98 .IP \fB-aux\ \fIlocal_directory\fR 20
99 PC-Alpine only. When using a remote configuration (-p <remote_config>) this tells
100 PC-Alpine the local directory to use for storing auxiliary files, like debug
101 files, address books, and signature files.
102 .IP \fB-bail\fR 20
103 Exit if the pinerc file does not exist. This might be useful if the config
104 file is accessed using some remote filesystem protocol. If the remote mount
105 is missing this will cause Alpine to quit instead of creating a new pinerc.
106 .IP \fB-c\ \fIcontext-number\fR 20
107 context-number is the number corresponding to the 
108 folder-collection to which the
109 .I -f
110 command line argument should be applied.  By default the
111 .I -f
112 argument is applied to the first defined folder-collection.
113 .IP \fB-conf\fR 20
114 Produce a sample/fresh copy of the 
115 system-wide configuration file,
116 .I pine.conf,
117 on the standard output. This is distinct from the per-user
118 .I .pinerc
119 file.
120 .IP \fB-convert_sigs\ \fI-p\ pinerc\fR 20
121 Convert signature files into literal signatures.
122 .IP \fB-copy_abook\ <\fIlocal_abook\fR>\ <\fIremote_abook\fR> 20
123 Copy the local address book file to a remote address book folder.
124 .IP \fB-copy_pinerc\ <\fIlocal_pinerc\fR>\ <\fIremote_pinerc\fR> 20
125 Copy the local pinerc file to a remote pinerc folder.
126 .IP \fB-d\ \fIdebug-level\fR 20
127 Output diagnostic info at
128 .I debug-level
129 (0-9) to the current
130 .I .pine-debug[1-4]
131 file.  A value of 0 turns debugging off and suppresses the
132 .I .pine-debug
133 file.
134 .IP \fB-d\ \fIkey[=val]\fR 20
135 Fine tuned output of diagnostic messages where "flush" causes
136 debug file writing without buffering, "timestamp" appends
137 each message with a timestamp, "imap=n" where n is between
138 0 and 4 representing none to verbose IMAP telemetry reporting,
139 "numfiles=n" where n is between 0 and 31 corresponding to the
140 number of debug files to maintain, and "verbose=n" where n is
141 between 0 and 9 indicating an inverse threshold for message
142 output.
143 .IP \fB-f\ \fIfolder\fR 20
144 Open 
145 .I folder 
146 (in first defined folder collection, use 
147 .I -c n
148 to specify another collection) instead of INBOX.
149 .IP \fB-F\ \fIfile\fR 20
150 Open named text file and view with Alpine's browser.
151 .IP \fB-h\fR 20
152 Help: list valid command-line options.
153 .IP \fB-i\fR 20
154 Start up in the FOLDER INDEX screen.
155 .IP \fB-I\ \fIkeystrokes\fR 20
156 Initial (comma separated list of) keystrokes which Alpine should execute
157 on startup.
158 .IP \fB-install\fR 20
159 For PC-Alpine only, this option causes PC-Alpine to prompt for some basic
160 setup information, then exits.
161 .IP \fB-k\fR 20
162 Use function keys for commands. This is the same as running the command
163 .IR alpinef .
164 .IP \fB-n\ \fInumber\fR 20
165 Start up with current message-number set to 
166 .I number.
167 .IP \fB-o\fR 20
168 Open first folder read-only.
169 .IP \fB-p\ \fIconfig-file\fR 20
170 Use 
171 .I config-file
172 as the personal configuration file instead of the default 
173 .IR .pinerc .
174 .IP \fB-P\ \fIconfig-file\fR 20
175 Use 
176 .I config-file
177 as the configuration file instead of default
178 system-wide configuration file 
179 .IR pine.conf .
180 .IP \fB-pinerc\ \fIfile\fR 20
181 Output fresh pinerc configuration to 
182 .I file, preserving the settings of variables that the user has made.
183 Use \fIfile\fR set to ``-'' to make output go to standard out.
184 <IP> \fB-registry\ \fIcmd\fR 20
185 For PC-Alpine only, this option affects the values of 
186 Alpine's registry entries.
187 Possible values for \fIcmd\fR are set, clear, and dump.
188 \fISet\fR will always reset Alpine's registry 
189 entries according to its current settings.
190 \fIClear\fR will clear the registry values.
191 \fIClearsilent\fR will silently clear the registry values.
192 \fIDump\fR will display the values of current registry settings.
193 Note that the dump command is currently disabled.
194 Without the -registry option, PC-Alpine will write values into
195 the registry only if there currently aren't any values set.
196 .IP \fB-r\fR 20
197 Use restricted/demo mode.
198 .I Alpine
199 will only send mail to itself
200 and functions like save and export are restricted.
201 .IP \fB-sort\ \fIorder\fR
202 Sort the FOLDER INDEX display in one of the following orders: 
203 .I arrival, date, subject, orderedsubj, thread, from, size, score, to, cc,
205 .I reverse. Arrival 
206 order is the default. 
207 The OrderedSubj choice simulates a threaded sort.
208 Any sort may be reversed by adding 
209 .I /reverse
210 to it.
211 .I Reverse
212 by itself is the same as
213 .IR arrival/reverse .
214 .IP \fB-supported\fR 20
215 Some options may or may not be supported depending on how Alpine
216 was compiled.
217 This is a way to determine which options are supported in the particular
218 copy of Alpine you are using.
219 .IP \fB-uninstall\fR 20
220 For PC-Alpine only, this option causes PC-Alpine to remove references to
221 Alpine in Windows settings.
222 .IP \fB-url\ \fIurl\fR 20
223 Open the given
224 .I url.
225 Cannot be used with 
226 .I -f
228 .I -F
229 options.
230 .IP \fB-v\fR 20
231 Version: Print version information.
232 .IP \fB-version\fR 20
233 Version: Print version information.
234 .IP \fB-x\ \fIconfig\fR 20
235 Use configuration exceptions in
236 .I config.
237 Exceptions are used to override your default pinerc
238 settings for a particular platform, can be a local file or
239 a remote folder.
240 .IP \fB-z\fR 20
241 Enable ^Z and SIGTSTP so alpine may be suspended.
242 .IP \fI-option\=\fIvalue\fR 20
243 Assign 
244 .I value
245 to the config option 
246 .I option
247 e.g. -signature-file=sig1 or -feature-list=signature-at-bottom 
248 (Note: feature-list values are additive) 
249 .SH CONFIGURATION
251 There are several levels of Alpine configuration.  Configuration values at 
252 a given level over-ride corresponding values at lower levels.  In order of 
253 increasing precedence:
255  o built-in defaults.
257  o system-wide 
258 .I pine.conf 
259 file.
261  o personal 
262 .I .pinerc 
263 file (may be set via built-in Setup/Config menu.)
265  o command-line options.
267  o system-wide 
268 .I pine.conf.fixed 
269 file.
271 There is one exception to the rule that configuration values are replaced
272 by the value of the same option in a higher-precedence file: the
273 feature-list variable has values that are additive, but can be negated by
274 prepending "no-" in front of an individual feature name. Unix Alpine also
275 uses the following environment variables: 
277   TERM
279   DISPLAY     (determines if Alpine can display IMAGE attachments.)
281   SHELL       (if not set, default is /bin/sh )
283   MAILCAPS    (semicolon delimited list of path names to mailcap files)
284 .SH FILES
285 .if n .ta 2.8i
286 .if t .ta 2.1i
288 /usr/spool/mail/xxxx    Default folder for incoming mail.
290 ~/mail  Default directory for mail folders.
292 ~/.addressbook  Default address book file.
294 ~/.pine-debug[1-4]      Diagnostic log for debugging.
296 ~/.pinerc       Personal alpine config file.
298 ~/.pine-crash   Debug information useful to debug a crash.
300 ~/.newsrc       News subscription/state file.
302 ~/.mailcap      Personal mail capabilities file.
304 ~/.mime.types   Personal file extension to MIME type mapping
306 /etc/mailcap    System-wide mail capabilities file.
308 /etc/mime.types System-wide file ext. to MIME type mapping
310 /usr/local/lib/pine.info        Local pointer to system administrator.
312 /usr/local/lib/pine.conf        System-wide configuration file.
314 /usr/local/lib/pine.conf.fixed   Non-overridable configuration file.
316 /tmp/.\\usr\\spool\\mail\\xxxx  Per-folder mailbox lock files.
318 ~/.pine-interrupted-mail        Message which was interrupted.
320 ~/mail/postponed-msgs   For postponed messages.
322 ~/mail/sent-mail        Outgoing message archive (FCC).
324 ~/mail/saved-messages   Default destination for Saving messages.
325 .SH "SEE ALSO"
327 pico(1), binmail(1), aliases(5), mailaddr(7), sendmail(8), spell(1), imapd(8)
330 Newsgroup:  comp.mail.pine
333 Mailing List:
335 Alpine-info, at https://www.washington.edu/alpine/alpine-info/
338 Main Alpine distribution site:  
340 http://patches.freeiz.com/alpine/release/
343 Alpine Technical Notes, included in the source distribution.
346 C-Client messaging API library, included in the source distribution.
347 .SH ACKNOWLEDGMENTS
348 .na 
351 This software is the result of the contribution of many individuals 
352 who have dedicated their time to support, improve and suggest ways 
353 to improve Alpine through the years. This software would not be 
354 possible without the support of the University of Washington in 
355 Seattle, Washington. The Alpine community extends its most sincere 
356 thanks to all contributors and invites everyone to join in and 
357 contribute to this project.