f8c7aaebe43980bf950711930e995fd59eaf1096
[mmh] / man / mmh-intro.man7
1 .\"
2 .\" %nmhwarning%
3 .\"
4 .TH NMH %manext7% "%nmhdate%" MH.6.8 [%nmhversion%]
5 .SH NAME
6 mmh \- Introduction to the Modern MH message system
7 .SH DESCRIPTION
8 .B mmh
9 is a powerful message handling system, based on
10 .BR nmh ,
11 which in turn bases on MH, the Rand Corporation's Message Handler.
12 .PP
13 Rather than
14 being a single comprehensive program,
15 .B mmh
16 consists of a collection
17 of fairly simple single-purpose programs to send, retrieve, organize,
18 and manipulate messages.
19 .PP
20 Unlike most other mail clients,
21 .B mmh
22 is not a closed system which
23 must be explicitly run, then exited when you wish to return to the shell.
24 Instead, you may freely intersperse
25 .B mmh
26 commands with other shell commands,
27 allowing you to read and answer your mail while you
28 search for a file or run programs as needed
29 to find the answer to someone's question before answering their mail.
30 .PP
31 The rest of this manual entry is a quick tutorial which will teach you
32 the basics of
33 .BR mmh .
34 You should read the manual entries for the
35 individual programs for complete documentation.
36 .PP
37 To get started using
38 .BR mmh ,
39 put the directory
40 .I %bindir%
41 on your
42 .BR $PATH .
43 This is best done in one of the files:
44 .IR \&.profile ,
45 .IR \&.login ,
46 .IR \&.bashrc ,
47 or
48 .I \&.cshrc
49 in your home directory.  (Check the
50 manual entry for the shell you use, in case you don't know how to
51 do this.)  Run the
52 .B mmh
53 command.  If you've never used
54 .B mmh
55 before, it will create the necessary default files and directories after
56 asking you if you wish it to do so.
57 .PP
58 .B inc
59 moves mail from your system maildrop into your
60 .B mmh
61 `+inbox' folder, converting it to the MH format (one file per message). 
62 It prints one line for each message it
63 processes, containing the date, from and subject fields.
64 It leaves the first message it processes as your current message.
65 You'll need to run
66 .B inc
67 each time you wish to incorporate new mail into your
68 .B mmh
69 mail storage.
70 .PP
71 .B scan
72 prints a list of the messages in your current folder.
73 .PP
74 The commands:
75 .BR show ,
76 .BR next ,
77 and
78 .B prev
79 are used to read
80 specific messages from the current folder.
81 .B show
82 displays the
83 current message, or a specific message, which may be specified by its
84 number, which you pass as an argument to
85 .BR show .
86 .B next
87 and
88 .B prev
89 display, respectively, the message numerically after or before
90 the current message.  In all cases, the message displayed becomes the
91 current message.  If there is no current message,
92 .B show
93 may be
94 called with an argument, or
95 .B next
96 may be used to advance to the
97 first message.
98 .PP
99 .B rmm
100 (remove message) deletes the current message.  It may be called
101 with message numbers passed as arguments, to delete specific messages.
102 .PP
103 .B repl
104 is used to respond to the current message (by default).
105 It places you in the editor with a prototype response form.  While you're
106 in the editor, you may peruse the item you're responding to by reading
107 the file
108 .IR @ .
109 After completing your response, type
110 .B l
111 to
112 .B list
113 (review) it, or
114 .B s
115 to
116 .B send
117 it.
118 .PP
119 .B comp
120 allows you to compose a message by putting you in the editor
121 on a prototype message form, and then lets you send it.
122 .PP
123 All the
124 .B mmh
125 commands may be run with the single argument:
126 .BR \-help ,
127 which causes them to print a list of the arguments they may be invoked
128 with and then exit.
129 .PP
130 Commands which take a message number as an argument (
131 .BR scan ,
132 .BR show ,
133 .BR repl ,
134 \&...)  also take one of the words: `first',
135 `prev', `cur', `next', or `last' to indicate
136 (respectively) the first, previous, current, next, or last message in
137 the current folder (assuming they are defined).
138
139 Commands which take a range of message numbers (
140 .BR rmm ,
141 .BR scan ,
142 .BR show ,
143 \&...)  also take any of the abbreviations:
144 .PP
145 .RS 5
146 .IP \fI<num1>\fR\-\fI<num2>\fR 15
147 Indicates all messages in the range <num1> to <num2>, inclusive. The range must be nonempty.
148 .IP \fI<num>\fR:+\fIN\fR 15
149 .IP \fI<num>\fR:\-\fIN\fR 15
150 Up to
151 .I N
152 messages beginning with (or ending with) message
153 .IR num .
154 .I Num
155 may be any of the pre-defined symbols:
156 .IR first ,
157 .IR prev ,
158 .IR cur ,
159 .I next
160 or
161 .IR last .
162 .IP first:\fIN\fR 15
163 .IP prev:\fIN\fR 15
164 .IP next:\fIN\fR 15
165 .IP last:\fIN\fR 15
166 The first, previous, next or last
167 messages, if they exist.
168 .RE
169 .PP
170 There are many other possibilities such as creating multiple folders
171 for different topics, and automatically refiling messages according to
172 subject, source, destination, or content.  These are beyond the scope
173 of this manual entry.
174 .PP
175 Following is a list of all the
176 .B mmh
177 commands:
178 .PP
179 .RS 5
180 .fc ^ ~
181 .nf
182 .ta 1.5i
183 ^ali(1)~^\- list mail aliases
184 ^anno(1)~^\- annotate messages
185 ^burst(1)~^\- explode digests into messages
186 ^comp(1)~^\- compose a message
187 ^dist(1)~^\- redistribute a message to additional addresses
188 ^flist(1)~^\- list folders with messages in given sequence(s)
189 ^flists(1)~^\- list all folders with messages in given sequence(s)
190 ^folder(1)~^\- set/list current folder/message
191 ^folders(1)~^\- list all folders
192 ^forw(1)~^\- forward messages
193 ^inc(1)~^\- incorporate new mail
194 ^mark(1)~^\- mark messages
195 ^mhbuild(1)~^\- translate MIME composition draft
196 ^mhl(1)~^\- produce formatted listings of mmh messages
197 ^mhlist(1)~^\- list information about content of MIME messages
198 ^mhmail(1)~^\- send mail (mailx replacement)
199 ^mhparam(1)~^\- print mmh profile components
200 ^mhpath(1)~^\- print full pathnames of mmh messages and folders
201 ^mhstore(1)~^\- store contents of MIME messages into files
202 ^mmh(1)~^\- initialize the mmh environment
203 ^next(1)~^\- show the next message
204 ^packf(1)~^\- pack a folder into mbox format
205 ^pick(1)~^\- select messages by content
206 ^prev(1)~^\- show the previous message
207 ^prompter(1)~^\- prompting editor front end
208 ^rcvdist(1)~^\- asynchronously redistribute new mail
209 ^rcvpack(1)~^\- asynchronously append a message to an mbox file
210 ^rcvstore(1)~^\- asynchronously incorporate new mail
211 ^refile(1)~^\- file messages in other folders
212 ^repl(1)~^\- reply to a message
213 ^rmf(1)~^\- remove folder
214 ^rmm(1)~^\- remove messages
215 ^scan(1)~^\- produce a one line per message scan listing
216 ^send(1)~^\- send a message
217 ^sendfiles(1)~^\- send multiple files and directories in MIME message
218 ^show(1)~^\- display MIME messages
219 ^slocal(1)~^\- asynchronously filter and deliver new mail
220 ^sortm(1)~^\- sort messages
221 ^whatnow(1)~^\- prompting front\-end for send
222 .sp
223 ^ap(8)~^\- parse addresses 822\-style
224 ^dp(8)~^\- parse dates 822\-style
225 ^fmtdump(8)~^\- decode \fImmh\fP format files
226 ^post(8)~^\- deliver a message
227 .fi
228 .RE
229 .PP
230 Theses are descriptions of files and concepts:
231 .PP
232 .RS 5
233 .fc ^ ~
234 .nf
235 .ta 1.5i
236 ^mh\-alias(5)~^\- alias file for mmh message system
237 ^mh\-format(5)~^\- format file for mmh message system
238 ^mh\-mail(5)~^\- message format for mmh message system
239 ^mh\-profile(5)~^\- user customization for mmh message system
240 ^mh\-tailor(5)~^\- mail transport customization for mmh message system
241 .sp
242 ^mmh(7)~^\- introduction to the mmh message system
243 ^mh\-draft(7)~^\- draft folder facility
244 ^mh\-sequence(7)~^\- sequence specification for mmh message system
245 .RE
246
247 .SH FILES
248 .fc ^ ~
249 .nf
250 .ta \w'%etcdir%/ExtraBigFileName  'u
251 ^%bindir%~^contains \fImmh\fR commands
252 ^%etcdir%~^contains \fImmh\fR format files
253 ^%libdir%~^contains \fImmh\fR library commands
254 ^$HOME/.mmh~^The user's mmh directory
255 ^$HOME/.mmh/profile~^The user's profile
256 ^$HOME/.mmh/context~^The user's context
257 ^$HOME/Mail~^The user's mail storage
258 .fi
259
260 .SH "PROFILE COMPONENTS"
261 .fc ^ ~
262 .nf
263 .ta 2.4i
264 .ta \w'LongName  'u
265 ^Path:~^To determine the user's mail storage
266 .fi
267
268 .SH HISTORY
269 .B mmh
270 is an experimental version of
271 .BR nmh ,
272 the New Mail Handler.
273 Its name ``mmh'' stands primarily for ``meillo's MH'',
274 but also for modern, minimalistic, and non-compatible Mail Handler.
275
276 .SH BUGS
277 If you encounter problems with an
278 .B mmh
279 program, please report them.
280 When doing this, include the version information, which you can obtain
281 by invoking the program with the
282 .B \-Version
283 switch.
284 .PP
285 Send bug reports and suggestions to
286 .IR "markus schnalke <meillo@marmaro.de>" ,
287 or (as a fall-back) to
288 .IR nmh-workers@nongnu.org .
289 .SH "SEE ALSO"
290 mh-chart(1)