updated ali-flist, with batch edit of others
[mmh] / man / nmh.man
1 .\"
2 .\" %nmhwarning%
3 .\" $Id$
4 .\"
5 .\" include the -mh macro file
6 .so %etcdir%/tmac.h
7 .\"
8 .if '\*(ZZ'-man' \{\
9 .TH NMH %manext1% "%nmhdate%" MH.6.8 [%nmhversion%]
10 .SH NAME
11 nmh \- new MH message system
12 .SH SYNOPSIS
13 .in +.5i
14 .ti -.5i
15 any \fInmh\fR command
16 .in -.5i
17 .SH DESCRIPTION
18 \fInmh\fR is the name of a powerful message handling system.  Rather than
19 being a single comprehensive program, \fInmh\fR consists of a collection
20 of fairly simple single-purpose programs to send, retrieve, save,
21 and manipulate messages.
22
23 Unlike most mail clients in UNIX, \fInmh\fR is not a closed system which
24 must be explicitly run, then exited when you wish to return to the shell.
25 You may freely intersperse \fInmh\fR commands with other shell commands,
26 allowing you to read and answer your mail while you have (for example)
27 a compilation running, or search for a file or run programs as needed
28 to find the answer to someone's question before answering their mail.
29
30 The rest of this manual entry is a quick tutorial which will teach you
31 the basics of \fInmh\fR.  You should read the manual entries for the
32 individual programs for complete documentation.
33
34 To get started using \fInmh\fR, put the directory \fB%bindir%\fR on your
35 \fB$PATH\fR.  This is best done in one of the files: \fB\&.profile\fR,
36 \fB\&.login\fR, or \fB\&.cshrc\fR in your home directory.  (Check the
37 manual entry for the shell you use, in case you don't know how to
38 do this.)  Run the \fIinc\fR command.  If you've never used \fInmh\fR
39 before, it will create the necessary default files and directories after
40 asking you if you wish it to do so.
41
42 \fIinc\fR moves mail from your system maildrop into your \fInmh\fR
43 `+inbox' folder, breaking it up into separate files and converting it
44 to \fInmh\fR format as it goes.  It prints one line for each message it
45 processes, containing the from field, the subject field and as much of
46 the first line of the message as will fit.  It leaves the first message
47 it processes as your current message.  You'll need to run \fIinc\fR each
48 time you wish to incorporate new mail into your \fInmh\fR file.
49
50 \fIscan\fR prints a list of the messages in your current folder.
51
52 The commands: \fIshow\fR, \fInext\fR, and \fIprev\fR are used to read
53 specific messages from the current folder.  \fIshow\fR displays the
54 current message, or a specific message, which may be specified by its
55 number, which you pass as an argument to \fIshow\fR.  \fInext\fR and
56 \fIprev\fR display, respectively, the message numerically after or before
57 the current message.  In all cases, the message displayed becomes the
58 current message.  If there is no current message, \fIshow\fR may be
59 called with an argument, or \fInext\fR may be used to advance to the
60 first message.
61
62 \fIrmm\fR (remove message) deletes the current message.  It may be called
63 with message numbers passed as arguments, to delete specific messages.
64
65 \fIrepl\fR is used to respond to the current message (by default).
66 It places you in the editor with a prototype response form.  While you're
67 in the editor, you may peruse the item you're responding to by reading
68 the file \fB@\fR.  After completing your response, type \fBl\fR to list
69 (review) it, or \fBs\fR to send it.
70
71 \fIcomp\fR allows you to compose a message by putting you in the editor
72 on a prototype message form, and then lets you send it.
73
74 All the \fInmh\fR commands may be run with the single argument: `\-help',
75 which causes them to print a list of the arguments they may be invoked
76 with and then exit.
77
78 All the \fInmh\fR commands may be run with the single argument:
79 `\-version', which cause them to print the version number of the \fInmh\fR
80 distribution, and then exit.
81
82 Commands which take a message number as an argument (\fIscan\fR,
83 \fIshow\fR, \fIrepl\fR, ...)  also take one of the words: \fIfirst\fR,
84 \fIprev\fR, \fIcur\fR, \fInext\fR, or \fIlast\fR to indicate
85 (respectively) the first, previous, current, next, or last message in
86 the current folder (assuming they are defined).
87
88 Commands which take a range of message numbers (\fIrmm\fR, \fIscan\fR,
89 \fIshow\fR, ...)  also take any of the abbreviations:
90 .sp
91 .in +5
92 .ti -3
93 .I <num1>-<num2>
94 - Indicates all messages in the range <num1> to <num2>, inclusive. The range
95 .B must
96 be nonempty.
97 .sp
98 .ti -3
99 .I <num>:+N
100 .ti -3
101 .I <num>:-N
102 - Up to
103 .I N
104 messages beginning with (or ending with) message
105 .I num.
106 .I Num
107 may be any of the pre-defined symbols:
108 .I first, prev, cur, next
109 or
110 .I last.
111 .sp
112 .ti -3
113 .I first:N
114 .ti -3
115 .I prev:N
116 .ti -3
117 .I next:N
118 .ti -3
119 .I last:N
120 - The first, previous, next or last
121 .I N
122 messages, if they exist.
123 .in -5
124
125 There are many other possibilities such as creating multiple folders
126 for different topics, and automatically refiling messages according to
127 subject, source, destination, or content.  These are beyond the scope
128 of this manual entry.
129
130 Following is a list of all the \fInmh\fR commands:
131 .\}
132
133 .nf
134 .in .5i
135 .ta 1.5i
136 ^ali (1)~^\- list mail aliases
137 ^anno (1)~^\- annotate messages
138 ^burst (1)~^\- explode digests into messages
139 ^comp (1)~^\- compose a message 
140 ^dist (1)~^\- redistribute a message to additional addresses
141 ^flist (1)~^\- list folders that contain messages in given sequence(s)
142 ^flists (1)~^\- list all folders that contain messages in given sequence(s)
143 ^folder (1)~^\- set/list current folder/message
144 ^folders (1)~^\- list all folders
145 ^forw (1)~^\- forward messages
146 ^inc (1)~^\- incorporate new mail
147 ^mark (1)~^\- mark messages
148 ^mhbuild (1)~^\- translate MIME composition draft
149 ^mhl (1)~^\- produce formatted listings of nmh messages
150 ^mhlist (1)~^\- list information about content of MIME messages
151 ^mhmail (1)~^\- send or read mail
152 ^mhn (1)~^\- display/list/store/cache MIME messages
153 ^mhparam (1)~^\- print nmh profile components
154 ^mhpath (1)~^\- print full pathnames of nmh messages and folders
155 ^mhshow (1)~^\- display MIME messages
156 ^mhstore (1)~^\- store contents of MIME messages into files
157 ^msgchk (1)~^\- check for messages
158 ^msh (1)~^\- nmh shell (and BBoard reader)
159 ^next (1)~^\- show the next message
160 ^packf (1)~^\- compress a folder into a single file
161 ^pick (1)~^\- select messages by content
162 ^prev (1)~^\- show the previous message
163 ^prompter (1)~^\- prompting editor front end
164 ^rcvdist (1)~^\- asynchronously redistribute new mail
165 ^rcvpack (1)~^\- append message to file
166 ^rcvstore (1)~^\- asynchronously incorporate new mail
167 ^rcvtty  (1)~^\- report new mail
168 ^refile (1)~^\- file messages in other folders
169 ^repl (1)~^\- reply to a message
170 ^rmf (1)~^\- remove folder
171 ^rmm (1)~^\- remove messages
172 ^scan (1)~^\- produce a one line per message scan listing
173 ^send (1)~^\- send a message
174 ^sendfiles (1)~^\- send multiple files and directories in MIME message
175 ^show (1)~^\- show (display) messages
176 ^slocal (1)~^\- asynchronously filter and deliver new mail
177 ^sortm (1)~^\- sort messages
178 ^whatnow (1)~^\- prompting front\-end for send
179 ^whom (1)~^\- report to whom a message would go
180 .if '\*(ZZ'-man' \{\
181 .sp 1
182 ^mh\-alias (5)~^\- alias file for nmh message system
183 ^mh\-draft (5)~^\- draft folder facility
184 ^mh\-format (5)~^\- format file for nmh message system
185 ^mh\-mail (5)~^\- message format for nmh message system
186 ^mh\-profile (5)~^\- user customization for nmh message system
187 ^mh\-sequence (5)~^\- sequence specification for nmh message system
188 .sp 1
189 ^ap (8)~^\- parse addresses 822\-style
190 ^conflict (8)~^\- search for alias/password conflicts
191 ^dp (8)~^\- parse dates 822\-style
192 ^fmtdump (8)~^\- decode \fInmh\fP format files
193 ^install\-mh (8)~^\- initialize the nmh environment
194 ^post (8)~^\- deliver a message
195 .\}
196 .fi
197 .re
198
199 .if '\*(ZZ'-man' \{\
200 .Fi
201 ^%bindir%~^directory containing \fInmh\fR commands
202 ^%etcdir%~^directory containing \fInmh\fR format files
203 ^%libdir%~^\fInmh\fR library commands
204 .Bu
205 If problems are encountered with an \fInmh\fR program, the problems should
206 be reported to the local maintainers of \fInmh\fR.  When doing this, the
207 name of the program should be reported, along with the version information
208 for the program.
209 .br
210 To find out what version of an \fInmh\fR program is being run, invoke
211 the program with the `\-version' switch.  This information includes
212 the version of \fInmh\fR, the host it was generated on, and the date the
213 program was loaded.
214
215 Send bug reports and suggestions to \fBnmh-workers@mhost.com\fR.
216 .Fi
217 ^$HOME/\&.mh\(ruprofile~^The user profile
218 .Pr
219 ^Path:~^To determine the user's nmh directory
220 .\" .Ps
221 .\" for each additional profile entry
222 .\" .Sa
223 .\" the see\-also's go here
224 .\" .De
225 .\" the first default goes here
226 .\" .Ds
227 .\" for each additional default
228 .\" .Co
229 .\" context changes go here
230 .\" You can also have
231 .\" .Hh \- the helpful hints section
232 .\" .Hi \- the history section
233 .\" .Bu \- the bugs section
234 .En
235 .\}