A Simple Setup

For a plain 24×80 ASCII character terminal, or a plain shell window with no special X Window System display configuration, here are some reasonable mhn-related lines to place in your ˜/.mh_profile file:

Comment-100: ==================================================
             Global mhn-related parameters:
             ==================================================
lproc:                            show
mhnproc:                          mhn
mhn:                              -list -nomoreproc
mhn-storage:                      /usr/tmp
Comment-200: ==================================================
             File name templates for storing certain types of
             message parts:
             ==================================================
mhn-store-text:                   %m%P.txt
mhn-store-application/PostScript: %m%P.ps
Comment-300: ==================================================
             Shell commands for mhn to invoke when mhn
             encounters certain types of message parts:
             ==================================================
mhn-show-text/plain:              more '%F'
mhn-show-message/rfc822:          show -file '%F'
mhn-show-text/richtext:           richtext -p '%F'

Another profile item that you may find useful is this:

Comment-400: ==================================================
             Instructions to whatnow(1):
             ==================================================
automhnproc:                      mhn

Each line beginning with mhn- has meaning for a different mhn function:
\begin{brieflist}
\item {\tt mhn-compose-} is the prefix for operations to apply...
...e-} is the prefix for operations to apply when storing messages.
\end{brieflist}

What follows any of these mhn function prefixes is a type. When mhn finds a message part of a particular type, mhn looks for profile entries relevant to that type. For example, to display something of type text/richtext, mhn looks for the profile entry mhn-show-text/richtext.

The list of pre-defined types can be found in appendix [*].

Here is an explanation of each line of the profile:


\begin{comdesc}
% latex2html id marker 246\item[lproc:\ show] ---specifies tha...
...he user to type {\tt edit mhn} at the \lq\lq {\tt What Now?}''
prompt.
\end{comdesc}