Added wrapper mmhwrap for parallel installations with nmh or a small $PATH.
[mmh] / man / mmhwrap.man1
diff --git a/man/mmhwrap.man1 b/man/mmhwrap.man1
new file mode 100644 (file)
index 0000000..488d2dc
--- /dev/null
@@ -0,0 +1,79 @@
+.\"
+.\" %nmhwarning%
+.\"
+.TH MMHWRAP %manext1% "%nmhdate%" MH.6.8 [%nmhversion%]
+.SH NAME
+mmhwrap \- invoke mmh commands if they are not in $PATH
+.SH SYNOPSIS
+.HP 5
+.na
+.B mmhwrap
+.B command
+.RB [ options ...]
+.ad
+.SH DESCRIPTION
+.PP
+Use
+.B mmhwrap
+if you want to invoke mmh programs without adding the mmh bindir
+into $PATH, or if you want to install
+.B nmh
+and
+.B mmh
+both.
+As their tools are equally named (but incompatibe) you can only
+have one of both tool chests accessible through $PATH.
+Use the wrapper to access
+.B mmh
+tools, if you have the
+.B nmh
+tools in your $PATH (first).
+.PP
+Copy
+.B mmhwrap
+into a directory that's part of $PATH, likely $HOME/bin or /usr/local/bin.
+You likely want to rename
+.B mmhwrap
+to something shorter, like `m' for instance:
+.PP
+.RS 5
+.nf
+cp %libdir%/mmhwrap $HOME/bin/m
+chmod +x $HOME/bin/m
+.fi
+.RE
+.PP
+Then use it this way:
+.PP
+.RS 5
+.nf
+% m folder
+inbox+ has 162 messages  (1\-177); cur=131; (others).
+
+% m scan \-help
+Usage: scan [+folder] [msgs] [switches]
+  switches are:
+  \-form formatfile
+  \-width columns
+  \-(file) file
+  \-version
+  \-help
+
+% m scan f
+   1  2012\-02\-13  To: meillo         laber blubb
+
+% m refile l +foo
+.fi
+.RE
+
+.SH FILES
+None
+
+.SH "PROFILE COMPONENTS"
+None
+
+.SH CONTEXT
+None
+
+.SH "SEE ALSO"
+mmh\-intro(7)