.\" .\" %nmhwarning% .\" .TH NMH %manext7% "%nmhdate%" MH.6.8 [%nmhversion%] .SH NAME mmh \- Introduction to the Modern MH message system .SH DESCRIPTION .B mmh is a powerful message handling system, based on .BR nmh , which in turn bases on MH, the Rand Corporation's Message Handler. .PP Rather than being a single comprehensive program, .B mmh consists of a collection of fairly simple single-purpose programs to send, retrieve, organize, and manipulate messages. .PP Unlike most other mail clients, .B mmh is not a closed system which must be explicitly run, then exited when you wish to return to the shell. Instead, you may freely intersperse .B mmh commands with other shell commands, allowing you to read and answer your mail while you search for a file or run programs as needed to find the answer to someone's question before answering their mail. .PP The rest of this manual entry is a quick tutorial which will teach you the basics of .BR mmh . You should read the manual entries for the individual programs for complete documentation. .PP To get started using .BR mmh , put the directory .I %bindir% on your .BR $PATH . This is best done in one of the files: .IR \&.profile , .IR \&.login , .IR \&.bashrc , or .I \&.cshrc in your home directory. (Check the manual entry for the shell you use, in case you don't know how to do this.) Then run the .B mmh command. If you've never used .B mmh before, it will create the necessary default files and directories after asking you if you wish it to do so. .PP .B inc moves mail from your system maildrop into your .B mmh `+inbox' folder, converting it to the MH format (one file per message). It prints one line for each message it processes, containing the date, from and subject fields. It leaves the first message it processes as your current message. You'll need to run .B inc each time you wish to incorporate new mail into your .B mmh mail storage. .PP .B scan prints a list of the messages in your current folder. .PP The commands: .BR show , .BR next , and .B prev are used to read specific messages from the current folder. .B show displays the current message, or a specific message, which may be specified by its number, which you pass as an argument to .BR show . .B next and .B prev display, respectively, the message numerically after or before the current message. In all cases, the message displayed becomes the current message. If there is no current message, .B show may be called with an argument, or .B next may be used to advance to the first message. .PP .B rmm (remove message) deletes the current message. It may be called with message numbers passed as arguments, to delete specific messages. .PP .B repl is used to respond to the current message (by default). It places you in the editor with a prototype response form. After completing your response, type .B li to .B list (review) it, or .B s to .B send it. .PP .B comp allows you to compose a fresh message by putting you in the editor on a prototype message form, and then lets you send it. .PP All the .B mmh commands may be run with the single argument: .BR \-help , which causes them to print a list of the arguments they may be invoked with and then exit. .PP Commands which take a message number as an argument .RB ( scan , .BR show , .BR repl , \&...) also take one of the letters: `f', `p', `c', `n', or `l' to indicate (respectively) the first, previous, current, next, or last message in the current folder (assuming they are defined). Commands which take a range of message numbers .RB ( rmm , .BR scan , .BR show , \&...) also take any of the abbreviations: .PP .RS 5 .IP \fI\fR\-\fI\fR 15 Indicates all messages in the range to , inclusive. The range must be nonempty. .IP \fI\fR:+\fIN\fR 15 .IP \fI\fR:\-\fIN\fR 15 Up to .I N messages beginning with (or ending with) message .IR num . .I Num may be any of the pre-defined symbols: .IR f , .IR p , .IR c , .I n or .IR l . .IP f:\fIN\fR 15 .IP p:\fIN\fR 15 .IP n:\fIN\fR 15 .IP l:\fIN\fR 15 The first, previous, next or last messages, if they exist. .RE .PP There are many other possibilities such as creating multiple folders for different topics, and automatically refiling messages according to subject, source, destination, or content. These are beyond the scope of this manual entry. .PP Following is a list of all the .B mmh commands: .PP .RS 5 .fc ^ ~ .nf .ta 1.7i %titles1% .sp %titles8% .fi .RE .PP The following man pages describe file formats and concepts: .PP .RS 5 .fc ^ ~ .nf .ta 1.7i %titles5% .sp %titles7% .RE .SH FILES .fc ^ ~ .nf .ta \w'%etcdir%/FileName 'u ^%bindir%~^contains \fImmh\fR commands ^%etcdir%~^contains \fImmh\fR format files ^%libdir%~^contains \fImmh\fR library commands ^$HOME/.mmh~^The user's mmh directory ^$HOME/.mmh/profile~^The user's profile ^$HOME/.mmh/context~^The user's context ^$HOME/Mail~^Default location of the user's mail storage .fi .SH "PROFILE COMPONENTS" .fc ^ ~ .nf .ta 2.4i .ta \w'LongName 'u ^Path:~^Location of the user's mail storage .fi .SH HISTORY .B mmh is an experimental version of .BR nmh , the New Mail Handler. Its name ``mmh'' stands for ``meillo's mail handler''. .SH BUGS If you encounter problems with an .B mmh program, please report them. When doing this, include the version information, which you can obtain by invoking the program with the .B \-Version switch. .PP Send bug reports, comments, and suggestions to .I or to .IR "markus schnalke " . .SH "SEE ALSO" mmh(1) mh-chart(1)