BSD 4_4_Lite1 development
authorCSRG <csrg@ucbvax.Berkeley.EDU>
Fri, 15 Apr 1994 10:39:33 +0000 (02:39 -0800)
committerCSRG <csrg@ucbvax.Berkeley.EDU>
Fri, 15 Apr 1994 10:39:33 +0000 (02:39 -0800)
Work on file usr/src/contrib/mh-6.8.3a/doc/anno.man
Work on file usr/src/contrib/mh-6.8.3a/doc/burst.man
Work on file usr/src/contrib/mh-6.8.3a/doc/comp.man
Work on file usr/src/contrib/mh-6.8.3a/doc/dist.man
Work on file usr/src/contrib/mh-6.8.3a/doc/folder.man
Work on file usr/src/contrib/mh-6.8.3a/doc/forw.man
Work on file usr/src/contrib/mh-6.8.3a/doc/inc.man
Work on file usr/src/contrib/mh-6.8.3a/doc/mark.man
Work on file usr/src/contrib/mh-6.8.3a/doc/mh-chart.man
Work on file usr/src/contrib/mh-6.8.3a/doc/mh.man
Work on file usr/src/contrib/mh-6.8.3a/doc/mhl.man
Work on file usr/src/contrib/mh-6.8.3a/doc/mhook.man
Work on file usr/src/contrib/mh-6.8.3a/doc/mhmail.man
Work on file usr/src/contrib/mh-6.8.3a/doc/mhn.man
Work on file usr/src/contrib/mh-6.8.3a/doc/mhparam.man
Work on file usr/src/contrib/mh-6.8.3a/doc/mhpath.man
Work on file usr/src/contrib/mh-6.8.3a/doc/msgchk.man
Work on file usr/src/contrib/mh-6.8.3a/doc/msh.man
Work on file usr/src/contrib/mh-6.8.3a/doc/next.man
Work on file usr/src/contrib/mh-6.8.3a/doc/packf.man
Work on file usr/src/contrib/mh-6.8.3a/doc/pick.man
Work on file usr/src/contrib/mh-6.8.3a/doc/prev.man
Work on file usr/src/contrib/mh-6.8.3a/doc/prompter.man
Work on file usr/src/contrib/mh-6.8.3a/doc/rcvstore.man
Work on file usr/src/contrib/mh-6.8.3a/doc/refile.man
Work on file usr/src/contrib/mh-6.8.3a/doc/repl.man
Work on file usr/src/contrib/mh-6.8.3a/doc/rmf.man
Work on file usr/src/contrib/mh-6.8.3a/doc/rmm.man
Work on file usr/src/contrib/mh-6.8.3a/doc/scan.man
Work on file usr/src/contrib/mh-6.8.3a/doc/send.man
Work on file usr/src/contrib/mh-6.8.3a/doc/show.man
Work on file usr/src/contrib/mh-6.8.3a/doc/slocal.man
Work on file usr/src/contrib/mh-6.8.3a/doc/sortm.man
Work on file usr/src/contrib/mh-6.8.3a/doc/vmh.man
Work on file usr/src/contrib/mh-6.8.3a/doc/whatnow.man
Work on file usr/src/contrib/mh-6.8.3a/doc/whom.man
Work on file usr/src/contrib/mh-6.8.3a/doc/bbc.man
Work on file usr/src/contrib/mh-6.8.3a/doc/bbl.man
Work on file usr/src/contrib/mh-6.8.3a/doc/bbleader.man
Work on file usr/src/contrib/mh-6.8.3a/doc/bboards.man
Work on file usr/src/contrib/mh-6.8.3a/doc/mh-alias.man
Work on file usr/src/contrib/mh-6.8.3a/doc/mh-format.man
Work on file usr/src/contrib/mh-6.8.3a/doc/mh-mail.man
Work on file usr/src/contrib/mh-6.8.3a/doc/mh-profile.man
Work on file usr/src/contrib/mh-6.8.3a/doc/mh-sequence.man
Work on file usr/src/contrib/mh-6.8.3a/doc/mh-tailor.man
Work on file usr/src/contrib/mh-6.8.3a/doc/ap.man
Work on file usr/src/contrib/mh-6.8.3a/doc/conflict.man
Work on file usr/src/contrib/mh-6.8.3a/doc/dp.man
Work on file usr/src/contrib/mh-6.8.3a/doc/install-mh.man
Work on file usr/src/contrib/mh-6.8.3a/doc/post.man
Work on file usr/src/contrib/mh-6.8.3a/doc/fmtdump.man

Synthesized-from: CSRG/cd2/4.4BSD-Lite1

52 files changed:
usr/src/contrib/mh-6.8.3a/doc/anno.man [new file with mode: 0644]
usr/src/contrib/mh-6.8.3a/doc/ap.man [new file with mode: 0644]
usr/src/contrib/mh-6.8.3a/doc/bbc.man [new file with mode: 0644]
usr/src/contrib/mh-6.8.3a/doc/bbl.man [new file with mode: 0644]
usr/src/contrib/mh-6.8.3a/doc/bbleader.man [new file with mode: 0644]
usr/src/contrib/mh-6.8.3a/doc/bboards.man [new file with mode: 0644]
usr/src/contrib/mh-6.8.3a/doc/burst.man [new file with mode: 0644]
usr/src/contrib/mh-6.8.3a/doc/comp.man [new file with mode: 0644]
usr/src/contrib/mh-6.8.3a/doc/conflict.man [new file with mode: 0644]
usr/src/contrib/mh-6.8.3a/doc/dist.man [new file with mode: 0644]
usr/src/contrib/mh-6.8.3a/doc/dp.man [new file with mode: 0644]
usr/src/contrib/mh-6.8.3a/doc/fmtdump.man [new file with mode: 0644]
usr/src/contrib/mh-6.8.3a/doc/folder.man [new file with mode: 0644]
usr/src/contrib/mh-6.8.3a/doc/forw.man [new file with mode: 0644]
usr/src/contrib/mh-6.8.3a/doc/inc.man [new file with mode: 0644]
usr/src/contrib/mh-6.8.3a/doc/install-mh.man [new file with mode: 0644]
usr/src/contrib/mh-6.8.3a/doc/mark.man [new file with mode: 0644]
usr/src/contrib/mh-6.8.3a/doc/mh-alias.man [new file with mode: 0644]
usr/src/contrib/mh-6.8.3a/doc/mh-chart.man [new file with mode: 0644]
usr/src/contrib/mh-6.8.3a/doc/mh-format.man [new file with mode: 0644]
usr/src/contrib/mh-6.8.3a/doc/mh-mail.man [new file with mode: 0644]
usr/src/contrib/mh-6.8.3a/doc/mh-profile.man [new file with mode: 0644]
usr/src/contrib/mh-6.8.3a/doc/mh-sequence.man [new file with mode: 0644]
usr/src/contrib/mh-6.8.3a/doc/mh-tailor.man [new file with mode: 0644]
usr/src/contrib/mh-6.8.3a/doc/mh.man [new file with mode: 0644]
usr/src/contrib/mh-6.8.3a/doc/mhl.man [new file with mode: 0644]
usr/src/contrib/mh-6.8.3a/doc/mhmail.man [new file with mode: 0644]
usr/src/contrib/mh-6.8.3a/doc/mhn.man [new file with mode: 0644]
usr/src/contrib/mh-6.8.3a/doc/mhook.man [new file with mode: 0644]
usr/src/contrib/mh-6.8.3a/doc/mhparam.man [new file with mode: 0644]
usr/src/contrib/mh-6.8.3a/doc/mhpath.man [new file with mode: 0644]
usr/src/contrib/mh-6.8.3a/doc/msgchk.man [new file with mode: 0644]
usr/src/contrib/mh-6.8.3a/doc/msh.man [new file with mode: 0644]
usr/src/contrib/mh-6.8.3a/doc/next.man [new file with mode: 0644]
usr/src/contrib/mh-6.8.3a/doc/packf.man [new file with mode: 0644]
usr/src/contrib/mh-6.8.3a/doc/pick.man [new file with mode: 0644]
usr/src/contrib/mh-6.8.3a/doc/post.man [new file with mode: 0644]
usr/src/contrib/mh-6.8.3a/doc/prev.man [new file with mode: 0644]
usr/src/contrib/mh-6.8.3a/doc/prompter.man [new file with mode: 0644]
usr/src/contrib/mh-6.8.3a/doc/rcvstore.man [new file with mode: 0644]
usr/src/contrib/mh-6.8.3a/doc/refile.man [new file with mode: 0644]
usr/src/contrib/mh-6.8.3a/doc/repl.man [new file with mode: 0644]
usr/src/contrib/mh-6.8.3a/doc/rmf.man [new file with mode: 0644]
usr/src/contrib/mh-6.8.3a/doc/rmm.man [new file with mode: 0644]
usr/src/contrib/mh-6.8.3a/doc/scan.man [new file with mode: 0644]
usr/src/contrib/mh-6.8.3a/doc/send.man [new file with mode: 0644]
usr/src/contrib/mh-6.8.3a/doc/show.man [new file with mode: 0644]
usr/src/contrib/mh-6.8.3a/doc/slocal.man [new file with mode: 0644]
usr/src/contrib/mh-6.8.3a/doc/sortm.man [new file with mode: 0644]
usr/src/contrib/mh-6.8.3a/doc/vmh.man [new file with mode: 0644]
usr/src/contrib/mh-6.8.3a/doc/whatnow.man [new file with mode: 0644]
usr/src/contrib/mh-6.8.3a/doc/whom.man [new file with mode: 0644]

diff --git a/usr/src/contrib/mh-6.8.3a/doc/anno.man b/usr/src/contrib/mh-6.8.3a/doc/anno.man
new file mode 100644 (file)
index 0000000..8fd0aa1
--- /dev/null
@@ -0,0 +1,132 @@
+
+
+
+ANNO(1)                BSD Reference Manual               ANNO(1)
+
+
+N\bNA\bAM\bME\bE
+       anno - annotate messages
+
+S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
+       anno   [+folder]   [msgs]   [-component field]  [-inplace]
+            [-noinplace] [-date] [-nodate] [-text body] [-help]
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+       _\bA_\bn_\bn_\bo annotates the specified messages in the named  folder
+       using  the  field and body.  Annotation is optionally per-
+       formed by _\bd_\bi_\bs_\bt, _\bf_\bo_\br_\bw, and _\br_\be_\bp_\bl, to keep track of your dis-
+       tribution of, forwarding of, and replies to a message.  By
+       using _\ba_\bn_\bn_\bo, you can perform arbitrary annotations of  your
+       own.   Each  message  selected  will be annotated with the
+       lines
+
+           field: date
+           field: body
+
+       The `-nodate' switch inhibits the date annotation, leaving
+       only  the  body  annotation.  The `-inplace' switch causes
+       annotation to be done in place in order to preserve  links
+       to the annotated message.
+
+       The  field  specified  should be a valid 822-style message
+       field name, which means that it should consist of alphanu-
+       merics  (or dashes) only.  The body specified is arbitrary
+       text.
+
+       If a `-component field' is  not  specified  when  _\ba_\bn_\bn_\bo  is
+       invoked,  _\ba_\bn_\bn_\bo  will prompt the user for the name of field
+       for the annotation.
+
+F\bFI\bIL\bLE\bES\bS
+       $HOME/.mh_profile                         The user profile
+
+P\bPR\bRO\bOF\bFI\bIL\bLE\bE C\bCO\bOM\bMP\bPO\bON\bNE\bEN\bNT\bTS\bS
+       Path:                To determine the user's MH directory
+       Current-Folder:      To find the default current folder
+
+S\bSE\bEE\bE A\bAL\bLS\bSO\bO
+       dist (1), forw (1), repl (1)
+
+D\bDE\bEF\bFA\bAU\bUL\bLT\bTS\bS
+       `+folder' defaults to the current folder
+       `msgs' defaults to cur
+       `-noinplace'
+       `-date'
+
+C\bCO\bON\bNT\bTE\bEX\bXT\bT
+       If a folder is given, it will become the  current  folder.
+
+
+
+[mh.6]                        MH.6.8                            1
+
+
+
+
+
+
+
+
+ANNO(1)                BSD Reference Manual               ANNO(1)
+
+
+       The  first  message annotated will become the current mes-
+       sage.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[mh.6]                        MH.6.8                            2
+
+
+
+
+
diff --git a/usr/src/contrib/mh-6.8.3a/doc/ap.man b/usr/src/contrib/mh-6.8.3a/doc/ap.man
new file mode 100644 (file)
index 0000000..f5bc619
--- /dev/null
@@ -0,0 +1,132 @@
+
+
+
+AP(8)              BSD System Manager's Manual              AP(8)
+
+
+N\bNA\bAM\bME\bE
+       ap - parse addresses 822-style
+
+S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
+       /usr/contrib/mh-6.8/lib/ap              [-form formatfile]
+            [-format string]     [-normalize]      [-nonormalize]
+            [-width columns] addrs ...  [-help]
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+       _\bA_\bp  is  a  program  that parses addresses according to the
+       ARPA  Internet  standard.   It   also   understands   many
+       non-standard formats.  It is useful for seeing how _\bM_\bH will
+       interpret an address.
+
+       The _\ba_\bp  program  treats  each  argument  as  one  or  more
+       addresses,  and prints those addresses out in the official
+       822-format.  Hence, it is usually  best  to  enclose  each
+       argument in double-quotes for the shell.
+
+       To   override   the   output   format   used  by  _\ba_\bp,  the
+       `-format string'  or  `-format file'  switches  are  used.
+       This  permits  individual  fields  of  the  address  to be
+       extracted with  ease.   The  string  is  simply  a  format
+       stringand   thefile   is   simply   a  format  file.   See
+       _\bm_\bh_\b-_\bf_\bo_\br_\bm_\ba_\bt (5) for the details.
+
+       In addition to the standard escapes,  _\ba_\bp  also  recognizes
+       the following additional escape:
+
+       _\bE_\bs_\bc_\ba_\bp_\be  _\bR_\be_\bt_\bu_\br_\bn_\bs  _\bD_\be_\bs_\bc_\br_\bi_\bp_\bt_\bi_\bo_\bn
+       error   string   A diagnostic if the parse failed
+
+       If  the `-normalize' switch is given, _\ba_\bp will try to track
+       down the official hostname of the address.
+
+       Here is the default format string used by _\ba_\bp:
+
+            %<{error}%{error}: %{text}%|%(putstr(proper{text}))%>
+
+       which says that if an error was detected, print the error,
+       a `:', and the address in error.   Otherwise,  output  the
+       822-proper format of the address.
+
+F\bFI\bIL\bLE\bES\bS
+       $HOME/.mh_profile                         The user profile
+       /usr/contrib/mh-6.8/lib/mtstailor         tailor file
+
+P\bPR\bRO\bOF\bFI\bIL\bLE\bE C\bCO\bOM\bMP\bPO\bON\bNE\bEN\bNT\bTS\bS
+       None
+
+
+
+
+
+[mh.6]                        MH.6.8                            1
+
+
+
+
+
+
+
+
+AP(8)              BSD System Manager's Manual              AP(8)
+
+
+S\bSE\bEE\bE A\bAL\bLS\bSO\bO
+       dp(8),
+       _\bS_\bt_\ba_\bn_\bd_\ba_\br_\bd  _\bf_\bo_\br  _\bt_\bh_\be  _\bF_\bo_\br_\bm_\ba_\bt  _\bo_\bf _\bA_\bR_\bP_\bA _\bI_\bn_\bt_\be_\br_\bn_\be_\bt _\bT_\be_\bx_\bt _\bM_\be_\bs_\bs_\ba_\bg_\be_\bs
+       (aka RFC-822)
+
+D\bDE\bEF\bFA\bAU\bUL\bLT\bTS\bS
+       `-format' defaults as described above
+       `-normalize'
+       `-width' defaults to the width of the terminal
+
+C\bCO\bON\bNT\bTE\bEX\bXT\bT
+       None
+
+B\bBU\bUG\bGS\bS
+       The argument to the `-format' switch must  be  interpreted
+       as  a  single  token by the shell that invokes _\ba_\bp.  There-
+       fore, one must usually place the argument to  this  switch
+       inside double-quotes.
+
+       On  hosts  where  _\bM_\bH  was configured with the BERK option,
+       address parsing is not enabled.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[mh.6]                        MH.6.8                            2
+
+
+
+
+
diff --git a/usr/src/contrib/mh-6.8.3a/doc/bbc.man b/usr/src/contrib/mh-6.8.3a/doc/bbc.man
new file mode 100644 (file)
index 0000000..f82567f
--- /dev/null
@@ -0,0 +1,198 @@
+
+
+
+BBC(1)                 BSD Reference Manual                BBC(1)
+
+
+N\bNA\bAM\bME\bE
+       bbc - check on BBoards
+
+S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
+       bbc  [bboards ...]   [-topics]  [-check]  [-read] [-quiet]
+            [-verbose]   [-archive]   [-noarchive]    [-protocol]
+            [-noprotocol]  [-mshproc program]  [switches for _\bm_\bs_\bh_\b-
+            _\bp_\br_\bo_\bc] [-rcfile  rcfile]  [-norcfile]  [-file BBoards-
+            file] [-user BBoardsuser] [-host host] [-help]
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+       _\bb_\bb_\bc  is  a BBoard reading/checking program that interfaces
+       to the BBoard channel.
+
+       The _\bb_\bb_\bc program has three action switches which direct its
+       operation:
+
+       The  `-read'  switch  invokes the _\bm_\bs_\bh program on the named
+       _\bB_\bB_\bo_\ba_\br_\bd_\bs.  If you also specify the `-archive' switch,  then
+       _\bb_\bb_\bc  will  invoke  the  _\bm_\bs_\bh program on the archives of the
+       named _\bB_\bB_\bo_\ba_\br_\bd_\bs.  If no _\bB_\bB_\bo_\ba_\br_\bd_\bs are  given  on  the  command
+       line, and you specified `-archive', _\bb_\bb_\bc will not read your
+       `bboards' profile entry, but will read the archives of the
+       "system" _\bB_\bB_\bo_\ba_\br_\bd instead.
+
+       The  `-check'  switch types out status information for the
+       named _\bB_\bB_\bo_\ba_\br_\bd_\bs.  _\bb_\bb_\bc can  print  one  of  several  messages
+       depending  on the status of both the BBoard and the user's
+       reading habits.  As with each of these messages, the  num-
+       ber  given  is  the item number of the last item placed in
+       the BBoard.  This number (which is marked in the  messages
+       as  the  "BBoard-Id") is ever increasing.  Hence, when _\bb_\bb_\bc
+       says "n items", it really means that the highest BBoard-Id
+       is  "n".   There  may, or may not actually be "n" items in
+       the BBoard.  Some common messages are:
+
+            B\bBB\bBo\boa\bar\brd\bd -\b--\b- n\bn i\bit\bte\bem\bms\bs u\bun\bns\bse\bee\ben\bn
+                 This message tells how many items the  user  has
+                 not  yet  seen.   When invoked with the `-quiet'
+                 switch, this is the only informative  line  that
+                 _\bb_\bb_\bc will possibly print out.
+
+            B\bBB\bBo\boa\bar\brd\bd -\b--\b- e\bem\bmp\bpt\bty\by
+                 The BBoard is empty.
+
+            B\bBB\bBo\boa\bar\brd\bd -\b--\b- n\bn i\bit\bte\bem\bms\bs (\b(n\bno\bon\bne\be s\bse\bee\ben\bn)\b)
+                 The  BBoard has items in it, but the user hasn't
+                 seen any.
+
+            B\bBB\bBo\boa\bar\brd\bd -\b--\b- n\bn i\bit\bte\bem\bms\bs (\b(a\bal\bll\bl s\bse\bee\ben\bn)\b)
+                 The BBoard is non-empty, and the user  has  seen
+
+
+
+[mh.6]                        MH.6.8                            1
+
+
+
+
+
+
+
+
+BBC(1)                 BSD Reference Manual                BBC(1)
+
+
+                 everything in it.
+
+            B\bBB\bBo\boa\bar\brd\bd -\b--\b- n\bn i\bit\bte\bem\bms\bs s\bse\bee\ben\bn o\bou\but\bt o\bof\bf m\bm
+                 The  BBoard  has at most m-n items that the user
+                 has not seen.
+
+       The `-topics' switch directs  _\bb_\bb_\bc  to  print  three  items
+       about the named _\bB_\bB_\bo_\ba_\br_\bd_\bs: it's official name, the number of
+       items present, and the date and time of the  last  update.
+       If  no _\bB_\bB_\bo_\ba_\br_\bd_\bs are named, then all BBoards are listed.  If
+       the `-verbose' switch is given, more information  is  out-
+       put.
+
+       The `-quiet' switch specifies that _\bb_\bb_\bc should be silent if
+       no _\bB_\bB_\bo_\ba_\br_\bd_\bs are found with new information.  The `-verbose'
+       switch  specifies that _\bb_\bb_\bc is to consider you to be inter-
+       ested in _\bB_\bB_\bo_\ba_\br_\bd_\bs that you've already seen everything in.
+
+       To override the default _\bm_\bs_\bh_\bp_\br_\bo_\bc and the profile entry, use
+       the  `-mshproc program'  switch.  Any arguments not under-
+       stood by _\bb_\bb_\bc are passed to this program.  The  `-protocol'
+       switch tells _\bb_\bb_\bc that your _\bm_\bs_\bh_\bp_\br_\bo_\bc knows about the special
+       _\bb_\bb_\bc protocol for reporting back information.  _\bm_\bs_\bh (1), the
+       default _\bm_\bs_\bh_\bp_\br_\bo_\bc, knows all about this.
+
+       The   `-file BBoardsfile'   switch  tells  _\bb_\bb_\bc  to  use  a
+       non-standard _\bB_\bB_\bo_\ba_\br_\bd_\bs file  when  performing  its  calcula-
+       tions.   Similarly,  the  `-user BBoardsuser' switch tells
+       _\bb_\bb_\bc  to  use  a  non-standard  username.   Both  of  these
+       switches  are  useful  for  debugging a new _\bB_\bB_\bo_\ba_\br_\bd_\bs or _\bP_\bO_\bP
+       file.
+
+       If the local host is configured as an NNTP BBoards client,
+       or  if  the  `-host host'  switch  is given, then _\bb_\bb_\bc will
+       query the NNTP service  host  as  to  the  status  of  the
+       BBoards.   For  NNTP BBoards clients, the `-user user' and
+       the `-rpop' switches are ignored.
+
+       The _\b._\bb_\bb_\br_\bc file in the user's $\b$H\bHO\bOM\bME\bE directory  is  used  to
+       keep   track   of  what  messages  have  been  read.   The
+       `-rcfile rcfile' switch overrides the  use  of  _\b._\bb_\bb_\br_\bc  for
+       this  purpose.   If  the  value given to the switch is not
+       absolute, (i.e., does not begin with a  /\b/ ),  it  will  be
+       presumed  to start from the current working directory.  If
+       this switch is not given (or  the  `-norcfile'  switch  is
+       given), then _\bb_\bb_\bc consults the envariable $\b$M\bMH\bHB\bBB\bBR\bRC\bC, and hon-
+       ors it similarly.
+
+F\bFI\bIL\bLE\bES\bS
+       $HOME/.mh_profile                         The user profile
+       $HOME/.bbrc                               BBoard "current" message information
+
+
+
+[mh.6]                        MH.6.8                            2
+
+
+
+
+
+
+
+
+BBC(1)                 BSD Reference Manual                BBC(1)
+
+
+P\bPR\bRO\bOF\bFI\bIL\bLE\bE C\bCO\bOM\bMP\bPO\bON\bNE\bEN\bNT\bTS\bS
+       Path:                To determine the user's MH directory
+       bboards:             To specify interesting BBoards
+       mshproc:             Program to read a given BBoard
+
+S\bSE\bEE\bE A\bAL\bLS\bSO\bO
+       bbl(1), bboards(1), msh(1)
+
+D\bDE\bEF\bFA\bAU\bUL\bLT\bTS\bS
+       `-read'
+       `-noarchive'
+       `-protocol'
+       `bboards' defaults to "system"
+       `-file /usr/spool/bboards/BBoards'
+       `-user bboards'
+
+C\bCO\bON\bNT\bTE\bEX\bXT\bT
+       None
+
+B\bBU\bUG\bGS\bS
+       The `-user' switch takes effect only if  followed  by  the
+       `-file' switch.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[mh.6]                        MH.6.8                            3
+
+
+
+
+
diff --git a/usr/src/contrib/mh-6.8.3a/doc/bbl.man b/usr/src/contrib/mh-6.8.3a/doc/bbl.man
new file mode 100644 (file)
index 0000000..03d44b0
--- /dev/null
@@ -0,0 +1,264 @@
+
+
+
+BBL(1)                 BSD Reference Manual                BBL(1)
+
+
+N\bNA\bAM\bME\bE
+       bbl - manage a BBoard
+
+S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
+       bbl  [+folder]  [-shell program]  [-verbose]  [-noverbose]
+            bboard [-help]
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+       _\bb_\bb_\bl allows a _\bB_\bB_\bl_\be_\ba_\bd_\be_\br to manage a BBoard.  The process  is
+       relatively  simple:  a _\bB_\bB_\bl_\be_\ba_\bd_\be_\br invokes the _\bb_\bb_\bl program to
+       set-up an environment in which the messages  contained  in
+       the  BBoard may be accessed as if they were messages in an
+       _\bM_\bH folder.
+
+       To do this, _\bb_\bb_\bl, _\bi_\bn_\bc_\bs the _\bB_\bB_\bo_\ba_\br_\bd to the folder "+bbl", and
+       _\bi_\bn_\bc_\bs the archives for the _\bB_\bB_\bo_\ba_\br_\bd to the folder "+bbl/arc".
+       The _\bB_\bB_\bl_\be_\ba_\bd_\be_\br then gets a new shell in  which  _\bM_\bH  commands
+       (among  others)  may  be  executed.   When the _\bB_\bB_\bl_\be_\ba_\bd_\be_\br is
+       done, CTRL-D is typed, which terminates  the  shell.   _\bb_\bb_\bl
+       then  asks  the  _\bB_\bB_\bl_\be_\ba_\bd_\be_\br  as  to how the BBoard should be
+       reconstructed.   Usually,  this  results  in  zeroing  the
+       existing  _\bB_\bB_\bo_\ba_\br_\bd file, and  _\bp_\ba_\bc_\bking the "+bbl" folder into
+       the _\bB_\bB_\bo_\ba_\br_\bd  file.   Similar  actions  are  taken  for  the
+       archive.
+
+       The `-shell' switch specifies what process that _\bb_\bb_\bl should
+       invoke as your command interpreter.  This need  not  be  a
+       rooted  filename.   If  this  switch is not specified, _\bb_\bb_\bl
+       looks at the envariable  $\b$S\bSH\bHE\bEL\bLL\bL  for  a  value.   If  this
+       envariable is not set, then _\bb_\bb_\bl uses your login shell.
+
+       The  `-verbose'  switch directs _\bb_\bb_\bl to type the shell com-
+       mands that it executes to get the job done (e.g., _\bc_\bh_\bm_\bo_\bd s,
+       _\bi_\bn_\bc s, etc.)
+
+       As  _\bb_\bb_\bl  processing is most likely not intuitively obvious
+       to most prospective BBoard-leaders, a short diatribe is in
+       order.  As pointed out in _\bB_\bB_\bl_\be_\ba_\bd_\be_\br(1), a BBoard-leader (of
+       the fictitious BBoard "hacks") has three  primary  mainte-
+       nance functions:
+
+       R\bRe\bea\bad\bd t\bth\bhe\be B\bBB\bBo\boa\bar\brd\bd
+            You don't need _\bb_\bb_\bl to do this, use _\bb_\bb_\bc instead.
+
+       R\bRe\bem\bmo\bov\bve\be i\bin\bna\bap\bpp\bpr\bro\bop\bpr\bri\bia\bat\bte\be m\bma\bat\bte\ber\bri\bia\bal\bl
+            Do this by running _\bb_\bb_\bl.  An example of this might be:
+
+             1 % bbl hacks
+             2 [ Working folder is +bbl, Archive folder is +bbl/arc ]
+             3 [ Type CTRL-D to finish ]
+             4 % scan
+
+
+
+[mh.6]                        MH.6.8                            1
+
+
+
+
+
+
+
+
+BBL(1)                 BSD Reference Manual                BBL(1)
+
+
+             5  20 10/14 1345-PDT Silly User        Nonsensical message
+             6  21 10/14 1707-PDT Silly User        Another one
+             7  22 10/14 2144-PDT Reasonable Person Legit message
+             9 % rmm 20 21
+            10 % D
+            11 Incorporate changes? y
+            12 Remove +bbl? y
+            13 Update archives? n
+            14 Remove +bbl/arc? y
+            15 [+inbox now current]
+            16 %
+
+            In item 1,  the  BBoard-Leader  invokes  _\bb_\bb_\bl  on  the
+            BBoard  called  "hacks".  The _\bb_\bb_\bl program responds by
+            typing items 2 and 3 which  tell  the  user  what  _\bM_\bH
+            folders are being used and that a sub-shell is now in
+            use (respectively).  The user does a scan of the +bbl
+            folder  (_\bb_\bb_\bl  sets  the  current-folder to be the one
+            with the BBoard in it.)  and finds two messages  that
+            should be removed (numbers 20 and 21).  The user then
+            removes these using the _\br_\bm_\bm program (item 9) and then
+            types  a  CTRL-D to return to _\bb_\bb_\bl (item 10).  At this
+            point, _\bb_\bb_\bl asks  how  the  BBoard  should  be  recon-
+            structed.   Item  11 asks if the contents of the +bbl
+            folder should OVERWRITE the contents of  the  BBoard.
+            The  user  responds  `yes', that it should (hence the
+            two _\br_\bm_\bm'd messages disappear).  Next on item 12,  the
+            user  is  asked  if the +bbl folder should be killed,
+            since the BBoards have been successfully updated, the
+            user answers `yes'.  On item 13, the user is asked if
+            the archives should be updated.  Since the user  made
+            no changes, the answer `no' is made.  (The user could
+            have answered `yes' with no disastrous  effects,  but
+            knew  that  nothing  had  been updated).  Finally, on
+            item 14, the user indicates that  the  +bbl/arc  sub-
+            folder should be killed, by answering `yes'.
+
+       A\bAr\brc\bch\bhi\biv\bve\be n\bno\bon\bn-\b-r\bre\bec\bce\ben\bnt\bt m\bma\bat\bte\ber\bri\bia\bal\bl
+            Do this by running _\bb_\bb_\bl.  An example of this might be:
+
+             1 % bbl hacks
+             2 [ Working folder is +bbl, Archive folder is +bbl/arc ]
+             3 [ Type CTRL-D to finish ]
+             4 % scan
+             5  11 10/12 1905-PST Marshall Rose   New MMail/BBck
+             6  12 10/12 1916-PST Stephen Willson PATH, nfinger, and ls
+             7  13 10/12 2329-PDT G@UCI-20A       833-5122 hours
+             8  14 10/13 1045-PDT MELLON@UCI-20B  Reporting line
+             9  15 10/13 1112-PST Tim Shimeall    Re: 833-5122 hours
+            10  16 10/13 1045-PDT MELLON@UCI-20B  Reporting line
+            11  17 10/13 2042-PST Dana Roode      Ucifinger
+
+
+
+[mh.6]                        MH.6.8                            2
+
+
+
+
+
+
+
+
+BBL(1)                 BSD Reference Manual                BBL(1)
+
+
+            12  18 10/13 2045-PST Dana Roode      Files in /usr/restores
+            13  19 10/14 1028-PDT WILLSON@UCI-20B Re: term no pause
+            14  20 10/14 1345-PDT Martin Katz     Re: term no pause
+            15  21 10/14 1707-PDT SCRIBE@UCI-20A  Scribe Use
+            16  22 10/14 2144-PDT GFISHER@UCI-20B New Twemacs
+            17  23 10/15 1227-PDT Rob Rittenhouse Re: New Twemacs
+            18 % file +bbl/arc -src +bbl 11-12 17-20 21
+            19 % D
+            20 Incorporate changes? y
+            21 Remove +bbl? y
+            22 Update archives? y
+            23 Remove +bbl/arc? y
+            24 [+inbox now current]
+            25 %
+
+            The important command given is in item 18,  in  which
+            the user _\bf_\bi_\bl_\be_\bs some messages from +bbl into +bbl/arc.
+            When CTRL-D is typed, the user directs _\bb_\bb_\bl to  update
+            both  the  BBoard  and  its  archives, which does the
+            proper action.  As an  alternate  to  this  scenario,
+            some creative _\bB_\bB_\bl_\be_\ba_\bd_\be_\br_\bs might use the _\bp_\bi_\bc_\bk command to
+            do all of the work:
+
+                 pick -sequence select -before -12 -datefield BB-Posted -zero
+                 pick -sequence select -before -20 -nozero
+                 scan select
+                 refile select +bbl/arc
+
+            In order to facilitate the use  of  automation  shell
+            scripts,  if the standard input for _\bb_\bb_\bl is _\bn_\bo_\bt a tty,
+            then _\bb_\bb_\bl will not ask any questions and will  proceed
+            as  if the user's answer was "yes" for all questions.
+            Hence, _\bb_\bb_\bl may be run under _\bc_\br_\bo_\bn (8) to  provide  for
+            automatic archiving.
+
+F\bFI\bIL\bLE\bES\bS
+       $HOME/.mh_profile                         The user profile
+
+P\bPR\bRO\bOF\bFI\bIL\bLE\bE C\bCO\bOM\bMP\bPO\bON\bNE\bEN\bNT\bTS\bS
+       Path:                To determine the user's MH directory
+       incproc:             Program to incorporate a mail drop into a folder
+       packproc:            Program to pack a folder into a msgbox
+       rmfproc:             Program to remove a folder
+
+S\bSE\bEE\bE A\bAL\bLS\bSO\bO
+       bbc(1), bbleader(1), bboards(1)
+
+D\bDE\bEF\bFA\bAU\bUL\bLT\bTS\bS
+       `+folder' defaults to "bbl"
+       `-nofile'
+       `-shell' defaults to $\b$S\bSH\bHE\bEL\bLL\bL or your login shell
+
+
+
+[mh.6]                        MH.6.8                            3
+
+
+
+
+
+
+
+
+BBL(1)                 BSD Reference Manual                BBL(1)
+
+
+C\bCO\bON\bNT\bTE\bEX\bXT\bT
+       None
+
+H\bHI\bIS\bST\bTO\bOR\bRY\bY
+       In  the  early days of the UCI BBoards facility, _\bB_\bB_\bl_\be_\ba_\bd_\be_\br_\bs
+       actually used to run this program by hand.  Now, this  _\bb_\bb_\bl
+       is  often run automatically by the system to perform auto-
+       matic archiving.
+
+B\bBU\bUG\bGS\bS
+       Note that _\bb_\bb_\bl executes a lot of _\bM_\bH commands, and as  such,
+       each  of these commands can and will read your _\b._\bm_\bh_\b__\bp_\br_\bo_\bf_\bi_\bl_\be
+       for  defaults.   Please   read   the   B\bBU\bUG\bGS\bS   section   of
+       _\bm_\bh_\b-_\bp_\br_\bo_\bf_\bi_\bl_\be (5) for some hints to help you avoid many silly
+       problems.
+
+       Also, _\bb_\bb_\bl is unforgiving in doing exactly what it is told,
+       so take special care in answering _\bb_\bb_\bl's questions.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[mh.6]                        MH.6.8                            4
+
+
+
+
+
diff --git a/usr/src/contrib/mh-6.8.3a/doc/bbleader.man b/usr/src/contrib/mh-6.8.3a/doc/bbleader.man
new file mode 100644 (file)
index 0000000..ad45df3
--- /dev/null
@@ -0,0 +1,132 @@
+
+
+
+BBLEADER(1)            BSD Reference Manual           BBLEADER(1)
+
+
+N\bNA\bAM\bME\bE
+       BBleader - responsiblities of an MH BBoard-leader
+
+S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
+       bbl bboard [+folder] [-shell shell] [-verbose] [-help]
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+       What follows is a description of the responsibilities of a
+       BBleader.  This is a working collection  of  facts:  there
+       are  no  simple  or elegant rules.  In the discussion that
+       follows, substitute in the name of  your  BBoard  wherever
+       you see the ficticious name ``hacks''.
+
+       P\bPr\bre\bel\bli\bim\bmi\bin\bna\bar\bry\by M\bMa\bai\bin\bnt\bte\ben\bna\ban\bnc\bce\be
+            When  you  are appointed a BBleader by the person who
+            is acting as the _\bP_\bo_\bs_\bt_\bM_\ba_\bs_\bt_\be_\br  you  should  first  make
+            sure  that  the  four  addresses associated with your
+            BBoard are correct (see _\bb_\bb_\bo_\ba_\br_\bd_\bs (1)).  To check this,
+            try  "bbc  -topics  -verbose  hacks".   You should be
+            listed  under  local  leader(s),   and   the   BBoard
+            addresses should be correct.
+
+       P\bPe\ber\bri\bio\bod\bdi\bic\bc M\bMa\bai\bin\bnt\bte\ben\bna\ban\bnc\bce\be
+            There  are  three  functions  that you should perform
+            periodically:
+              R\bRe\bea\bad\bd t\bth\bhe\be B\bBB\bBo\boa\bar\brd\bd : If you're  a  BBoard  leader  you
+                   should be keeping up on what's going on.
+              R\bRe\bem\bmo\bov\bve\be  i\bin\bna\bap\bpp\bpr\bro\bop\bpr\bri\bia\bat\bte\be  m\bma\bat\bte\ber\bri\bia\bal\bl :  If offsensive or
+                   otherwise non-sensical material shows  up,  or
+                   if  a  duplicate  message appears, use the _\bB_\bB_\bl
+                   program, delete the  offending  messages  from
+                   the folder.
+              A\bAr\brc\bch\bhi\biv\bve\be  n\bno\bon\bn-\b-r\bre\bec\bce\ben\bnt\bt m\bma\bat\bte\ber\bri\bia\bal\bl : The archive facility
+                   has been upgraded to  be  almost  fully  auto-
+                   mated.  BBoards with the Auto-Archive flag set
+                   will have old material automatically placed in
+                   the  archive  area  once a week.  You may also
+                   archive material yourself if you like,  or  if
+                   your  BBoard is not set to Auto-Archive.  Just
+                   file messages in the folder ``+bbl'' into  the
+                   folder  ``+bbl/arc''  You should archive mate-
+                   rial whenever it takes a long time to read  in
+                   a  BBoard  using _\bb_\bb_\bc and _\bm_\bs_\bh.  The only excep-
+                   tion to this is (possibly) the a\bap\bp-\b-n\bne\bew\bws\bs and n\bny\by-\b-
+                   t\bti\bim\bme\bes\bs  BBoards, in which case non-recent mate-
+                   rial is usually deleted, and an archive is not
+                   kept.
+
+       S\bSp\bpo\bor\bra\bad\bdi\bic\bc M\bMa\bai\bin\bnt\bte\ben\bna\ban\bnc\bce\be
+            As  a  BBoard leader there are three groups of people
+            that you will be required to deal with:
+
+
+
+[mh.6]                        MH.6.8                            1
+
+
+
+
+
+
+
+
+BBLEADER(1)            BSD Reference Manual           BBLEADER(1)
+
+
+              B\bBB\bBo\boa\bar\brd\bd u\bus\bse\ber\brs\bs : Correspondence from BBoard users  is
+                   usually   addressed   to  l\blo\boc\bca\bal\bl-\b-h\bha\bac\bck\bks\bs-\b-r\bre\beq\bqu\bue\bes\bst\bt.
+                   Although the  nature  of  such  correspondence
+                   varies,  the  most  usual  topic is how to get
+                   access to archives for the  BBoard.   In  such
+                   cases,  if  the  archives  are  on-line in the
+                   ~bboards/archive/ area, then you should  refer
+                   the  BBoard user to the appropriate files.  If
+                   not, then you should  contact  the  _\bP_\bo_\bs_\bt_\bM_\ba_\bs_\bt_\be_\br
+                   and  ask  for archive retrieval.  Archives may
+                   be accessed through the  normal  _\bb_\bb_\bc  and  _\bm_\bs_\bh
+                   programs,  using the `-archive' switch to _\bb_\bb_\bc.
+              B\bBB\bBo\boa\bar\brd\bd l\ble\bea\bad\bde\ber\brs\bs : You may have  to  correspond  with
+                   the  people  who maintain the I\bIn\bnt\bte\ber\brn\bne\bet\bt mailing
+                   list  for  the  BBoard.   Their   address   is
+                   h\bha\bac\bck\bks\bs-\b-r\bre\beq\bqu\bue\bes\bst\bt.
+              P\bPo\bos\bst\btO\bOf\bff\bfi\bic\bce\be p\bpe\ber\brs\bso\bon\bnn\bne\bel\bl : You may need help or advice.
+                   The address to turn to is _\bP_\bo_\bs_\bt_\bM_\ba_\bs_\bt_\be_\br.
+
+F\bFI\bIL\bLE\bES\bS
+       $HOME/.mh_profile                         The user profile
+
+P\bPR\bRO\bOF\bFI\bIL\bLE\bE C\bCO\bOM\bMP\bPO\bON\bNE\bEN\bNT\bTS\bS
+       Path:                To determine the user's MH directory
+
+S\bSE\bEE\bE A\bAL\bLS\bSO\bO
+       bboards(1), bbc(1), bbl(1), msh(1)
+
+D\bDE\bEF\bFA\bAU\bUL\bLT\bTS\bS
+       The default bboard is "system"
+
+C\bCO\bON\bNT\bTE\bEX\bXT\bT
+       None
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[mh.6]                        MH.6.8                            2
+
+
+
+
+
diff --git a/usr/src/contrib/mh-6.8.3a/doc/bboards.man b/usr/src/contrib/mh-6.8.3a/doc/bboards.man
new file mode 100644 (file)
index 0000000..c96a3df
--- /dev/null
@@ -0,0 +1,132 @@
+
+
+
+BBOARDS(1)             BSD Reference Manual            BBOARDS(1)
+
+
+N\bNA\bAM\bME\bE
+       bboards - the UCI BBoards facility
+
+S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
+       bbc [-check] [-read] bboards ...  [-help]
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+       The  home  directory of _\bb_\bb_\bo_\ba_\br_\bd_\bs is where the BBoard system
+       is kept.  This documentation describes some of the nuances
+       of the BBoard system.
+
+       Note  that if your system is configured to use the Network
+       News Transfer Protocol (N\bNN\bNT\bTP\bP) to read BBoards, (your  sys-
+       tem does seem to be configured this way), then there is no
+       local bboards setup; instead, _\bb_\bb_\bc opens an N\bNN\bNT\bTP\bP connection
+       to the local server.
+
+       B\bBB\bBo\boa\bar\brd\bds\bs,\b, B\bBB\bBo\boa\bar\brd\bd-\b-I\bID\bDs\bs
+            A  BBoard  is  just a file containing a group of mes-
+            sages relating to the same topic.  These  files  live
+            in  the  ~bboards  home directory.  Each message in a
+            BBoard file has in its header  the  line  "BBoard-Id:
+            n",  where  "n" is an ascending decimal number.  This
+            id-number is unique for each  message  in  a  BBoards
+            file.   It  should  NOT  be confused with the message
+            number of a message, which can change as messages are
+            removed from the BBoard.
+
+       B\bBB\bBo\boa\bar\brd\bd H\bHa\ban\bnd\bdl\bli\bin\bng\bg
+            To  read  BBoards, use the _\bb_\bb_\bc and _\bm_\bs_\bh programs.  The
+            _\bm_\bs_\bh command is a monolithic  program  which  contains
+            all the functionality of _\bM_\bH in a single program.  The
+            `-check' switch to _\bb_\bb_\bc lets you check on  the  status
+            of  BBoards,  and  the  `-read'  switch  tells _\bb_\bb_\bc to
+            invoke _\bm_\bs_\bh to read those BBoards.
+
+       C\bCr\bre\bea\bat\bti\bin\bng\bg a\ba B\bBB\bBo\boa\bar\brd\bd
+            Both public, and private BBoards are supported.  Con-
+            tact  the  mail  address  _\bP_\bo_\bs_\bt_\bM_\ba_\bs_\bt_\be_\br if you'd like to
+            have a BBoard created.
+
+       B\bBB\bBo\boa\bar\brd\bd a\bad\bdd\bdr\bre\bes\bss\bse\bes\bs
+            Each BBoard has associated with it 4 addresses, these
+            are (for the ficticious BBoard called ``hacks''):
+              h\bha\bac\bck\bks\bs : The Internet wide distribution list.
+              d\bdi\bis\bst\bt-\b-h\bha\bac\bck\bks\bs : The local BBoard.
+              h\bha\bac\bck\bks\bs-\b-r\bre\beq\bqu\bue\bes\bst\bt :  The  people  responsible  for  the
+                   BBoard at the Internet level.
+              l\blo\boc\bca\bal\bl-\b-h\bha\bac\bck\bks\bs-\b-r\bre\beq\bqu\bue\bes\bst\bt : The  people  responsible  for
+                   the BBoard locally.
+
+
+
+
+[mh.6]                        MH.6.8                            1
+
+
+
+
+
+
+
+
+BBOARDS(1)             BSD Reference Manual            BBOARDS(1)
+
+
+F\bFI\bIL\bLE\bES\bS
+       $HOME/.mh_profile                         The user profile
+       $HOME/.bbrc                               BBoard information
+
+P\bPR\bRO\bOF\bFI\bIL\bLE\bE C\bCO\bOM\bMP\bPO\bON\bNE\bEN\bNT\bTS\bS
+       Path:                To determine the user's MH directory
+       bboards:             To specify interesting BBoards
+       mshproc:             Program to read a given BBoard
+
+S\bSE\bEE\bE A\bAL\bLS\bSO\bO
+       bbc(1), bbl(1), bbleader(1), msh(1)
+
+D\bDE\bEF\bFA\bAU\bUL\bLT\bTS\bS
+       The default bboard is "system"
+
+C\bCO\bON\bNT\bTE\bEX\bXT\bT
+       None
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[mh.6]                        MH.6.8                            2
+
+
+
+
+
diff --git a/usr/src/contrib/mh-6.8.3a/doc/burst.man b/usr/src/contrib/mh-6.8.3a/doc/burst.man
new file mode 100644 (file)
index 0000000..77712a9
--- /dev/null
@@ -0,0 +1,132 @@
+
+
+
+BURST(1)               BSD Reference Manual              BURST(1)
+
+
+N\bNA\bAM\bME\bE
+       burst - explode digests into messages
+
+S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
+       burst  [+folder]  [msgs]  [-inplace] [-noinplace] [-quiet]
+            [-noquiet] [-verbose] [-noverbose] [-help]
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+       _\bB_\bu_\br_\bs_\bt considers the specified messages in the named folder
+       to  be Internet digests, and explodes them in that folder.
+
+       If `-inplace' is given, each digest  is  replaced  by  the
+       "table of contents" for the digest (the original digest is
+       removed).  _\bB_\bu_\br_\bs_\bt then renumbers all of the  messages  fol-
+       lowing  the  digest in the folder to make room for each of
+       the messages contained within the digest.  These  messages
+       are placed immediately after the digest.
+
+       If  `-noinplace'  is  given,  each digest is preserved, no
+       table of contents is produced, and the messages  contained
+       within  the  digest  are  placed at the end of the folder.
+       Other messages are not tampered with in any way.
+
+       The `-quiet' switch  directs  _\bb_\bu_\br_\bs_\bt  to  be  silent  about
+       reporting messages that are not in digest format.
+
+       The  `-verbose'  switch directs _\bb_\bu_\br_\bs_\bt to tell the user the
+       general actions that it is taking to explode the digest.
+
+       It turns out that _\bb_\bu_\br_\bs_\bt works equally  well  on  forwarded
+       messages  and  blind-carbon-copies as on Internet digests,
+       provided that the former two were  generated  by  _\bf_\bo_\br_\bw  or
+       _\bs_\be_\bn_\bd.
+
+F\bFI\bIL\bLE\bES\bS
+       $HOME/.mh_profile                         The user profile
+
+P\bPR\bRO\bOF\bFI\bIL\bLE\bE C\bCO\bOM\bMP\bPO\bON\bNE\bEN\bNT\bTS\bS
+       Path:                To determine the user's MH directory
+       Current-Folder:      To find the default current folder
+       Msg-Protect:         To set mode when creating a new message
+
+S\bSE\bEE\bE A\bAL\bLS\bSO\bO
+       _\bP_\br_\bo_\bp_\bo_\bs_\be_\bd _\bS_\bt_\ba_\bn_\bd_\ba_\br_\bd _\bf_\bo_\br _\bM_\be_\bs_\bs_\ba_\bg_\be _\bE_\bn_\bc_\ba_\bp_\bs_\bu_\bl_\ba_\bt_\bi_\bo_\bn (aka RFC-934),
+       inc(1), msh(1), pack(1)
+
+D\bDE\bEF\bFA\bAU\bUL\bLT\bTS\bS
+       `+folder' defaults to the current folder
+       `msgs' defaults to cur
+       `-noinplace'
+       `-noquiet'
+
+
+
+[mh.6]                        MH.6.8                            1
+
+
+
+
+
+
+
+
+BURST(1)               BSD Reference Manual              BURST(1)
+
+
+       `-noverbose'
+
+C\bCO\bON\bNT\bTE\bEX\bXT\bT
+       If a folder is given, it will become the  current  folder.
+       If  `-inplace'  is  given,  then  the  first message burst
+       becomes the current  message.   This  leaves  the  context
+       ready  for  a _\bs_\bh_\bo_\bw of the table of contents of the digest,
+       and a _\bn_\be_\bx_\bt to see the first message  of  the  digest.   If
+       `-noinplace'  is  given,  then the first message extracted
+       from the first digest burst becomes the  current  message.
+       This  leaves  the context in a similar, but not identical,
+       state to the context achieved when using `-inplace'.
+
+B\bBU\bUG\bGS\bS
+       The _\bb_\bu_\br_\bs_\bt program enforces a limit on the number  of  mes-
+       sages which may be _\bb_\bu_\br_\bs_\bt from a single message.  This num-
+       ber is on the order of 1000 messages.  There is usually no
+       limit  on  the  number of messages which may reside in the
+       folder after the _\bb_\bu_\br_\bs_\bting.
+
+       Although _\bb_\bu_\br_\bs_\bt uses a sophisticated algorithm to determine
+       where  one  encapsulated  message ends and another begins,
+       not all digestifying programs use an  encapsulation  algo-
+       rithm.  In degenerate cases, this usually results in _\bb_\bu_\br_\bs_\bt
+       finding an encapsulation boundary prematurely  and  split-
+       ting  a  single encapsulated message into two or more mes-
+       sages.  These erroneous digestifying  programs  should  be
+       fixed.
+
+       Furthermore,  any text which appears after the last encap-
+       sulated message is not placed in  a  seperate  message  by
+       _\bb_\bu_\br_\bs_\bt.   In the case of digestified messages, this text is
+       usally an "End of digest" string.  As  a  result  of  this
+       possibly  un-friendly  behavior on the part of _\bb_\bu_\br_\bs_\bt, note
+       that when the `-inplace' option  is  used,  this  trailing
+       information  is  lost.  In practice, this is not a problem
+       since correspondents usually place remarks in  text  prior
+       to the first encapsulated message, and this information is
+       not lost.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[mh.6]                        MH.6.8                            2
+
+
+
+
+
diff --git a/usr/src/contrib/mh-6.8.3a/doc/comp.man b/usr/src/contrib/mh-6.8.3a/doc/comp.man
new file mode 100644 (file)
index 0000000..a9ca660
--- /dev/null
@@ -0,0 +1,132 @@
+
+
+
+COMP(1)                BSD Reference Manual               COMP(1)
+
+
+N\bNA\bAM\bME\bE
+       comp - compose a message
+
+S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
+       comp      [+folder]      [msg]      [-draftfolder +folder]
+            [-draftmessage msg] [-nodraftfolder] [-editor editor]
+            [-noedit]    [-file file]   [-form formfile]   [-use]
+            [-nouse]   [-whatnowproc program]    [-nowhatnowproc]
+            [-help]
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+       _\bC_\bo_\bm_\bp  is  used  to  create a new message to be mailed.  It
+       copies a message form to the draft being composed and then
+       invokes an editor on the draft (unless `-noedit' is given,
+       in which case the initial edit is suppressed).
+
+       The default message form contains the following elements:
+
+            To:
+            cc:
+            Subject:
+            --------
+
+       If the file named "components" exists  in  the  user's  MH
+       directory, it will be used instead of this form.  The file
+       specified by `-form formfile' will be used if given.   You
+       may also start _\bc_\bo_\bm_\bp using the contents of an existing mes-
+       sage as the form.  If you supply  either  a  `+folder'  or
+       `msg'  argument,  that  message  will be used as the form.
+       You may not supply both a `-form formfile' and a `+folder'
+       or  `msg'  argument.   The  line of dashes or a blank line
+       must be left between the header and the body of  the  mes-
+       sage  for the message to be identified properly when it is
+       sent (see _\bs_\be_\bn_\bd (1)).  The switch `-use'  directs  _\bc_\bo_\bm_\bp  to
+       continue  editing an already started message.  That is, if
+       a _\bc_\bo_\bm_\bp (or _\bd_\bi_\bs_\bt, _\br_\be_\bp_\bl, or  _\bf_\bo_\br_\bw )  is  terminated  without
+       sending  the  draft,  the  draft  can  be edited again via
+       "comp -use".
+
+       If the draft already exists, _\bc_\bo_\bm_\bp will ask you as  to  the
+       disposition  of  the  draft.   A  reply of q\bqu\bui\bit\bt will abort
+       _\bc_\bo_\bm_\bp, leaving the draft intact; r\bre\bep\bpl\bla\bac\bce\be will  replace  the
+       existing  draft  with the appropriate form; l\bli\bis\bst\bt will dis-
+       play the draft; u\bus\bse\be will use the draft for further  compo-
+       sition;  and  r\bre\bef\bfi\bil\ble\be +\b+f\bfo\bol\bld\bde\ber\br  will  file  the draft in the
+       given folder, and give you a new draft with the  appropri-
+       ate form.  (The `+folder' argument to r\bre\bef\bfi\bil\ble\be is required.)
+
+       The   `-draftfolder +folder'    and    `-draftmessage msg'
+       switches  invoke the _\bM_\bH draft folder facility.  This is an
+       advanced  (and  highly  useful)  feature.    Consult   the
+
+
+
+[mh.6]                        MH.6.8                            1
+
+
+
+
+
+
+
+
+COMP(1)                BSD Reference Manual               COMP(1)
+
+
+       A\bAd\bdv\bva\ban\bnc\bce\bed\bd F\bFe\bea\bat\btu\bur\bre\bes\bs section of the _\bM_\bH manual for more infor-
+       mation.
+
+       The `-file file' switch says to use the named file as  the
+       message draft.
+
+       The  `-editor editor'  switch  indicates the editor to use
+       for the initial edit.  Upon exiting from the editor,  _\bc_\bo_\bm_\bp
+       will  invoke  the  _\bw_\bh_\ba_\bt_\bn_\bo_\bw program.  See _\bw_\bh_\ba_\bt_\bn_\bo_\bw (1) for a
+       discussion of available options.  The invocation  of  this
+       program  can  be  inhibited  by using the `-nowhatnowproc'
+       switch.  (In truth of fact,  it  is  the  _\bw_\bh_\ba_\bt_\bn_\bo_\bw  program
+       which  starts  the  initial edit.  Hence, `-nowhatnowproc'
+       will prevent any edit from occurring.)
+
+F\bFI\bIL\bLE\bES\bS
+       /usr/contrib/mh-6.8/lib/components        The message skeleton
+       or <mh-dir>/components                    Rather than the standard skeleton
+       $HOME/.mh_profile                         The user profile
+       <mh-dir>/draft                            The draft file
+
+P\bPR\bRO\bOF\bFI\bIL\bLE\bE C\bCO\bOM\bMP\bPO\bON\bNE\bEN\bNT\bTS\bS
+       Path:                To determine the user's MH directory
+       Draft-Folder:        To find the default draft-folder
+       Editor:              To override the default editor
+       Msg-Protect:         To set mode when creating a new message (draft)
+       fileproc:            Program to refile the message
+       whatnowproc:         Program to ask the "What now?" questions
+
+S\bSE\bEE\bE A\bAL\bLS\bSO\bO
+       dist(1),  forw(1),  repl(1),  send(1),   whatnow(1),   mh-
+       profile(5)
+
+D\bDE\bEF\bFA\bAU\bUL\bLT\bTS\bS
+       `+folder' defaults to the current folder
+       `msg' defaults to the current message
+       `-nodraftfolder'
+       `-nouse'
+
+C\bCO\bON\bNT\bTE\bEX\bXT\bT
+       None
+
+B\bBU\bUG\bGS\bS
+       If _\bw_\bh_\ba_\bt_\bn_\bo_\bw_\bp_\br_\bo_\bc is _\bw_\bh_\ba_\bt_\bn_\bo_\bw, then _\bc_\bo_\bm_\bp uses a built-in _\bw_\bh_\ba_\bt_\b-
+       _\bn_\bo_\bw, it does not actually run the _\bw_\bh_\ba_\bt_\bn_\bo_\bw program.  Hence,
+       if  you define your own _\bw_\bh_\ba_\bt_\bn_\bo_\bw_\bp_\br_\bo_\bc, don't call it _\bw_\bh_\ba_\bt_\bn_\bo_\bw
+       since _\bc_\bo_\bm_\bp won't run it.
+
+
+
+
+
+
+
+[mh.6]                        MH.6.8                            2
+
+
+
+
+
diff --git a/usr/src/contrib/mh-6.8.3a/doc/conflict.man b/usr/src/contrib/mh-6.8.3a/doc/conflict.man
new file mode 100644 (file)
index 0000000..56df438
--- /dev/null
@@ -0,0 +1,66 @@
+
+
+
+CONFLICT(8)        BSD System Manager's Manual        CONFLICT(8)
+
+
+N\bNA\bAM\bME\bE
+       conflict - search for alias/password conflicts
+
+S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
+       /usr/contrib/mh-6.8/lib/conflict              [-mail name]
+            [-search directory] [aliasfiles...]  [-help]
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+       _\bC_\bo_\bn_\bf_\bl_\bi_\bc_\bt is a program that checks to see if the  interface
+       between _\bM_\bH and transport system is in good shape
+
+       _\bC_\bo_\bn_\bf_\bl_\bi_\bc_\bt  also  checks for maildrops in /var/mail which do
+       not belong to a valid user.  It assumes that no user  name
+       will  start  with `.', and thus ignores files in /var/mail
+       which begin with `.'.  It also checks for entries  in  the
+       _\bg_\br_\bo_\bu_\bp (5)  file  which  do not belong to a valid user, and
+       for users who do not have a valid group number.  In  addi-
+       tion duplicate users and groups are noted.
+
+       If  the `-mail name' switch is used, then the results will
+       be sent to the specified _\bn_\ba_\bm_\be.  Otherwise, the results are
+       sent to the standard output.
+
+       The  `-search directory'  switch  can  be  used  to search
+       directories other than /var/mail and to  report  anomalies
+       in  those directories.  The `-search directory' switch can
+       appear more than one time in an invocation to _\bc_\bo_\bn_\bf_\bl_\bi_\bc_\bt.
+
+       _\bC_\bo_\bn_\bf_\bl_\bi_\bc_\bt should be run under  _\bc_\br_\bo_\bn (8), or whenever system
+       accounting takes place.
+
+F\bFI\bIL\bLE\bES\bS
+       /usr/contrib/mh-6.8/lib/mtstailor         tailor file
+       /etc/passwd                               List of users
+       /etc/group                                List of groups
+       /usr/contrib/mh-6.8/bin/mhmail            Program to send mail
+       /var/mail/                                Directory of mail drop
+
+P\bPR\bRO\bOF\bFI\bIL\bLE\bE C\bCO\bOM\bMP\bPO\bON\bNE\bEN\bNT\bTS\bS
+       None
+
+S\bSE\bEE\bE A\bAL\bLS\bSO\bO
+       mh-alias(5)
+
+D\bDE\bEF\bFA\bAU\bUL\bLT\bTS\bS
+       `aliasfiles' defaults to /usr/contrib/mh-6.8/lib/MailAliases
+
+C\bCO\bON\bNT\bTE\bEX\bXT\bT
+       None
+
+
+
+
+
+[mh.6]                        MH.6.8                            1
+
+
+
+
+
diff --git a/usr/src/contrib/mh-6.8.3a/doc/dist.man b/usr/src/contrib/mh-6.8.3a/doc/dist.man
new file mode 100644 (file)
index 0000000..babeb63
--- /dev/null
@@ -0,0 +1,198 @@
+
+
+
+DIST(1)                BSD Reference Manual               DIST(1)
+
+
+N\bNA\bAM\bME\bE
+       dist - redistribute a message to additional addresses
+
+S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
+       dist    [+folder]    [msg]    [-annotate]    [-noannotate]
+            [-draftfolder +folder]            [-draftmessage msg]
+            [-nodraftfolder]      [-editor editor]      [-noedit]
+            [-form formfile]       [-inplace]        [-noinplace]
+            [-whatnowproc program] [-nowhatnowproc] [-help]
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+       _\bD_\bi_\bs_\bt  is  similar to _\bf_\bo_\br_\bw.  It prepares the specified mes-
+       sage for redistribution to addresses that (presumably) are
+       not on the original address list.
+
+       The default message form contains the following elements:
+
+            Resent-To:
+            Resent-cc:
+
+       If  the  file  named  "distcomps"  exists in the user's MH
+       directory, it will be  used  instead  of  this  form.   In
+       either  case,  the file specified by `-form formfile' will
+       be used if given.  The form used will be prepended to  the
+       message being resent.
+
+       If  the  draft already exists, _\bd_\bi_\bs_\bt will ask you as to the
+       disposition of the draft.  A  reply  of  q\bqu\bui\bit\bt  will  abort
+       _\bd_\bi_\bs_\bt,  leaving  the draft intact; r\bre\bep\bpl\bla\bac\bce\be will replace the
+       existing draft with a blank skeleton; and l\bli\bis\bst\bt  will  dis-
+       play the draft.
+
+       Only  those  addresses  in "Resent-To:", "Resent-cc:", and
+       "Resent-Bcc:" will be sent.  Also, a  "Resent-Fcc: folder"
+       will  be honored (see _\bs_\be_\bn_\bd (1)).  Note that with _\bd_\bi_\bs_\bt, the
+       draft should contain  only  "Resent-xxx:"  fields  and  no
+       body.   The  headers  and the body of the original message
+       are copied to the draft when the  message  is  sent.   Use
+       care in constructing the headers for the redistribution.
+
+       If  the  `-annotate'  switch  is given, the  message being
+       distributed will be annotated with the lines:
+
+            Resent: date
+            Resent: addrs
+
+       where  each  address  list  contains  as  many  lines   as
+       required.   This  annotation will be done only if the mes-
+       sage is sent directly from _\bd_\bi_\bs_\bt.  If the  message  is  not
+       sent  immediately  from  _\bd_\bi_\bs_\bt,  "comp -use" may be used to
+       re-edit  and  send  the  constructed  message,   but   the
+
+
+
+[mh.6]                        MH.6.8                            1
+
+
+
+
+
+
+
+
+DIST(1)                BSD Reference Manual               DIST(1)
+
+
+       annotations  won't  take  place.   The  '-inplace'  switch
+       causes annotation to be done in place in order to preserve
+       links to the annotated message.
+
+       See  _\bc_\bo_\bm_\bp (1)  for  a  description  of  the  `-editor' and
+       `-noedit' switches.  Note that while in  the  editor,  the
+       message being resent is available through a link named "@"
+       (assuming the default  _\bw_\bh_\ba_\bt_\bn_\bo_\bw_\bp_\br_\bo_\bc ).   In  addition,  the
+       actual pathname of the message is stored in the envariable
+       $\b$e\bed\bdi\bit\bta\bal\blt\bt, and the pathname of the  folder  containing  the
+       message is stored in the envariable $\b$m\bmh\bhf\bfo\bol\bld\bde\ber\br.
+
+       The    `-draftfolder +folder'    and   `-draftmessage msg'
+       switches invoke the _\bM_\bH draft folder facility.  This is  an
+       advanced   (and   highly  useful)  feature.   Consult  the
+       A\bAd\bdv\bva\ban\bnc\bce\bed\bd F\bFe\bea\bat\btu\bur\bre\bes\bs section of the _\bM_\bH manual for more infor-
+       mation.
+
+       Upon exiting from the editor, _\bd_\bi_\bs_\bt will invoke the _\bw_\bh_\ba_\bt_\bn_\bo_\bw
+       program.  See _\bw_\bh_\ba_\bt_\bn_\bo_\bw (1) for a  discussion  of  available
+       options.   The invocation of this program can be inhibited
+       by using the `-nowhatnowproc' switch.  (In truth of  fact,
+       it  is  the _\bw_\bh_\ba_\bt_\bn_\bo_\bw program which starts the initial edit.
+       Hence, `-nowhatnowproc' will prevent any edit from  occur-
+       ring.)
+
+F\bFI\bIL\bLE\bES\bS
+       /usr/contrib/mh-6.8/lib/distcomps         The message skeleton
+       or <mh-dir>/distcomps                     Rather than the standard skeleton
+       $HOME/.mh_profile                         The user profile
+       <mh-dir>/draft                            The draft file
+
+P\bPR\bRO\bOF\bFI\bIL\bLE\bE C\bCO\bOM\bMP\bPO\bON\bNE\bEN\bNT\bTS\bS
+       Path:                To determine the user's MH directory
+       Current-Folder:      To find the default current folder
+       Draft-Folder:        To find the default draft-folder
+       Editor:              To override the default editor
+       fileproc:            Program to refile the message
+       whatnowproc:         Program to ask the "What now?" questions
+
+S\bSE\bEE\bE A\bAL\bLS\bSO\bO
+       comp(1), forw(1), repl(1), send(1), whatnow(1)
+
+D\bDE\bEF\bFA\bAU\bUL\bLT\bTS\bS
+       `+folder' defaults to the current folder
+       `msg' defaults to cur
+       `-noannotate'
+       `-nodraftfolder'
+       `-noinplace'
+
+
+
+
+
+[mh.6]                        MH.6.8                            2
+
+
+
+
+
+
+
+
+DIST(1)                BSD Reference Manual               DIST(1)
+
+
+C\bCO\bON\bNT\bTE\bEX\bXT\bT
+       If  a  folder is given, it will become the current folder.
+       The message distributed will become the current message.
+
+H\bHI\bIS\bST\bTO\bOR\bRY\bY
+       _\bD_\bi_\bs_\bt originally used headers of the form "Distribute-xxx:"
+       instead  of  "Resent-xxx:".   In order to conform with the
+       ARPA Internet standard, RFC-822, the "Resent-xxx:" form is
+       now  used.   _\bD_\bi_\bs_\bt  will  recognize  "Distribute-xxx:" type
+       headers and automatically convert them to "Resent-xxx:".
+
+B\bBU\bUG\bGS\bS
+       _\bD_\bi_\bs_\bt does not _\br_\bi_\bg_\bo_\br_\bo_\bu_\bs_\bl_\by  check  the  message  being  dis-
+       tributed for adherence to the transport standard, but _\bp_\bo_\bs_\bt
+       called by _\bs_\be_\bn_\bd does.  The  _\bp_\bo_\bs_\bt  program  will  balk  (and
+       rightly  so)  at poorly formatted messages, and _\bd_\bi_\bs_\bt won't
+       correct things for you.
+
+       If _\bw_\bh_\ba_\bt_\bn_\bo_\bw_\bp_\br_\bo_\bc is _\bw_\bh_\ba_\bt_\bn_\bo_\bw, then _\bd_\bi_\bs_\bt uses a built-in _\bw_\bh_\ba_\bt_\b-
+       _\bn_\bo_\bw, it does not actually run the _\bw_\bh_\ba_\bt_\bn_\bo_\bw program.  Hence,
+       if you define your own _\bw_\bh_\ba_\bt_\bn_\bo_\bw_\bp_\br_\bo_\bc, don't call it  _\bw_\bh_\ba_\bt_\bn_\bo_\bw
+       since _\bd_\bi_\bs_\bt won't run it.
+
+       If  your  current  working  directory is not writable, the
+       link named "@" is not available.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[mh.6]                        MH.6.8                            3
+
+
+
+
+
diff --git a/usr/src/contrib/mh-6.8.3a/doc/dp.man b/usr/src/contrib/mh-6.8.3a/doc/dp.man
new file mode 100644 (file)
index 0000000..678eec2
--- /dev/null
@@ -0,0 +1,132 @@
+
+
+
+DP(8)              BSD System Manager's Manual              DP(8)
+
+
+N\bNA\bAM\bME\bE
+       dp - parse dates 822-style
+
+S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
+       /usr/contrib/mh-6.8/lib/dp              [-form formatfile]
+            [-format string] [-width columns] dates ...  [-help]
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+       _\bD_\bp is a program that parses dates according  to  the  ARPA
+       Internet  standard.  It also understands many non-standard
+       formats, such as those produced by TOPS-20 sites and  some
+       UNIX  sites  using _\bc_\bt_\bi_\bm_\be (3).  It is useful for seeing how
+       _\bM_\bH will interpret a date.
+
+       The _\bd_\bp program treats each argument as a single date,  and
+       prints the date out in the official 822-format.  Hence, it
+       is usually best to enclose each argument in  double-quotes
+       for the shell.
+
+       To   override   the   output   format   used  by  _\bd_\bp,  the
+       `-format string'  or  `-format file'  switches  are  used.
+       This  permits  individual  fields  of  the  address  to be
+       extracted with  ease.   The  string  is  simply  a  format
+       stringand   thefile   is   simply   a  format  file.   See
+       _\bm_\bh_\b-_\bf_\bo_\br_\bm_\ba_\bt (5) for the details.
+
+       Here is the default format string used by _\bd_\bp:
+
+            %<(nodate{text})error: %{text}%|%(putstr(pretty{text}))%>
+
+       which says that if an error was detected, print the error,
+       a  `:',  and  the  date  in  error.  Otherwise, output the
+       822-proper format of the date.
+
+F\bFI\bIL\bLE\bES\bS
+       $HOME/.mh_profile                         The user profile
+
+P\bPR\bRO\bOF\bFI\bIL\bLE\bE C\bCO\bOM\bMP\bPO\bON\bNE\bEN\bNT\bTS\bS
+       None
+
+S\bSE\bEE\bE A\bAL\bLS\bSO\bO
+       ap(8)
+       _\bS_\bt_\ba_\bn_\bd_\ba_\br_\bd _\bf_\bo_\br _\bt_\bh_\be _\bF_\bo_\br_\bm_\ba_\bt _\bo_\bf  _\bA_\bR_\bP_\bA  _\bI_\bn_\bt_\be_\br_\bn_\be_\bt  _\bT_\be_\bx_\bt  _\bM_\be_\bs_\bs_\ba_\bg_\be_\bs
+       (aka RFC-822)
+
+D\bDE\bEF\bFA\bAU\bUL\bLT\bTS\bS
+       `-format' default as described above
+       `-width' default to the width of the terminal
+
+C\bCO\bON\bNT\bTE\bEX\bXT\bT
+       None
+
+
+
+[mh.6]                        MH.6.8                            1
+
+
+
+
+
+
+
+
+DP(8)              BSD System Manager's Manual              DP(8)
+
+
+B\bBU\bUG\bGS\bS
+       The  argument  to the `-format' switch must be interpreted
+       as a single token by the shell that  invokes  _\bd_\bp.   There-
+       fore,  one  must usually place the argument to this switch
+       inside double-quotes.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[mh.6]                        MH.6.8                            2
+
+
+
+
+
diff --git a/usr/src/contrib/mh-6.8.3a/doc/fmtdump.man b/usr/src/contrib/mh-6.8.3a/doc/fmtdump.man
new file mode 100644 (file)
index 0000000..28398d4
--- /dev/null
@@ -0,0 +1,66 @@
+
+
+
+FMTDUMP(8)         BSD System Manager's Manual         FMTDUMP(8)
+
+
+N\bNA\bAM\bME\bE
+       fmtdump - decode MH format files
+
+S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
+       /usr/contrib/mh-6.8/lib/fmtdump         [-form formatfile]
+            [-format string] [-help]
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+       _\bF_\bm_\bt_\bd_\bu_\bm_\bp is a program that parses an  _\bM_\bH  format  file  and
+       produces  a  pseudo-language  listing of the how _\bM_\bH inter-
+       prets the file.
+
+       The `-format string' and `-form formatfile'  switches  may
+       be used to specify a format string or format file to read.
+       The string is simply a format string and the file is  sim-
+       ply a format file.  See _\bm_\bh_\b-_\bf_\bo_\br_\bm_\ba_\bt(5) for the details.
+
+F\bFI\bIL\bLE\bES\bS
+       $HOME/.mh_profile                         The user profile
+       /usr/contrib/mh-6.8/lib/scan.default      The default format file
+
+P\bPR\bRO\bOF\bFI\bIL\bLE\bE C\bCO\bOM\bMP\bPO\bON\bNE\bEN\bNT\bTS\bS
+       Path:                To determine the user's MH directory
+
+S\bSE\bEE\bE A\bAL\bLS\bSO\bO
+       mh-format(5), mh-sequences(8)
+
+C\bCO\bON\bNT\bTE\bEX\bXT\bT
+       None
+
+B\bBU\bUG\bGS\bS
+       The  output may not be useful unless you are familiar with
+       the internals of the mh-format subroutines.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[mh.6]                        MH.6.8                            1
+
+
+
+
+
diff --git a/usr/src/contrib/mh-6.8.3a/doc/folder.man b/usr/src/contrib/mh-6.8.3a/doc/folder.man
new file mode 100644 (file)
index 0000000..664191e
--- /dev/null
@@ -0,0 +1,264 @@
+
+
+
+FOLDER(1)              BSD Reference Manual             FOLDER(1)
+
+
+N\bNA\bAM\bME\bE
+       folder, folders - set/list current folder/message
+
+S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
+       folder   [+folder]   [msg]  [-all]  [-create]  [-nocreate]
+            [-print]  [-fast]  [-nofast]  [-header]   [-noheader]
+            [-recurse]  [-norecurse]  [-total] [-nototal] [-list]
+            [-nolist] [-push] [-pop] [-pack] [-nopack] [-verbose]
+            [-noverbose] [-help]
+
+     folders
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+       Since  the _\bM_\bH environment is the shell, it is easy to lose
+       track of the current folder from day to day.  When  _\bf_\bo_\bl_\bd_\be_\br
+       is  given  the  `-print' switch (the default), _\bf_\bo_\bl_\bd_\be_\br will
+       list the current folder, the number of messages in it, the
+       range  of the messages (low-high), and the current message
+       within the folder, and  will  flag  extra  files  if  they
+       exist.  An example of this summary is:
+
+       inbox+            has  16 messages (  3- 22); cur=  5.
+
+       If  a  `+folder'  and/or  `msg'  are  specified, they will
+       become the current folder and/or message.  By  comparison,
+       when  a `+folder' argument is given, this corresponds to a
+       "cd" operation in the _\bs_\bh_\be_\bl_\bl; when no `+folder' argument is
+       given,  this  corresponds  roughly to a "pwd" operation in
+       the _\bs_\bh_\be_\bl_\bl.
+
+       If the specified (or default) folder  doesn't  exist,  the
+       default  action  is  to  query  the user as to whether the
+       folder should be created; when standard  input  is  not  a
+       tty, the answer to the query is assumed to be "yes".
+
+       Specifying `-create' will cause _\bf_\bo_\bl_\bd_\be_\br to create new fold-
+       ers without any query.  (This is the easy way to create an
+       empty  folder for use later.)  Specifying `-nocreate' will
+       cause _\bf_\bo_\bl_\bd_\be_\br  to  exit  without  creating  a  non-existant
+       folder.
+
+   M\bMu\bul\blt\bti\bip\bpl\ble\be F\bFo\bol\bld\bde\ber\brs\bs
+       Specifying  `-all'  will  produce  a summary line for each
+       top-level folder in the user's MH directory, sorted alpha-
+       betically.   (If  _\bf_\bo_\bl_\bd_\be_\br  is invoked by a name ending with
+       "s" (e.g.,  _\bf_\bo_\bl_\bd_\be_\br_\bs ),  `-all'  is  assumed).   Specifying
+       `-recurse'  with  `-all'  will also produce a line for all
+       sub-folders.   These  folders  are  all  preceded  by  the
+       read-only  folders,  which  occur as "atr-cur-" entries in
+       the user's _\bM_\bH context.  For example,
+
+
+
+
+[mh.6]                        MH.6.8                            1
+
+
+
+
+
+
+
+
+FOLDER(1)              BSD Reference Manual             FOLDER(1)
+
+
+       Folder               # of messages ( range )  cur msg (other files)
+       /fsd/rs/m/tacc    has  35 messages (  1- 35); cur= 23.
+       /rnd/phyl/Mail/EP has  82 messages (  1-108); cur= 82.
+       ff                has  no messages.
+       inbox+            has  16 messages (  3- 22); cur=  5.
+       mh                has  76 messages (  1- 76); cur= 70.
+       notes             has   2 messages (  1-  2); cur=  1.
+       ucom              has 124 messages (  1-124); cur=  6; (others).
+                 TOTAL=      339 messages in 7 folders
+
+       The "+" after inbox  indicates  that  it  is  the  current
+       folder.   The  "(others)" indicates that the folder `ucom'
+       has files which aren't messages.  These files  may  either
+       be  sub-folders,  or  files that don't belong under the MH
+       file naming scheme.
+
+       The header is output if either a  `-all'  or  a  `-header'
+       switch  is  specified; it is suppressed by `-noheader'.  A
+       `-total' switch will produce only the summary line.
+
+       If `-fast' is given, only the folder name (or names in the
+       case  of  `-all') will be listed.  (This is faster because
+       the folders need not be read.)
+
+       If a `+folder' is given  along  with  the  `-all'  switch,
+       _\bf_\bo_\bl_\bd_\be_\br  will,  in  addition to setting the current folder,
+       list the top-level folders for the  current  folder  (with
+       `-norecurse')  or  list  all sub-folders under the current
+       folder recursively (with `-recurse').  In this case, if  a
+       `msg' is also supplied, it will become the current message
+       of `+folder'.
+
+       The `-recurse' switch lists each  folder  recursively,  so
+       use  of this option effectively defeats the speed enhance-
+       ment of the `-fast' option,  since  each  folder  must  be
+       searched for subfolders.  Nevertheless, the combination of
+       these options is useful.
+
+
+   C\bCo\bom\bmp\bpa\bac\bct\bti\bin\bng\bg a\ba F\bFo\bol\bld\bde\ber\br
+       The `-pack' switch will compress the message names in  the
+       designated  folders,  removing holes in message numbering.
+       The `-verbose' switch directs _\bf_\bo_\bl_\bd_\be_\br to tell the user  the
+       general  actions that it is taking to compress the folder.
+
+
+   T\bTh\bhe\be F\bFo\bol\bld\bde\ber\br S\bSt\bta\bac\bck\bk
+       The `-push' switch directs  _\bf_\bo_\bl_\bd_\be_\br  to  push  the  current
+       folder onto the _\bf_\bo_\bl_\bd_\be_\br_\b-_\bs_\bt_\ba_\bc_\bk, and make the `+folder' argu-
+       ment the current folder.  If `+folder' is not  given,  the
+       current  folder  and  the  top  of  the  _\bf_\bo_\bl_\bd_\be_\br_\b-_\bs_\bt_\ba_\bc_\bk  are
+
+
+
+[mh.6]                        MH.6.8                            2
+
+
+
+
+
+
+
+
+FOLDER(1)              BSD Reference Manual             FOLDER(1)
+
+
+       exchanged.  This corresponds to the "pushd"  operation  in
+       the _\bC_\bS_\bh_\be_\bl_\bl.
+
+       The `-pop' switch directs _\bf_\bo_\bl_\bd_\be_\br to discard the top of the
+       _\bf_\bo_\bl_\bd_\be_\br_\b-_\bs_\bt_\ba_\bc_\bk, after setting the  current  folder  to  that
+       value.   No  `+folder'  argument  is allowed.  This corre-
+       sponds to the "popd" operation in the _\bC_\bS_\bh_\be_\bl_\bl.  The `-push'
+       switch  and  the `-pop' switch are mutually exclusive: the
+       last occurrence  of  either  one  overrides  any  previous
+       occurrence  of the other.  Both of these switches also set
+       `-list' by default.
+
+       The `-list' switch directs _\bf_\bo_\bl_\bd_\be_\br to list the contents  of
+       the  _\bf_\bo_\bl_\bd_\be_\br_\b-_\bs_\bt_\ba_\bc_\bk.   No  `+folder'  argument  is  allowed.
+       After a successful `-push' or `-pop', the  `-list'  action
+       is  taken,  unless  a `-nolist' switch follows them on the
+       command line.  This corresponds to the "dirs" operation in
+       the  _\bC_\bS_\bh_\be_\bl_\bl.   The  `-push',  `-pop', and `-list' switches
+       turn off `-print'.
+
+F\bFI\bIL\bLE\bES\bS
+       $HOME/.mh_profile                         The user profile
+
+P\bPR\bRO\bOF\bFI\bIL\bLE\bE C\bCO\bOM\bMP\bPO\bON\bNE\bEN\bNT\bTS\bS
+       Path:                To determine the user's MH directory
+       Current-Folder:      To find the default current folder
+       Folder-Protect:      To set mode when creating a new folder
+       Folder-Stack:        To determine the folder stack
+
+S\bSE\bEE\bE A\bAL\bLS\bSO\bO
+       refile(1), mhpath(1)
+
+D\bDE\bEF\bFA\bAU\bUL\bLT\bTS\bS
+       `+folder' defaults to the current folder
+       `msg' defaults to none
+       `-nofast'
+       `-noheader'
+       `-nototal'
+       `-nopack'
+       `-norecurse'
+       `-noverbose'
+       `-print' is the default if no `-list', `-push', or `-pop' is specified
+       `-list' is the default if `-push', or `-pop' is specified
+
+C\bCO\bON\bNT\bTE\bEX\bXT\bT
+       If `+folder' and/or `msg' are given, they will become  the
+       current folder and/or message.
+
+H\bHI\bIS\bST\bTO\bOR\bRY\bY
+       In  previous  versions of _\bM_\bH, the `-fast' switch prevented
+       context changes from occurring  for  the  current  folder.
+
+
+
+[mh.6]                        MH.6.8                            3
+
+
+
+
+
+
+
+
+FOLDER(1)              BSD Reference Manual             FOLDER(1)
+
+
+       This  is  no  longer the case: if `+folder' is given, then
+       _\bf_\bo_\bl_\bd_\be_\br will always change the current folder to that.
+
+B\bBU\bUG\bGS\bS
+       `-all' forces `-header' and `-total'.
+
+       There is no way to restore the default  behavior  (to  ask
+       the  user  whether  to create a non-existant folder) after
+       `-create' or `-nocreate' is given.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[mh.6]                        MH.6.8                            4
+
+
+
+
+
diff --git a/usr/src/contrib/mh-6.8.3a/doc/forw.man b/usr/src/contrib/mh-6.8.3a/doc/forw.man
new file mode 100644 (file)
index 0000000..7039af7
--- /dev/null
@@ -0,0 +1,330 @@
+
+
+
+FORW(1)                BSD Reference Manual               FORW(1)
+
+
+N\bNA\bAM\bME\bE
+       forw - forward messages
+
+S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
+       forw    [+folder]    [msgs]    [-annotate]   [-noannotate]
+            [-draftfolder +folder]            [-draftmessage msg]
+            [-nodraftfolder]      [-editor editor]      [-noedit]
+            [-filter filterfile]    [-form formfile]    [-format]
+            [-noformat] [-inplace] [-noinplace] [-mime] [-nomime]
+            [-whatnowproc program] [-nowhatnowproc] [-help]
+
+     forw   [+folder]   [msgs]   [-digest list]   [-issue number]
+            [-volume number] [other switches for _\bf_\bo_\br_\bw] [-help]
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+       _\bF_\bo_\br_\bw  may  be  used  to prepare a message containing other
+       messages.  It constructs the new message from  the  compo-
+       nents  file  or  `-form formfile' (see _\bc_\bo_\bm_\bp ), with a body
+       composed of the message(s) to be forwarded.  An editor  is
+       invoked  as  in  _\bc_\bo_\bm_\bp,  and after editing is complete, the
+       user is prompted before the message is sent.
+
+       The default message form contains the following elements:
+
+            To:
+            cc:
+            Subject:
+            --------
+
+       If the file named "forwcomps"  exists  in  the  user's  MH
+       directory,  it  will  be  used  instead  of this form.  In
+       either case, the file specified by  `-form formfile'  will
+       be used if given.
+
+       If  the  draft already exists, _\bf_\bo_\br_\bw will ask you as to the
+       disposition of the draft.  A  reply  of  q\bqu\bui\bit\bt  will  abort
+       _\bf_\bo_\br_\bw,  leaving  the draft intact; r\bre\bep\bpl\bla\bac\bce\be will replace the
+       existing draft with a blank skeleton; and l\bli\bis\bst\bt  will  dis-
+       play the draft.
+
+       If  the  `-annotate'  switch  is given, each message being
+       forwarded will be annotated with the lines
+
+            Forwarded: date
+            Forwarded: addrs
+
+       where  each  address  list  contains  as  many  lines   as
+       required.   This  annotation will be done only if the mes-
+       sage is sent directly from _\bf_\bo_\br_\bw.  If the  message  is  not
+       sent  immediately  from  _\bf_\bo_\br_\bw,  "comp -use" may be used to
+       re-edit  and  send  the  constructed  message,   but   the
+
+
+
+[mh.6]                        MH.6.8                            1
+
+
+
+
+
+
+
+
+FORW(1)                BSD Reference Manual               FORW(1)
+
+
+       annotations  won't  take  place.   The  '-inplace'  switch
+       causes annotation to be done in place in order to preserve
+       links to the annotated message.
+
+       See  _\bc_\bo_\bm_\bp (1)  for  a  description  of  the  `-editor' and
+       `-noedit' switches.
+
+       Although _\bf_\bo_\br_\bw uses the `-form formfile' switch  to  direct
+       it  how  to  construct  the  beginning  of  the draft, the
+       `-filter filterfile', `-format', and `-noformat'  switches
+       direct  _\bf_\bo_\br_\bw  as  to  how each forwarded message should be
+       formatted in the body of the  draft.   If  `-noformat'  is
+       specified,  then  each forwarded message is output exactly
+       as it appears.  If `-format'  or  `-filter filterfile'  is
+       specified,   then   each  forwarded  message  is  filtered
+       (re-formatted) prior to being output to the  body  of  the
+       draft.  The filter file for _\bf_\bo_\br_\bw should be a standard form
+       file for _\bm_\bh_\bl, as _\bf_\bo_\br_\bw will invoke _\bm_\bh_\bl to format  the  for-
+       warded messages.  The default message filter (what you get
+       with `-format') is:
+
+            width=80,overflowtext=,overflowoffset=10
+            leftadjust,compress,compwidth=9
+            Date:formatfield="%<(nodate{text})%{text}%|%(tws{text})%>"
+            From:
+            To:
+            cc:
+            Subject:
+            :
+            body:nocomponent,overflowoffset=0,noleftadjust,nocompress
+
+       If the file named "mhl.forward" exists in  the  user's  MH
+       directory,  it  will  be  used  instead  of this form.  In
+       either case, the file  specified  by  `-filter filterfile'
+       will  be  used  if  given.  To summarize: `-noformat' will
+       reproduce each forwarded message exactly,  `-format'  will
+       use _\bm_\bh_\bl and a default filterfile, "mhl.forward", to format
+       each forwarded message, and `-filter filterfile' will  use
+       the named filterfile to format each forwarded message with
+       _\bm_\bh_\bl.
+
+       Each forwarded message is separated with an  encapsulation
+       delimiter  and dashes in the first column of the forwarded
+       messages  will  be  prepended  with  `- '  so  that   when
+       received,   the   message  is  suitable  for  bursting  by
+       _\bb_\bu_\br_\bs_\bt (1).  This follows the Internet RFC-934  guidelines.
+
+       For   users  of  _\bp_\br_\bo_\bm_\bp_\bt_\be_\br (1),  by  specifying  prompter's
+       `-prepend' switch in the .mh_profile file, any  commentary
+       text  is  entered before the forwarded messages.  (A major
+       win!)
+
+
+
+[mh.6]                        MH.6.8                            2
+
+
+
+
+
+
+
+
+FORW(1)                BSD Reference Manual               FORW(1)
+
+
+       To use the  MIME  rules  for  encapsulation,  specify  the
+       `-mime' switch.  This directs _\bf_\bo_\br_\bw to generate an _\bm_\bh_\bn com-
+       position file.  Note that MH will not invoke _\bm_\bh_\bn automati-
+       cally, unless you  add this line to your .mh_profile file:
+
+            automhnproc: mhn
+
+       Otherwise, you must specifically give the command
+
+            What now? edit mhn
+
+       prior to sending the draft.
+
+       To automate this  somewhat,  create  a  link  to  _\bp_\br_\bo_\bm_\bp_\bt_\be_\br
+       called _\br_\ba_\bp_\bi_\bd and put these lines in your .mh_profile file:
+
+            forw: -editor rapid -mime
+            rapid: -rapid
+            rapid-next: mhn
+
+       Then, you can simply do:
+
+            _\bf_\bo_\br_\bw _\bm_\bs_\bg_\bs
+            To: _\bm_\ba_\bi_\bl_\bb_\bo_\bx
+            cc:
+            Subject: _\bw_\bh_\ba_\bt_\be_\bv_\be_\br
+
+            --------Enter initial text
+
+            _\bb_\bl_\ba_\bh_\b, _\bb_\bl_\ba_\bh_\b, _\bb_\bl_\ba_\bh_\b.
+            <CTRL-D>
+            --------
+
+            What now? _\be_\bd_\bi_\bt
+            What now? _\bs_\be_\bn_\bd
+
+       The _\be_\bd_\bi_\bt command invokes _\bm_\bh_\bn automatically.
+
+       The   `-draftfolder +folder'    and    `-draftmessage msg'
+       switches  invoke the _\bM_\bH draft folder facility.  This is an
+       advanced  (and  highly  useful)  feature.    Consult   the
+       A\bAd\bdv\bva\ban\bnc\bce\bed\bd F\bFe\bea\bat\btu\bur\bre\bes\bs section of the _\bM_\bH manual for more infor-
+       mation.
+
+       Upon exiting from the editor, _\bf_\bo_\br_\bw will invoke the _\bw_\bh_\ba_\bt_\bn_\bo_\bw
+       program.   See  _\bw_\bh_\ba_\bt_\bn_\bo_\bw (1)  for a discussion of available
+       options.  The invocation of this program can be  inhibited
+       by  using the `-nowhatnowproc' switch.  (In truth of fact,
+       it is the _\bw_\bh_\ba_\bt_\bn_\bo_\bw program which starts the  initial  edit.
+       Hence,  `-nowhatnowproc' will prevent any edit from occur-
+       ring.)
+
+
+
+[mh.6]                        MH.6.8                            3
+
+
+
+
+
+
+
+
+FORW(1)                BSD Reference Manual               FORW(1)
+
+
+       The `-digest list', `-issue number', and  `-volume number'
+       switches  implement  a digest facility for _\bM_\bH.  Specifying
+       these switches  enables  and/or  overloads  the  following
+       escapes:
+
+       _\bT_\by_\bp_\be       _\bE_\bs_\bc_\ba_\bp_\be  _\bR_\be_\bt_\bu_\br_\bn_\bs  _\bD_\be_\bs_\bc_\br_\bi_\bp_\bt_\bi_\bo_\bn
+       _\bc_\bo_\bm_\bp_\bo_\bn_\be_\bn_\bt  _\bd_\bi_\bg_\be_\bs_\bt  string   Argument to `-digest'
+       _\bf_\bu_\bn_\bc_\bt_\bi_\bo_\bn   _\bc_\bu_\br     integer  Argument to `-volume'
+       _\bf_\bu_\bn_\bc_\bt_\bi_\bo_\bn   _\bm_\bs_\bg     integer  Argument to `-issue'
+
+       Consult  the  A\bAd\bdv\bva\ban\bnc\bce\bed\bd  F\bFe\bea\bat\btu\bur\bre\bes\bs  section of the _\bM_\bH User's
+       Manual for more information on making digests.
+
+F\bFI\bIL\bLE\bES\bS
+       /usr/contrib/mh-6.8/lib/forwcomps         The message skeleton
+       or <mh-dir>/forwcomps                     Rather than the standard skeleton
+       /usr/contrib/mh-6.8/lib/digestcomps       The message skeleton if `-digest' is given
+       or <mh-dir>/digestcomps                   Rather than the standard skeleton
+       /usr/contrib/mh-6.8/lib/mhl.forward       The message filter
+       or <mh-dir>/mhl.forward                   Rather than the standard filter
+       $HOME/.mh_profile                         The user profile
+       <mh-dir>/draft                            The draft file
+
+P\bPR\bRO\bOF\bFI\bIL\bLE\bE C\bCO\bOM\bMP\bPO\bON\bNE\bEN\bNT\bTS\bS
+       Path:                To determine the user's MH directory
+       Current-Folder:      To find the default current folder
+       Draft-Folder:        To find the default draft-folder
+       Editor:              To override the default editor
+       Msg-Protect:         To set mode when creating a new message (draft)
+       fileproc:            Program to refile the message
+       mhlproc:             Program to filter messages being forwarded
+       whatnowproc:         Program to ask the "What now?" questions
+
+S\bSE\bEE\bE A\bAL\bLS\bSO\bO
+       _\bP_\br_\bo_\bp_\bo_\bs_\be_\bd _\bS_\bt_\ba_\bn_\bd_\ba_\br_\bd _\bf_\bo_\br _\bM_\be_\bs_\bs_\ba_\bg_\be _\bE_\bn_\bc_\ba_\bp_\bs_\bu_\bl_\ba_\bt_\bi_\bo_\bn (aka RFC-934),
+       comp(1),    dist(1),    repl(1),    send(1),   whatnow(1),
+       mh-format(5)
+
+D\bDE\bEF\bFA\bAU\bUL\bLT\bTS\bS
+       `+folder' defaults to the current folder
+       `msgs' defaults to cur
+       `-noannotate'
+       `-nodraftfolder'
+       `-noformat'
+       `-noinplace'
+       `-nomime'
+
+C\bCO\bON\bNT\bTE\bEX\bXT\bT
+       If a folder is given, it will become the  current  folder.
+       The  first  message forwarded will become the current mes-
+       sage.
+
+
+
+[mh.6]                        MH.6.8                            4
+
+
+
+
+
+
+
+
+FORW(1)                BSD Reference Manual               FORW(1)
+
+
+B\bBU\bUG\bGS\bS
+       If _\bw_\bh_\ba_\bt_\bn_\bo_\bw_\bp_\br_\bo_\bc is _\bw_\bh_\ba_\bt_\bn_\bo_\bw, then _\bf_\bo_\br_\bw uses a built-in _\bw_\bh_\ba_\bt_\b-
+       _\bn_\bo_\bw, it does not actually run the _\bw_\bh_\ba_\bt_\bn_\bo_\bw program.  Hence,
+       if you define your own _\bw_\bh_\ba_\bt_\bn_\bo_\bw_\bp_\br_\bo_\bc, don't call it  _\bw_\bh_\ba_\bt_\bn_\bo_\bw
+       since _\bf_\bo_\br_\bw won't run it.
+
+       When _\bf_\bo_\br_\bw is told to annotate the messages it forwards, it
+       doesn't actually annotate them until the draft is success-
+       fully  sent.  If from the _\bw_\bh_\ba_\bt_\bn_\bo_\bw_\bp_\br_\bo_\bc, you _\bp_\bu_\bs_\bh instead of
+       _\bs_\be_\bn_\bd, it's possible to confuse  _\bf_\bo_\br_\bw  by  re-ordering  the
+       file (e.g., by using `folder -pack') before the message is
+       successfully sent.  _\bD_\bi_\bs_\bt and _\br_\be_\bp_\bl don't have this problem.
+
+       To  avoid  prepending  the leading dash characters in for-
+       warded messages, there is a `-nodashmunging' option.   See
+       the  "Hidden  Features"  section of the _\bM_\bH _\bA_\bd_\bm_\bi_\bn_\bi_\bs_\bt_\br_\ba_\bt_\bo_\br_\b'_\bs
+       _\bG_\bu_\bi_\bd_\be for more details.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[mh.6]                        MH.6.8                            5
+
+
+
+
+
diff --git a/usr/src/contrib/mh-6.8.3a/doc/inc.man b/usr/src/contrib/mh-6.8.3a/doc/inc.man
new file mode 100644 (file)
index 0000000..aa201b5
--- /dev/null
@@ -0,0 +1,198 @@
+
+
+
+INC(1)                 BSD Reference Manual                INC(1)
+
+
+N\bNA\bAM\bME\bE
+       inc - incorporate new mail
+
+S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
+       inc  [+folder] [-audit audit-file] [-noaudit] [-changecur]
+            [-nochangecur]  [-form formatfile]   [-format string]
+            [-file name]    [-silent]   [-nosilent]   [-truncate]
+            [-notruncate]      [-width columns]      [-host host]
+            [-user user]   [-apop]  [-noapop]  [-rpop]  [-norpop]
+            [-pack file] [-nopack] [-help]
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+       _\bI_\bn_\bc incorporates mail from the user's incoming  mail  drop
+       into an _\bM_\bH folder.  If `+folder' isn't specified, a folder
+       in the user's _\bM_\bH directory will be used, either that spec-
+       ified  by the "Inbox:" entry in the user's profile, or the
+       folder named "inbox".  The new messages being incorporated
+       are assigned numbers starting with the next highest number
+       in the folder.   If  the  specified  (or  default)  folder
+       doesn't  exist, the user will be queried prior to its cre-
+       ation.  As the messages are processed, a _\bs_\bc_\ba_\bn  listing  of
+       the new mail is produced.
+
+       If the user's profile contains a "Msg-Protect: nnn" entry,
+       it will be used as the protection  on  the  newly  created
+       messages,  otherwise  the _\bM_\bH default of 0644 will be used.
+       During all operations on messages, this initially assigned
+       protection will be preserved for each message, so _\bc_\bh_\bm_\bo_\bd(1)
+       may be used to set a protection on an individual  message,
+       and its protection will be preserved thereafter.
+
+       If the switch `-audit audit-file' is specified (usually as
+       a default switch in the profile), then _\bi_\bn_\bc will  append  a
+       header line and a line per message to the end of the spec-
+       ified audit-file with the format:
+
+          inc date
+               <scan line for first message>
+               <scan line for second message>
+                         <etc.>
+
+       This is useful for keeping track of volume and  source  of
+       incoming mail.  Eventually, _\br_\be_\bp_\bl, _\bf_\bo_\br_\bw, _\bc_\bo_\bm_\bp, and _\bd_\bi_\bs_\bt may
+       also produce audits to this  (or  another)  file,  perhaps
+       with "Message-Id:" information to keep an exact correspon-
+       dence history.  "Audit-file" will  be  in  the  user's  MH
+       directory unless a full path is specified.
+
+       _\bI_\bn_\bc  will  incorporate  even improperly formatted messages
+       into the user's MH folder, inserting a blank line prior to
+       the offending component and printing a comment identifying
+
+
+
+[mh.6]                        MH.6.8                            1
+
+
+
+
+
+
+
+
+INC(1)                 BSD Reference Manual                INC(1)
+
+
+       the bad message.
+
+       In all cases, the user's mail drop will be zeroed,  unless
+       the `-notruncate' switch is given.
+
+       If  the  profile  entry  "Unseen-Sequence"  is present and
+       non-empty, then _\bi_\bn_\bc will add each of  the  newly  incorpo-
+       rated  messages  to  each  sequence  named  by the profile
+       entry.  This is similar to the "Previous-Sequence" profile
+       entry  supported  by  all _\bM_\bH commands which take `msgs' or
+       `msg'  arguments.   Note  that  _\bi_\bn_\bc  will  not  zero  each
+       sequence prior to adding messages.
+
+       The     interpretation    of    the    `-form formatfile',
+       `-format string', and  `-width columns'  switches  is  the
+       same as in _\bs_\bc_\ba_\bn (1).
+
+       By  using  the  `-file name' switch, one can direct _\bi_\bn_\bc to
+       incorporate messages from a file  other  than  the  user's
+       maildrop.   Note  that  the  name file will NOT be zeroed,
+       unless the `-truncate' switch is given.
+
+       If the envariable $\b$M\bMA\bAI\bIL\bLD\bDR\bRO\bOP\bP is set, then _\bi_\bn_\bc  uses  it  as
+       the location of the user's maildrop instead of the default
+       (the `-file name' switch still overrides  this,  however).
+       If  this  envariable is not set, then _\bi_\bn_\bc will consult the
+       profile entry "MailDrop" for  this  information.   If  the
+       value  found is not absolute, then it is interpreted rela-
+       tive to the user's _\bM_\bH directory.   If  the  value  is  not
+       found,  then _\bi_\bn_\bc will look in the standard system location
+       for the user's maildrop.
+
+       The `-silent' switch directs _\bi_\bn_\bc to be quiet and  not  ask
+       any  questions  at all.  This is useful for putting _\bi_\bn_\bc in
+       the background and going on to other things.
+
+       If the local host is configured as a POP client, or if the
+       `-host host'  switch is given, then _\bi_\bn_\bc will query the POP
+       service host as to the status of  mail  waiting.   If  the
+       `-user user'  switch  is not given, then the current user-
+       name is used.  Normally, _\bi_\bn_\bc will prompt for a password to
+       use.   However,  if  the `-apop' switch is given, _\bi_\bn_\bc will
+       generate authentication credentials to provide for  origin
+       authentication  and  replay  protection,  but which do not
+       involve sending a password in the clear over the  network.
+       Otherwise,  if  the `-rpop' switch is given, then _\bi_\bn_\bc will
+       try  to  use  a  "trusted"  connection  (ala  the  BSD  r-
+       commands).
+
+       If  _\bi_\bn_\bc  uses POP, then the `-pack file' switch is consid-
+       ered.  If given, then _\bi_\bn_\bc simply uses the POP to _\bp_\ba_\bc_\bk_\bf (1)
+
+
+
+[mh.6]                        MH.6.8                            2
+
+
+
+
+
+
+
+
+INC(1)                 BSD Reference Manual                INC(1)
+
+
+       the user's maildrop from the POP service host to the named
+       file.  This switch is provided for those users who  prefer
+       to use _\bm_\bs_\bh to read their maildrops.
+
+F\bFI\bIL\bLE\bES\bS
+       $HOME/.mh_profile                         The user profile
+       /usr/contrib/mh-6.8/lib/mtstailor         tailor file
+       /var/mail/$USER                           Location of mail drop
+
+P\bPR\bRO\bOF\bFI\bIL\bLE\bE C\bCO\bOM\bMP\bPO\bON\bNE\bEN\bNT\bTS\bS
+       Path:                To determine the user's MH directory
+       Alternate-Mailboxes: To determine the user's mailboxes
+       Inbox:               To determine the inbox, default "inbox"
+       Folder-Protect:      To set mode when creating a new folder
+       Msg-Protect:         To set mode when creating a new message and audit-file
+       Unseen-Sequence:     To name sequences denoting unseen messages
+
+S\bSE\bEE\bE A\bAL\bLS\bSO\bO
+       _\bP_\bo_\bs_\bt _\bO_\bf_\bf_\bi_\bc_\be _\bP_\br_\bo_\bt_\bo_\bc_\bo_\bl _\b- _\bv_\be_\br_\bs_\bi_\bo_\bn _\b3 (aka RFC-1081),
+       mhmail(1), scan(1), mh-mail(5), post(8)
+
+D\bDE\bEF\bFA\bAU\bUL\bLT\bTS\bS
+       `+folder' defaulted by "Inbox" above
+       `-noaudit'
+       `-changecur'
+       `-format' defaulted as described above
+       `-nosilent'
+       `-truncate' if `-file name' not given, `-notruncate' otherwise
+       `-width' defaulted to the width of the terminal
+       `-nopack'
+       `-rpop'
+
+C\bCO\bON\bNT\bTE\bEX\bXT\bT
+       The folder into which messages are being incorporated will
+       become the current folder.  The first message incorporated
+       will become the current message, unless the `-nochangecur'
+       option is specified.  This leaves the context ready for  a
+       _\bs_\bh_\bo_\bw of the first new message.
+
+B\bBU\bUG\bGS\bS
+       The  argument  to the `-format' switch must be interpreted
+       as a single token by the shell that invokes  _\bi_\bn_\bc.   There-
+       fore,  one  must usually place the argument to this switch
+       inside double-quotes.
+
+
+
+
+
+
+
+
+
+
+[mh.6]                        MH.6.8                            3
+
+
+
+
+
diff --git a/usr/src/contrib/mh-6.8.3a/doc/install-mh.man b/usr/src/contrib/mh-6.8.3a/doc/install-mh.man
new file mode 100644 (file)
index 0000000..e0094ed
--- /dev/null
@@ -0,0 +1,66 @@
+
+
+
+INSTALL-MH(8)      BSD System Manager's Manual      INSTALL-MH(8)
+
+
+N\bNA\bAM\bME\bE
+       install-mh - initialize the MH environment
+
+S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
+       /usr/contrib/mh-6.8/lib/install-mh [-auto] [-compat]
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+       When  a  user  runs any _\bM_\bH program for the first time, the
+       program will invoke _\bi_\bn_\bs_\bt_\ba_\bl_\bl_\b-_\bm_\bh (with the  `-auto'  switch)
+       to  query  the  user  for the initial _\bM_\bH environment.  The
+       user does N\bNO\bOT\bT invoke this program directly.  The  user  is
+       asked  for  the  name of the directory that will be desig-
+       nated as the user's _\bM_\bH directory.  If this directory  does
+       not  exist,  the  user  is  asked if it should be created.
+       Normally, this directory should be under the  user's  home
+       directory,  and  has  the  default  name  of Mail/.  After
+       _\bi_\bn_\bs_\bt_\ba_\bl_\bl_\b-_\bm_\bh has written the  initial  .mh_profile  for  the
+       user, control returns to the original _\bM_\bH program.
+
+       As  with  all  _\bM_\bH  commands, _\bi_\bn_\bs_\bt_\ba_\bl_\bl_\b-_\bm_\bh first consults the
+       $\b$H\bHO\bOM\bME\bE envariable to determine the user's  home  directory.
+       If  $\b$H\bHO\bOM\bME\bE  is  not  set, then the _\b/_\be_\bt_\bc_\b/_\bp_\ba_\bs_\bs_\bw_\bd file is con-
+       sulted.
+
+       When converting from _\bm_\bh_\b._\b3 to _\bm_\bh_\b._\b4, _\bi_\bn_\bs_\bt_\ba_\bl_\bl_\b-_\bm_\bh is automati-
+       cally invoked with the `-compat' switch.
+
+F\bFI\bIL\bLE\bES\bS
+       $HOME/.mh_profile                         The user profile
+
+P\bPR\bRO\bOF\bFI\bIL\bLE\bE C\bCO\bOM\bMP\bPO\bON\bNE\bEN\bNT\bTS\bS
+       Path:                To set the user's MH directory
+
+C\bCO\bON\bNT\bTE\bEX\bXT\bT
+       With `-auto', the current folder is changed to "inbox".
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[mh.6]                        MH.6.8                            1
+
+
+
+
+
diff --git a/usr/src/contrib/mh-6.8.3a/doc/mark.man b/usr/src/contrib/mh-6.8.3a/doc/mark.man
new file mode 100644 (file)
index 0000000..783f3e1
--- /dev/null
@@ -0,0 +1,198 @@
+
+
+
+MARK(1)                BSD Reference Manual               MARK(1)
+
+
+N\bNA\bAM\bME\bE
+       mark - mark messages
+
+S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
+       mark   [+folder]   [msgs]   [-sequence name ...]    [-add]
+            [-delete]  [-list]  [-public]   [-nopublic]   [-zero]
+            [-nozero] [-help]
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+       The  _\bm_\ba_\br_\bk  command manipulates message sequences by adding
+       or deleting message numbers from  folder-specific  message
+       sequences,  or by listing those sequences and messages.  A
+       message sequence is  a  keyword,  just  like  one  of  the
+       "reserved"  message  names,  such  as  "first"  or "next".
+       Unlike the "reserved" message names, which  have  a  fixed
+       semantics  on  a per-folder basis, the semantics of a mes-
+       sage sequence may be defined, modified, and removed by the
+       user.   Message  sequences  are folder-specific, e.g., the
+       sequence name "seen" in the  context  of  folder  "+inbox"
+       need  not  have any relation whatsoever to the sequence of
+       the same name in a folder of a different name.
+
+       Three action switches direct the operation of _\bm_\ba_\br_\bk.  These
+       switches  are  mutually  exclusive: the last occurrence of
+       any of them overrides any previous occurrence of the other
+       two.
+
+       The  `-add' switch tells _\bm_\ba_\br_\bk to add messages to sequences
+       or to create a new sequence.  For each sequence named  via
+       the  `-sequence name'  argument (which must occur at least
+       once) the messages named via  `msgs'  (which  defaults  to
+       "cur"  if no `msgs' are given), are added to the sequence.
+       The messages to be added  need  not  be  absent  from  the
+       sequence.    If  the  `-zero'  switch  is  specified,  the
+       sequence will be emptied prior  to  adding  the  messages.
+       Hence,  `-add -zero'  means  that  each sequence should be
+       initialized   to    the    indicated    messages,    while
+       `-add -nozero' means that each sequence should be appended
+       to by the indicated messages.
+
+       The `-delete' switch tells _\bm_\ba_\br_\bk to  delete  messages  from
+       sequences,  and  is  the  dual of `-add'.  For each of the
+       named sequences, the named messages are removed  from  the
+       sequence.   These  messages need not be already present in
+       the sequence.  If the `-zero' switch  is  specified,  then
+       all  messages  in  the folder are appended to the sequence
+       prior to removing the  messages.   Hence,  `-delete -zero'
+       means  that  each  sequence  should  contain  all messages
+       except those indicated, while `-delete -nozero' means that
+       only  the  indicated  messages should be removed from each
+       sequence.       As       expected,       the       command
+
+
+
+[mh.6]                        MH.6.8                            1
+
+
+
+
+
+
+
+
+MARK(1)                BSD Reference Manual               MARK(1)
+
+
+       `mark -sequence seen -delete all'   deletes  the  sequence
+       "seen" from the current folder.
+
+       When creating (or modifying)  a  sequence,  the  `-public'
+       switch indicates that the sequence should be made readable
+       for other _\bM_\bH users.  In contrast, the  `-nopublic'  switch
+       indicates  that  the  sequence  should  be  private to the
+       user's _\bM_\bH environment.
+
+       The `-list' switch tells _\bm_\ba_\br_\bk to list both  the  sequences
+       defined  for  the  folder and the messages associated with
+       those sequences.  _\bM_\ba_\br_\bk will list the name of each sequence
+       given by `-sequence name' and the messages associated with
+       that sequence.  If `-sequence' isn't used,  all  sequences
+       will be listed, with private sequences being so indicated.
+       The `-zero'  switch  does  not  affect  the  operation  of
+       `-list'.
+
+       The current restrictions on sequences are:
+
+         The  name used to denote a message sequence must consist
+         of an alphabetic character  followed  by  zero  or  more
+         alphanumeric  characters,  and  cannot  be  one  of  the
+         (reserved) message names "new", "first", "last",  "all",
+         "next", or "prev".
+
+         Only  a certain number of sequences may be defined for a
+         given folder.  This number is usually limited to 26  (10
+         on small systems).
+
+         Message  ranges  with  user-defined  sequence  names are
+         restricted to the form "name:n" or "name:-n", and  refer
+         to  the  first  or  last  `n'  messages  of the sequence
+         `name',   respectively.    Constructs   of   the    form
+         "name1-name2" are forbidden.
+
+F\bFI\bIL\bLE\bES\bS
+       $HOME/.mh_profile                         The user profile
+
+P\bPR\bRO\bOF\bFI\bIL\bLE\bE C\bCO\bOM\bMP\bPO\bON\bNE\bEN\bNT\bTS\bS
+       Path:                To determine the user's MH directory
+       Current-Folder:      To find the default current folder
+
+S\bSE\bEE\bE A\bAL\bLS\bSO\bO
+       pick (1), mh-sequence (5)
+
+D\bDE\bEF\bFA\bAU\bUL\bLT\bTS\bS
+       `+folder' defaults to the current folder
+       `-add' if `-sequence' is specified, `-list' otherwise
+       `msgs' defaults to cur (or all if `-list' is specified)
+       `-nopublic' if the folder is read-only, `-public' otherwise
+
+
+
+[mh.6]                        MH.6.8                            2
+
+
+
+
+
+
+
+
+MARK(1)                BSD Reference Manual               MARK(1)
+
+
+       `-nozero'
+
+C\bCO\bON\bNT\bTE\bEX\bXT\bT
+       If a folder is given, it will become the current folder.
+
+H\bHE\bEL\bLP\bPF\bFU\bUL\bL H\bHI\bIN\bNT\bTS\bS
+       Use  "pick  sequence -list" to enumerate the messages in a
+       sequence (such as for use by a shell script).
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[mh.6]                        MH.6.8                            3
+
+
+
+
+
diff --git a/usr/src/contrib/mh-6.8.3a/doc/mh-alias.man b/usr/src/contrib/mh-6.8.3a/doc/mh-alias.man
new file mode 100644 (file)
index 0000000..905d859
--- /dev/null
@@ -0,0 +1,264 @@
+
+
+
+MH-ALIAS(5)          BSD Programmer's Manual          MH-ALIAS(5)
+
+
+N\bNA\bAM\bME\bE
+       mh-alias - alias file for MH message system
+
+S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
+       any _\bM_\bH command
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+       This  describes both _\bM_\bH personal alias files and the (pri-
+       mary) alias file for mail delivery, the file
+
+            /usr/contrib/mh-6.8/lib/MailAliases
+
+       It does n\bno\bot\bt describe aliases files  used  by  the  message
+       transport  system.   Each  line  of the alias file has the
+       format:
+
+            alias : address-group
+       or
+            alias ; address-group
+       or
+            < alias-file
+       or
+            ; comment
+
+       where:
+
+            address-group  :=  address-list
+                        |   "<" file
+                        |   "=" UNIX-group
+                        |   "+" UNIX-group
+                        |   "*"
+
+            address-list   :=  address
+                        |   address-list, address
+
+       Continuation lines in alias files end with `\' followed by
+       the newline character.
+
+       Alias-file  and file are UNIX file names.  UNIX-group is a
+       group name (or number) from _\b/_\be_\bt_\bc_\b/_\bg_\br_\bo_\bu_\bp.  An address  is  a
+       "simple"  Internet-style  address.   Througout  this file,
+       case is ignored, except for alias-file names.
+
+       If the line starts with a `<', then the file  named  after
+       the  `<'  is read for more alias definitions.  The reading
+       is done recursively, so a `<' may occur in  the  beginning
+       of an alias file with the expected results.
+
+       If  the  address-group  starts  with  a `<', then the file
+       named after the `<' is read and its contents are added  to
+       the address-list for the alias.
+
+
+
+[mh.6]                        MH.6.8                            1
+
+
+
+
+
+
+
+
+MH-ALIAS(5)          BSD Programmer's Manual          MH-ALIAS(5)
+
+
+       If  the  address-group  starts  with an `=', then the file
+       _\b/_\be_\bt_\bc_\b/_\bg_\br_\bo_\bu_\bp is consulted for the UNIX-group named after the
+       `='.   Each  login name occurring as a member of the group
+       is added to the address-list for the alias.
+
+       In contrast, if the address-group starts with a `+',  then
+       the file _\b/_\be_\bt_\bc_\b/_\bg_\br_\bo_\bu_\bp is consulted to determine the group-id
+       of the UNIX-group named after the `+'.   Each  login  name
+       occurring  in the _\b/_\be_\bt_\bc_\b/_\bp_\ba_\bs_\bs_\bw_\bd file whose group-id is indi-
+       cated by this group is added to the address-list  for  the
+       alias.
+
+       If   the  address-group  is  simply  `*',  then  the  file
+       _\b/_\be_\bt_\bc_\b/_\bp_\ba_\bs_\bs_\bw_\bd is consulted and all login names with a userid
+       greater  than some magic number (usually 200) are added to
+       the address-list for the alias.
+
+       In match, a trailing * on an alias will match  just  about
+       anything appropriate.  (See example below.)
+
+       An  approximation of the way aliases are resolved at post-
+       ing time is (it's not really done this way):
+
+            1) Build a list of all addresses from the message  to
+            be delivered, eliminating duplicate addresses.
+
+            2)  If  this draft originated on the local host, then
+            for those addresses in the message that have no  host
+            specified, perform alias resolution.
+
+            3)  For  each line in the alias file, compare "alias"
+            against all of the existing addresses.  If  a  match,
+            remove the matched "alias" from the address list, and
+            add each new address  in  the  address-group  to  the
+            address  list  if it is not already on the list.  The
+            alias  itself  is  not  usually  output,  rather  the
+            address-group  that  the  alias  maps  to  is  output
+            instead.  If "alias" is terminated with a `;' instead
+            of  a  `:', then both the "alias" and the address are
+            output in the correct format.   (This  makes  replies
+            possible  since  _\bM_\bH  aliases and personal aliases are
+            unknown to the mail transport system.)
+
+       Since the alias file is read line by line, forward  refer-
+       ences  work,  but  backward references are not recognized,
+       thus, there is no recursion.
+
+
+
+
+
+
+
+
+[mh.6]                        MH.6.8                            2
+
+
+
+
+
+
+
+
+MH-ALIAS(5)          BSD Programmer's Manual          MH-ALIAS(5)
+
+
+       E\bEx\bxa\bam\bmp\bpl\ble\be:\b:
+            </usr/contrib/mh-6.8/lib/BBoardAliases
+            sgroup: fred, fear, freida
+            b-people: Blind List: bill, betty;
+            fred: frated@UCI
+            UNIX-committee: <unix.aliases
+            staff: =staff
+            wheels: +wheel
+            everyone: *
+            news.*: news
+
+       The first line says that more aliases  should  immediately
+       be           read          from          the          file
+       _\b/_\bu_\bs_\br_\b/_\bc_\bo_\bn_\bt_\br_\bi_\bb_\b/_\bm_\bh_\b-_\b6_\b._\b8_\b/_\bl_\bi_\bb_\b/_\bB_\bB_\bo_\ba_\br_\bd_\bA_\bl_\bi_\ba_\bs_\be_\bs.   Following   this,
+       "fred"  is  defined  as  an  alias  for  "frated@UCI", and
+       "sgroup" is defined  as  an  alias  for  the  three  names
+       "frated@UCI", "fear", and "freida".
+
+       The  alias  "b-people"  is a blind list which includes the
+       addresses "bill" and "betty"; the message will be delieved
+       to those addresses, but the message header will  show only
+       "Blind List: ;" (not the addresses).
+
+       Next, the definition of "UNIX-committee" is given by read-
+       ing  the  file  _\bu_\bn_\bi_\bx_\b._\ba_\bl_\bi_\ba_\bs_\be_\bs  in  the  users _\bM_\bH directory,
+       "staff" is defined as all users who are listed as  members
+       of  the group "staff" in the _\b/_\be_\bt_\bc_\b/_\bg_\br_\bo_\bu_\bp file, and "wheels"
+       is defined as all users whose group-id in  _\b/_\be_\bt_\bc_\b/_\bp_\ba_\bs_\bs_\bw_\bd  is
+       equivalent to the "wheel" group.
+
+       Finally, "everyone" is defined as all users with a user-id
+       in _\b/_\be_\bt_\bc_\b/_\bp_\ba_\bs_\bs_\bw_\bd greater than 200, and all  aliases  of  the
+       form "news.<anything>" are defined to be "news".
+
+       The  key  thing to understand about aliasing in _\bM_\bH is that
+       aliases in _\bM_\bH alias files are expanded into the headers of
+       messages  posted.   This aliasing occurs first, at posting
+       time, without the knowledge of the message transport  sys-
+       tem.   In  contrast,  once the message transport system is
+       given a message to deliver to a  list  of  addresses,  for
+       each address that appears to be local, a system-wide alias
+       file is consulted.  These aliases are  N\bNO\bOT\bT  expanded  into
+       the headers of messages delivered.
+
+H\bHE\bEL\bLP\bPF\bFU\bUL\bL H\bHI\bIN\bNT\bTS\bS
+       To use aliasing in _\bM_\bH quickly, do the following:
+
+            First,  in  your  _\b._\bm_\bh_\b__\bp_\br_\bo_\bf_\bi_\bl_\be, choose a name for your
+            alias file, say "aliases", and add the line:
+
+                 Aliasfile: aliases
+
+
+
+[mh.6]                        MH.6.8                            3
+
+
+
+
+
+
+
+
+MH-ALIAS(5)          BSD Programmer's Manual          MH-ALIAS(5)
+
+
+            Second, create the file "aliases" in your  _\bM_\bH  direc-
+            tory.
+
+            Third, start adding aliases to your "aliases" file as
+            appropriate.
+
+F\bFI\bIL\bLE\bES\bS
+       /usr/contrib/mh-6.8/lib/MailAliases       Primary alias file
+
+P\bPR\bRO\bOF\bFI\bIL\bLE\bE C\bCO\bOM\bMP\bPO\bON\bNE\bEN\bNT\bTS\bS
+       Aliasfile:           For a default alias file
+
+S\bSE\bEE\bE A\bAL\bLS\bSO\bO
+       ali(1),  send(1),  whom(1),  group(5),   passwd(5),   con-
+       flict(8), post(8)
+
+D\bDE\bEF\bFA\bAU\bUL\bLT\bTS\bS
+       None
+
+C\bCO\bON\bNT\bTE\bEX\bXT\bT
+       None
+
+H\bHI\bIS\bST\bTO\bOR\bRY\bY
+       In  previous  releases  of  _\bM_\bH, only a single, system-wide
+       mh-alias file was supported.  This  led  to  a  number  of
+       problems, since only mail-system administrators were capa-
+       ble of (un)defining  aliases.   Hence,  the  semantics  of
+       mh-alias  were  extended  to support personal alias files.
+       Users of _\bM_\bH no longer need to bother mail-system  adminis-
+       trators  for  keeping information in the system-wide alias
+       file, as each _\bM_\bH user can create/modify/remove aliases  at
+       will from any number of personal files.
+
+B\bBU\bUG\bGS\bS
+       Although  the  forward-referencing  semantics  of _\bm_\bh_\b-_\ba_\bl_\bi_\ba_\bs
+       files prevent recursion, the  "< alias-file"  command  may
+       defeat  this.   Since  the  number  of file descriptors is
+       finite (and very limited), such  infinite  recursion  will
+       terminate  with  a meaningless diagnostic when all the fds
+       are used up.
+
+       Forward references do  not  work  correctly  inside  blind
+       lists.
+
+
+
+
+
+
+
+
+
+
+
+[mh.6]                        MH.6.8                            4
+
+
+
+
+
diff --git a/usr/src/contrib/mh-6.8.3a/doc/mh-chart.man b/usr/src/contrib/mh-6.8.3a/doc/mh-chart.man
new file mode 100644 (file)
index 0000000..7968cc2
--- /dev/null
@@ -0,0 +1,330 @@
+
+
+
+MH-CHART(1)            BSD Reference Manual           MH-CHART(1)
+
+
+N\bNA\bAM\bME\bE
+       mh-chart - Chart of MH Commands
+
+S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
+     ali [-alias aliasfile] [-list] [-nolist] [-normalize]
+          [-nonormalize] [-user] [-nouser] aliases ...  [-help]
+
+     anno [+folder] [msgs] [-component field] [-inplace]
+          [-noinplace] [-date] [-nodate] [-text body] [-help]
+
+     bbc [bboards ...]  [-topics] [-check] [-read] [-quiet]
+          [-verbose] [-archive] [-noarchive] [-protocol]
+          [-noprotocol] [-mshproc program] [switches for _\bm_\bs_\bh_\bp_\br_\bo_\bc]
+          [-rcfile rcfile] [-norcfile] [-file BBoardsfile]
+          [-user BBoardsuser] [-host host] [-help]
+
+     burst [+folder] [msgs] [-inplace] [-noinplace] [-quiet]
+          [-noquiet] [-verbose] [-noverbose] [-help]
+
+     comp [+folder] [msg] [-draftfolder +folder]
+          [-draftmessage msg] [-nodraftfolder] [-editor editor]
+          [-noedit] [-file file] [-form formfile] [-use] [-nouse]
+          [-whatnowproc program] [-nowhatnowproc] [-help]
+
+     dist [+folder] [msg] [-annotate] [-noannotate]
+          [-draftfolder +folder] [-draftmessage msg]
+          [-nodraftfolder] [-editor editor] [-noedit]
+          [-form formfile] [-inplace] [-noinplace]
+          [-whatnowproc program] [-nowhatnowproc] [-help]
+
+     /usr/contrib/mh-6.8/lib/fmtdump [-form formatfile]
+          [-format string] [-help]
+
+     folder [+folder] [msg] [-all] [-fast] [-nofast] [-header]
+          [-noheader] [-pack] [-nopack] [-recurse] [-norecurse]
+          [-total] [-nototal] [-print] [-noprint] [-list]
+          [-nolist] [-push] [-pop] [-help]
+
+     folders
+
+     forw [+folder] [msgs] [-annotate] [-noannotate]
+          [-draftfolder +folder] [-draftmessage msg]
+          [-nodraftfolder] [-editor editor] [-noedit]
+          [-filter filterfile] [-form formfile] [-format]
+          [-noformat] [-inplace] [-noinplace] [-mime] [-nomime]
+          [-whatnowproc program] [-nowhatnowproc] [-help]
+
+
+
+
+
+
+
+
+[mh.6]                        MH.6.8                            1
+
+
+
+
+
+
+
+
+MH-CHART(1)            BSD Reference Manual           MH-CHART(1)
+
+
+     forw [+folder] [msgs] [-digest list] [-issue number]
+          [-volume number] [other switches for _\bf_\bo_\br_\bw] [-help]
+
+     inc [+folder] [-audit audit-file] [-noaudit] [-changecur]
+          [-nochangecur] [-file name] [-form formatfile]
+          [-format string] [-silent] [-nosilent] [-truncate]
+          [-notruncate] [-width columns] [-host host]
+          [-user user] [-apop] [-noapop] [-rpop] [-norpop]
+          [-pack file] [-nopack] [-help]
+
+     mark [+folder] [msgs] [-sequence name ...]  [-add] [-delete]
+          [-list] [-public] [-nopublic] [-zero] [-nozero] [-help]
+
+     /usr/contrib/mh-6.8/lib/mhl [-bell] [-nobell] [-clear]
+          [-noclear] [-folder +folder] [-form formfile]
+          [-length lines] [-width columns] [-moreproc program]
+          [-nomoreproc] [files ...]  [-help]
+
+     mhmail [ addrs ...  [-body text] [-cc addrs ...]
+          [-from addr] [-subject subject]] [-help]
+
+     mhn [[+folder] [msgs] | [-file file]]
+          [-part number]... [-type content]...
+          [-list [-headers] [-noheaders]
+                 [-realsize] [-norealsize]] [-nolist]
+          [-show [-serialonly] [-noserialonly]
+                 [-form formfile] [-pause] [-nopause]] [-noshow]
+          [-store [-auto] [-noauto]] [-nostore]
+          [-cache] [-nocache] [-rcache policy] [-wcache policy]
+          [-check] [-nocheck]
+          [-ebcdicsafe] [-noebcdicsafe]
+          [-rfc934mode] [-norfc934mode]
+          [-verbose] [-noverbose]
+          [-help]
+
+     mhparam [profile-components] [-components] [-nocomponents]
+          [-all] [-help]
+
+     mhpath [+folder] [msgs] [-help]
+
+     msgchk [-date] [-nodate] [-notify all/mail/nomail]
+          [-nonotify all/mail/nomail] [-host host] [-user user]
+          [-apop] [-noapop] [-rpop] [-norpop] [users ...]
+          [-help]
+
+     msh [-prompt string] [-scan] [-noscan] [-topcur] [-notopcur]
+          [file] [-help]
+
+
+
+
+
+
+
+[mh.6]                        MH.6.8                            2
+
+
+
+
+
+
+
+
+MH-CHART(1)            BSD Reference Manual           MH-CHART(1)
+
+
+     next [+folder] [-header] [-noheader] [-showproc program]
+          [-noshowproc] [switches for _\bs_\bh_\bo_\bw_\bp_\br_\bo_\bc] [-help]
+
+     packf [+folder] [msgs] [-file name] [-help]
+
+     pick [+folder] [msgs] [-and ...] [-or ...] [-not ...]
+          [-lbrace ... -rbrace] [--component pattern]
+          [-after date] [-before date] [-datefield field]
+          [-sequence name ...]  [-public] [-nopublic] [-zero]
+          [-nozero] [-list] [-nolist] [-help]
+
+
+     prev [+folder] [-header] [-noheader] [-showproc program]
+          [-noshowproc] [switches for _\bs_\bh_\bo_\bw_\bp_\br_\bo_\bc] [-help]
+
+     prompter [-erase chr] [-kill chr] [-prepend] [-noprepend]
+          [-rapid] [-norapid] [-doteof] [-nodoteof] file [-help]
+
+     /usr/contrib/mh-6.8/lib/rcvstore [+folder] [-create]
+          [-nocreate] [-sequence name ...]  [-public] [-nopublic]
+          [-zero] [-nozero] [-help]
+
+     refile [msgs] [-draft] [-link] [-nolink] [-preserve]
+          [-nopreserve] [-src +folder] [-file file] +folder ...
+          [-help]
+
+     repl [+folder] [msg] [-annotate] [-noannotate]
+          [-cc all/to/cc/me] [-nocc all/to/cc/me]
+          [-draftfolder +folder] [-draftmessage msg]
+          [-nodraftfolder] [-editor editor] [-noedit]
+          [-fcc +folder] [-filter filterfile] [-form formfile]
+          [-inplace] [-noinplace] [-query] [-noquery]
+          [-whatnowproc program] [-nowhatnowproc]
+          [-width columns] [-help]
+
+     rmf [+folder] [-interactive] [-nointeractive] [-help]
+
+     rmm [+folder] [msgs] [-help]
+
+     scan [+folder] [msgs] [-clear] [-noclear] [-form formatfile]
+          [-format string] [-header] [-noheader] [-width columns]
+          [-reverse] [-noreverse] [-file filename] [-help]
+
+
+
+
+
+
+
+
+
+
+
+
+[mh.6]                        MH.6.8                            3
+
+
+
+
+
+
+
+
+MH-CHART(1)            BSD Reference Manual           MH-CHART(1)
+
+
+     send [-alias aliasfile] [-draft] [-draftfolder +folder]
+          [-draftmessage msg] [-nodraftfolder] [-filter filter-
+          file] [-nofilter] [-format] [-noformat] [-forward]
+          [-noforward] [-mime] [-nomime] [-msgid] [-nomsgid]
+          [-push] [-nopush] [-split seconds] [-verbose]
+          [-noverbose] [-watch] [-nowatch] [-width columns]
+          [file ...]  [-help]
+
+     show [+folder] [msgs] [-draft] [-header] [-noheader]
+          [-showproc program] [-noshowproc] [switches for _\bs_\bh_\bo_\bw_\b-
+          _\bp_\br_\bo_\bc] [-help]
+
+     sortm [+folder] [msgs] [-datefield field] [-textfield field]
+          [-notextfield] [-limit days] [-nolimit] [-verbose]
+          [-noverbose] [-help]
+
+     vmh [-prompt string] [-vmhproc program] [-novmhproc]
+          [switches for _\bv_\bm_\bh_\bp_\br_\bo_\bc] [-help]
+
+     whatnow [-draftfolder +folder] [-draftmessage msg]
+          [-nodraftfolder] [-editor editor] [-noedit]
+          [-prompt string] [file] [-help]
+
+     whom [-alias aliasfile] [-check] [-nocheck] [-draft]
+          [-draftfolder +folder] [-draftmessage msg]
+          [-nodraftfolder] [file] [-help]
+
+     /usr/contrib/mh-6.8/lib/ap [-form formatfile]
+          [-format string] [-normalize] [-nonormalize]
+          [-width columns] addrs ...  [-help]
+
+     /usr/contrib/mh-6.8/lib/conflict [-mail name]
+          [-search directory] [aliasfiles ...]  [-help]
+
+     /usr/contrib/mh-6.8/lib/dp [-form formatfile]
+          [-format string] [-width columns] dates ...  [-help]
+
+     /usr/contrib/mh-6.8/lib/install-mh [-auto] [-compat]
+
+     /usr/contrib/mh-6.8/lib/post [-alias aliasfile]
+          [-filter filterfile] [-nofilter] [-format] [-noformat]
+          [-mime] [-nomime] [-msgid] [-nomsgid] [-verbose]
+          [-noverbose] [-watch] [-nowatch] [-width columns] file
+          [-help]
+
+
+
+
+
+
+
+
+
+
+[mh.6]                        MH.6.8                            4
+
+
+
+
+
+
+
+
+MH-CHART(1)            BSD Reference Manual           MH-CHART(1)
+
+
+     /usr/contrib/mh-6.8/lib/slocal [address info sender]
+          [-addr address] [-info data] [-sender sender]
+          [-user username] [-mailbox mbox] [-file file]
+          [-maildelivery deliveryfile] [-verbose] [-noverbose]
+          [-debug] [-help]
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[mh.6]                        MH.6.8                            5
+
+
+
+
+
diff --git a/usr/src/contrib/mh-6.8.3a/doc/mh-format.man b/usr/src/contrib/mh-6.8.3a/doc/mh-format.man
new file mode 100644 (file)
index 0000000..24888aa
--- /dev/null
@@ -0,0 +1,594 @@
+
+
+
+MH-FORMAT(5)         BSD Programmer's Manual         MH-FORMAT(5)
+
+
+N\bNA\bAM\bME\bE
+       mh-format - format file for MH message system
+
+S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
+       some _\bM_\bH commands
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+       Several  _\bM_\bH  commands  utilize either a _\bf_\bo_\br_\bm_\ba_\bt string or a
+       _\bf_\bo_\br_\bm_\ba_\bt file during their execution.  For example, _\bs_\bc_\ba_\bn (1)
+       uses  a format string which directs it how to generate the
+       scan listing for each message; _\br_\be_\bp_\bl (1) uses a format file
+       which  directs  it how to generate the reply to a message,
+       and so on.
+
+       Format strings are designed to be efficiently parsed by _\bM_\bH
+       which  means  they are not necessarily simple to write and
+       understand.  This  means  that  novice,  casual,  or  even
+       advanced  users  of  _\bM_\bH should not have to deal with them.
+       Some    canned    scan    listing    formats    are     in
+       /usr/contrib/mh-6.8/lib/scan.time,
+       /usr/contrib/mh-6.8/lib/scan.size,                     and
+       /usr/contrib/mh-6.8/lib/scan.timely.         Look       in
+       /usr/contrib/mh-6.8/lib for other  _\bs_\bc_\ba_\bn  and  _\br_\be_\bp_\bl  format
+       files which may have been written at your site.
+
+       It  suffices  to  have your local _\bM_\bH expert actually write
+       new format commands or modify existing ones.  This  manual
+       section  explains  how to do that.  Note: familiarity with
+       the C _\bp_\br_\bi_\bn_\bt_\bf routine is assumed.
+
+       A format string consists of  ordinary  text,  and  special
+       multi-character  _\be_\bs_\bc_\ba_\bp_\be  sequences  which  begin with `%'.
+       When specifying a format string,  the  usual  C  backslash
+       characters  are honored: `\b', `\f', `\n', `\r', and `\t'.
+       Continuation lines in format files end with  `\'  followed
+       by the newline character.  There are three types of _\be_\bs_\bc_\ba_\bp_\be
+       sequences: header _\bc_\bo_\bm_\bp_\bo_\bn_\be_\bn_\bt_\bs, built-in _\bf_\bu_\bn_\bc_\bt_\bi_\bo_\bn_\bs, and flow
+       _\bc_\bo_\bn_\bt_\br_\bo_\bl.
+
+       A  _\bc_\bo_\bm_\bp_\bo_\bn_\be_\bn_\bt  escape  is  specified as `%{_\bc_\bo_\bm_\bp_\bo_\bn_\be_\bn_\bt}', and
+       exists for each header found in  the  message  being  pro-
+       cessed.  For example `%{date}' refers to the "Date:" field
+       of the appropriate message.  All component escapes have  a
+       string  value.   Normally, component values are compressed
+       by converting any  control  characters  (tab  and  newline
+       included)  to spaces, then eliding any leading or multiple
+       spaces.  However, commands may give different  interpreta-
+       tions  to some component escapes; be sure to refer to each
+       command's manual entry for complete details.
+
+       A _\bf_\bu_\bn_\bc_\bt_\bi_\bo_\bn escape  is  specified  as  `%(_\bf_\bu_\bn_\bc_\bt_\bi_\bo_\bn)'.   All
+
+
+
+[mh.6]                        MH.6.8                            1
+
+
+
+
+
+
+
+
+MH-FORMAT(5)         BSD Programmer's Manual         MH-FORMAT(5)
+
+
+       functions  are built-in, and most have a string or numeric
+       value.
+
+
+   C\bCo\bon\bnt\btr\bro\bol\bl-\b-f\bfl\blo\bow\bw e\bes\bsc\bca\bap\bpe\bes\bs
+       A _\bc_\bo_\bn_\bt_\br_\bo_\bl escape is one of: `%<',  `%?',  `%|',  or  `%>'.
+       These  are  combined  into  the conditional execution con-
+       struct:
+
+            %<condition
+                 _\bf_\bo_\br_\bm_\ba_\bt _\bt_\be_\bx_\bt _\b1
+            %?condition2
+                 _\bf_\bo_\br_\bm_\ba_\bt _\bt_\be_\bx_\bt _\b2
+            %?condition3
+                 _\bf_\bo_\br_\bm_\ba_\bt _\bt_\be_\bx_\bt _\b3
+            ...
+            %|
+                 _\bf_\bo_\br_\bm_\ba_\bt _\bt_\be_\bx_\bt _\bN
+            %>
+
+       Extra white space is shown here only for  clarity.   These
+       constructs  may  be nested without ambiguity.  They form a
+       general i\bif\bf-\b-e\bel\bls\bse\bei\bif\bf-\b-e\bel\bls\bse\be-\b-e\ben\bnd\bdi\bif\bf block where only one  of  the
+       _\bf_\bo_\br_\bm_\ba_\bt _\bt_\be_\bx_\bt segments is interpreted.
+
+       The `%<' and `%?' control escapes causes a condition to be
+       evaluated.  This condition may be either a _\bc_\bo_\bm_\bp_\bo_\bn_\be_\bn_\bt or  a
+       _\bf_\bu_\bn_\bc_\bt_\bi_\bo_\bn.  The four constructs have the following syntax:
+
+            %<{component}
+            %<(function)
+            %?{component}
+            %?(function)
+
+       These  control escapes test whether the function or compo-
+       nent value is non-zero (for  integer-valued  escapes),  or
+       non-empty (for string-valued escapes).
+
+       If  this  test  evaulates true, then the format text up to
+       the next corresponding control escape (one of `%|',  `%?',
+       or  `%>')  is interpreted normally.  Next, all format text
+       (if any) up to the corresponding `%>'  control  escape  is
+       skipped.  The `%>' control escape is not interpreted; nor-
+       mal interpretation resumes after the `%>' escape.
+
+       If the test evaluates false, however, then the format text
+       up to the next corresponding control escape (again, one of
+       `%|', `%?', or `%>') is skipped, instead of  being  inter-
+       preted.   If the control escape encountered was `%?', then
+       the condition associated with that control escape is eval-
+       uated,  and  interpretation  proceeds  after  that test as
+
+
+
+[mh.6]                        MH.6.8                            2
+
+
+
+
+
+
+
+
+MH-FORMAT(5)         BSD Programmer's Manual         MH-FORMAT(5)
+
+
+       described in  the  previous  paragraph.   If  the  control
+       escape  encountered  was  `%|', then the format text up to
+       the corresponding `%>' escape is interpreted normally.  As
+       above,  the  `%>'  escape  is  not  interpreted and normal
+       interpretation resumes after the `%>' escape.
+
+       The `%?' control escape and its following format  text  is
+       optional,  and  may  be  included zero or more times.  The
+       `%|' control escape and its following format text is  also
+       optional, and may be included zero or one times.
+
+
+   F\bFu\bun\bnc\bct\bti\bio\bon\bn e\bes\bsc\bca\bap\bpe\bes\bs
+       Most functions expect an argument of a particular type:
+
+       _\bA_\br_\bg_\bu_\bm_\be_\bn_\bt _\bD_\be_\bs_\bc_\br_\bi_\bp_\bt_\bi_\bo_\bn            _\bE_\bx_\ba_\bm_\bp_\bl_\be _\bS_\by_\bn_\bt_\ba_\bx
+       literal  A literal number,      %(_\bf_\bu_\bn_\bc 1234)
+                or string              %(_\bf_\bu_\bn_\bc text string)
+       comp     Any header component   %(_\bf_\bu_\bn_\bc{_\bi_\bn_\b-_\br_\be_\bp_\bl_\by_\b-_\bt_\bo})
+       date     A date component       %(_\bf_\bu_\bn_\bc{_\bd_\ba_\bt_\be})
+       addr     An address component   %(_\bf_\bu_\bn_\bc{_\bf_\br_\bo_\bm})
+       expr     An optional component, %(_\bf_\bu_\bn_\bc(_\bf_\bu_\bn_\bc_\b2))
+                function or control,   %(_\bf_\bu_\bn_\bc %<{_\br_\be_\bp_\bl_\by_\b-_\bt_\bo}%|%{_\bf_\br_\bo_\bm}%>)
+                perhaps nested         %(_\bf_\bu_\bn_\bc(_\bf_\bu_\bn_\bc_\b2{_\bc_\bo_\bm_\bp}))
+
+       The  types _\bd_\ba_\bt_\be and _\ba_\bd_\bd_\br have the same syntax as _\bc_\bo_\bm_\bp, but
+       require that the header component be  a  date  string,  or
+       address string, respectively.
+
+       All arguments except those of type _\be_\bx_\bp_\br are required.  For
+       the _\be_\bx_\bp_\br argument type, the leading `%'  must  be  omitted
+       for  component  and function escape arguments, and must be
+       present (with a leading space) for  control  escape  argu-
+       ments.
+
+       The  evaluation  of  format  strings  is based on a simple
+       machine with an integer register _\bn_\bu_\bm, and  a  text  string
+       register  _\bs_\bt_\br.  When a function escape is processed, if it
+       accepts an optional _\be_\bx_\bp_\br argument which is not present, it
+       reads  the current value of either _\bn_\bu_\bm or _\bs_\bt_\br as appropri-
+       ate.
+
+
+   R\bRe\bet\btu\bur\brn\bn v\bva\bal\blu\bue\bes\bs
+       Component escapes write the value of their message  header
+       in  _\bs_\bt_\br.  Function escapes write their return value in _\bn_\bu_\bm
+       for functions returning _\bi_\bn_\bt_\be_\bg_\be_\br or _\bb_\bo_\bo_\bl_\be_\ba_\bn values, and  in
+       _\bs_\bt_\br  for  functions returning string values.  (The _\bb_\bo_\bo_\bl_\be_\ba_\bn
+       type is a subset of integers with usual values 0=false and
+       1=true.)   Control escapes return a _\bb_\bo_\bo_\bl_\be_\ba_\bn value, and set
+       _\bn_\bu_\bm.
+
+
+
+[mh.6]                        MH.6.8                            3
+
+
+
+
+
+
+
+
+MH-FORMAT(5)         BSD Programmer's Manual         MH-FORMAT(5)
+
+
+       All component escapes, and those  function  escapes  which
+       return an _\bi_\bn_\bt_\be_\bg_\be_\br or _\bs_\bt_\br_\bi_\bn_\bg value, pass this value back to
+       their caller in addition to setting  _\bs_\bt_\br  or  _\bn_\bu_\bm.   These
+       escapes will print out this value unless called as part of
+       an argument to another  escape  sequence.   Escapes  which
+       return  a  _\bb_\bo_\bo_\bl_\be_\ba_\bn  value do pass this value back to their
+       caller in _\bn_\bu_\bm, but will never print out the value.
+
+       _\bF_\bu_\bn_\bc_\bt_\bi_\bo_\bn   _\bA_\br_\bg_\bu_\bm_\be_\bn_\bt _\bR_\be_\bt_\bu_\br_\bn   _\bD_\be_\bs_\bc_\br_\bi_\bp_\bt_\bi_\bo_\bn
+       msg                 integer  message number
+       cur                 integer  message is current
+       size                integer  size of message
+       strlen              integer  length of _\bs_\bt_\br
+       width               integer  output buffer size in bytes
+       charleft            integer  bytes left in output buffer
+       timenow             integer  seconds since the UNIX epoch
+       me                  string   the user's mailbox
+       eq         literal  boolean  _\bn_\bu_\bm == _\ba_\br_\bg
+       ne         literal  boolean  _\bn_\bu_\bm != _\ba_\br_\bg
+       gt         literal  boolean  _\bn_\bu_\bm > _\ba_\br_\bg
+       match      literal  boolean  _\bs_\bt_\br contains _\ba_\br_\bg
+       amatch     literal  boolean  _\bs_\bt_\br starts with _\ba_\br_\bg
+       plus       literal  integer  _\ba_\br_\bg plus _\bn_\bu_\bm
+       minus      literal  integer  _\ba_\br_\bg minus _\bn_\bu_\bm
+       divide     literal  integer  _\bn_\bu_\bm divided by _\ba_\br_\bg
+       modulo     literal  integer  _\bn_\bu_\bm modulo _\ba_\br_\bg
+       num        literal  integer  Set _\bn_\bu_\bm to _\ba_\br_\bg
+       lit        literal  string   Set _\bs_\bt_\br to _\ba_\br_\bg
+       getenv     literal  string   Set _\bs_\bt_\br to environment value of _\ba_\br_\bg
+       profile    literal  string   Set _\bs_\bt_\br to profile component _\ba_\br_\bg value
+       nonzero    expr     boolean  _\bn_\bu_\bm is non-zero
+       zero       expr     boolean  _\bn_\bu_\bm is zero
+       null       expr     boolean  _\bs_\bt_\br is empty
+       nonnull    expr     boolean  _\bs_\bt_\br is non-empty
+       void       expr              Set _\bs_\bt_\br or _\bn_\bu_\bm
+       comp       comp     string   Set _\bs_\bt_\br to component text
+       compval    comp     integer  _\bn_\bu_\bm set to "a\bat\bto\boi\bi(_\bc_\bo_\bm_\bp)"
+       trim       expr              trim trailing white-space from _\bs_\bt_\br
+       putstr     expr              print _\bs_\bt_\br
+       putstrf    expr              print _\bs_\bt_\br in a fixed width
+       putnum     expr              print _\bn_\bu_\bm
+       putnumf    expr              print _\bn_\bu_\bm in a fixed width
+
+       These functions require a date component as an argument:
+
+       _\bF_\bu_\bn_\bc_\bt_\bi_\bo_\bn   _\bA_\br_\bg_\bu_\bm_\be_\bn_\bt _\bR_\be_\bt_\bu_\br_\bn   _\bD_\be_\bs_\bc_\br_\bi_\bp_\bt_\bi_\bo_\bn
+       sec        date     integer  seconds of the minute
+       min        date     integer  minutes of the hour
+       hour       date     integer  hours of the day (0-23)
+       wday       date     integer  day of the week (Sun=0)
+       day        date     string   day of the week (abbrev.)
+
+
+
+[mh.6]                        MH.6.8                            4
+
+
+
+
+
+
+
+
+MH-FORMAT(5)         BSD Programmer's Manual         MH-FORMAT(5)
+
+
+       weekday    date     string   day of the week
+       sday       date     integer  day of the week known?
+                                    (0=implicit,-1=unknown)
+       mday       date     integer  day of the month
+       yday       date     integer  day of the year
+       mon        date     integer  month of the year
+       month      date     string   month of the year (abbrev.)
+       lmonth     date     string   month of the year
+       year       date     integer  year (may be > 100)
+       zone       date     integer  timezone in hours
+       tzone      date     string   timezone string
+       szone      date     integer  timezone explicit?
+                                    (0=implicit,-1=unknown)
+       date2local date              coerce date to local timezone
+       date2gmt   date              coerce date to GMT
+       dst        date     integer  daylight savings in effect?
+       clock      date     integer  seconds since the UNIX epoch
+       rclock     date     integer  seconds prior to current time
+       tws        date     string   official 822 rendering
+       pretty     date     string   user-friendly rendering
+       nodate     date     integer  _\bs_\bt_\br not a date string
+
+       These functions require an address component as  an  argu-
+       ment.   The  return value of functions noted with `*' per-
+       tain only to the first address present in the header  com-
+       ponent.
+
+       _\bF_\bu_\bn_\bc_\bt_\bi_\bo_\bn   _\bA_\br_\bg_\bu_\bm_\be_\bn_\bt _\bR_\be_\bt_\bu_\br_\bn   _\bD_\be_\bs_\bc_\br_\bi_\bp_\bt_\bi_\bo_\bn
+       proper     addr     string   official 822 rendering
+       friendly   addr     string   user-friendly rendering
+       addr       addr     string   mbox@host or host!mbox rendering*
+       pers       addr     string   the personal name*
+       note       addr     string   commentary text*
+       mbox       addr     string   the local mailbox*
+       mymbox     addr     integer  the user's addresses? (0=no,1=yes)
+       host       addr     string   the host domain*
+       nohost     addr     integer  no host was present*
+       type       addr     integer  host type* (0=local,1=network,
+                                    -1=uucp,2=unknown)
+       path       addr     string   any leading host route*
+       ingrp      addr     integer  address was inside a group*
+       gname      addr     string   name of group*
+       formataddr expr              append _\ba_\br_\bg to _\bs_\bt_\br as a
+                                    (comma separated) address list
+       putaddr    literal           print _\bs_\bt_\br address list with
+                                    _\ba_\br_\bg as optional label;
+                                    get line width from _\bn_\bu_\bm
+
+       When  escapes  are  nested, evaluation is done from inner-
+       most to outer-most.  The outer-most escape must begin with
+       `%'; the inner escapes must not.  For example,
+
+
+
+[mh.6]                        MH.6.8                            5
+
+
+
+
+
+
+
+
+MH-FORMAT(5)         BSD Programmer's Manual         MH-FORMAT(5)
+
+
+            %<(mymbox{from}) To: %{to}%>
+
+       writes  the  value of the header component "From:" to _\bs_\bt_\br;
+       then (_\bm_\by_\bm_\bb_\bo_\bx) reads _\bs_\bt_\br and writes its result to _\bn_\bu_\bm; then
+       the control escape evaluates _\bn_\bu_\bm.  If _\bn_\bu_\bm is non-zero, the
+       string "To: " is printed followed  by  the  value  of  the
+       header component "To:".
+
+       A  minor  explanation  of  (_\bm_\by_\bm_\bb_\bo_\bx{_\bc_\bo_\bm_\bp}) is in order.  In
+       general, it checks each of the  addresses  in  the  header
+       component  "_\bc_\bo_\bm_\bp"  against the user's mailbox name and any
+       _\bA_\bl_\bt_\be_\br_\bn_\ba_\bt_\be_\b-_\bM_\ba_\bi_\bl_\bb_\bo_\bx_\be_\bs.   It  returns  true  if  any  address
+       matches,  however,  it  also  returns  true  if the "_\bc_\bo_\bm_\bp"
+       header is not present in  the  message.   If  needed,  the
+       (_\bn_\bu_\bl_\bl)  function  can  be used to explicitly test for this
+       condition.
+
+       When a function or component escape is interpreted and the
+       result  will  be  immediately  printed,  an optional field
+       width can be specified to print the  field  in  exactly  a
+       given number of characters.  For example, a numeric escape
+       like %4(_\bs_\bi_\bz_\be) will print at most 4 digits of  the  message
+       size;  overflow  will  be  indicated by a `?' in the first
+       position (like `?234').  A string escape like %4(_\bm_\be)  will
+       print  the  first  4  characters  and truncate at the end.
+       Short fields are padded at the right with the fill charac-
+       ter  (normally,  a  blank).   If  the field width argument
+       begins with a leading zero, then the fill character is set
+       to a zero.
+
+       As  above,  the  functions  (_\bp_\bu_\bt_\bn_\bu_\bm_\bf)  and (_\bp_\bu_\bt_\bs_\bt_\br_\bf) print
+       their result in exactly the number of characters specified
+       by  their  leading  field  width  argument.   For example,
+       %06(_\bp_\bu_\bt_\bn_\bu_\bm_\bf(_\bs_\bi_\bz_\be)) will print the message size in a  field
+       six   characters   wide   filled   with   leading   zeros;
+       %14(_\bp_\bu_\bt_\bs_\bt_\br_\bf{_\bf_\br_\bo_\bm}) will print the "From:" header component
+       in  fourteen  characters  with  trailing  spaces  added as
+       needed.  For _\bp_\bu_\bt_\bs_\bt_\br_\bf, using a negative value for the field
+       width  causes right-justification of the string within the
+       field, with padding on the left up  to  the  field  width.
+       The  functions (_\bp_\bu_\bt_\bn_\bu_\bm) and (_\bp_\bu_\bt_\bs_\bt_\br) print their result in
+       the minimum number of characters required, and ignore  any
+       leading field width argument.
+
+       The  available  output width is kept in an internal regis-
+       ter; any output past this width will be truncated.
+
+       Comments may be inserted in most places where  a  function
+       argument  is not expected.  A comment begins with `%;' and
+       ends with a (non-escaped) newline.
+
+
+
+
+[mh.6]                        MH.6.8                            6
+
+
+
+
+
+
+
+
+MH-FORMAT(5)         BSD Programmer's Manual         MH-FORMAT(5)
+
+
+       With all this in mind, here's the  default  format  string
+       for _\bs_\bc_\ba_\bn.  It's been divided into several pieces for read-
+       ability.  The first part is:
+
+            %4(msg)%<(cur)+%| %>%<{replied}-%?{encrypted}E%| %>
+
+       which says that the message number should  be  printed  in
+       four  digits, if the message is the current message then a
+       `+' else a space should be printed, and  if  a  "Replied:"
+       field  is present then a `-' else if an "Encrypted:" field
+       is present  then  an  `E'  otherwise  a  space  should  be
+       printed.  Next:
+
+            %02(mon{date})/%02(mday{date})
+
+       the month and date are printed in two digits (zero filled)
+       separated by a slash.  Next,
+
+            %<{date} %|*>
+
+       If a "Date:" field was present, then a space  is  printed,
+       otherwise a `*'.  Next,
+
+            %<(mymbox{from})%<{to}To:%14(friendly{to})%>%>
+
+       if  the  message  is from me, and there is a "To:" header,
+       print `To:' followed by a "user-friendly" rendering of the
+       first address in the "To:" field.  Continuing,
+
+            %<(zero)%17(friendly{from})%>
+
+       if  either of the above two tests failed, then the "From:"
+       address is  printed  in  a  "user-friendly"  format.   And
+       finally,
+
+            %{subject}%<{body}<<%{body}%>
+
+       the subject and initial body (if any) are printed.
+
+       For  a more complicated example, next consider the default
+       _\br_\be_\bp_\bl_\bc_\bo_\bm_\bp_\bs format file.
+
+            %(lit)%(formataddr %<{reply-to}
+
+       This clears _\bs_\bt_\br and formats the "Reply-To:" header if pre-
+       sent.  If not present, the else-if clause is executed.
+
+            %?{from}%?{sender}%?{return-path}%>)\
+
+       This  formats  the  "From:",  "Sender:" and "Return-Path:"
+       headers, stopping as soon  as  one  of  them  is  present.
+
+
+
+[mh.6]                        MH.6.8                            7
+
+
+
+
+
+
+
+
+MH-FORMAT(5)         BSD Programmer's Manual         MH-FORMAT(5)
+
+
+       Next:
+
+            %<(nonnull)%(void(width))%(putaddr To: )\n%>\
+
+       If  the _\bf_\bo_\br_\bm_\ba_\bt_\ba_\bd_\bd_\br result is non-null, it is printed as an
+       address (with line folding if needed)  in  a  field  _\bw_\bi_\bd_\bt_\bh
+       wide with a leading label of "To: ".
+
+            %(lit)%(formataddr{to})%(formataddr{cc})%(formataddr(me))\
+
+       _\bs_\bt_\br is cleared, and the "To:"  and  "Cc:"  headers,  along
+       with  the  user's address (depending on what was specified
+       with the "-cc" switch to _\br_\be_\bp_\bl) are formatted.
+
+            %<(nonnull)%(void(width))%(putaddr cc: )\n%>\
+
+       If the result is non-null, it is printed as above  with  a
+       leading label of "cc: ".
+
+            %<{fcc}Fcc: %{fcc}\n%>\
+
+       If  a "-fcc folder" switch was given to _\br_\be_\bp_\bl (see _\br_\be_\bp_\bl (1)
+       for more details about %{_\bf_\bc_\bc}), an "Fcc:" header  is  out-
+       put.
+
+            %<{subject}Subject: Re: %{subject}\n%>\
+
+       If  a subject component was present, a suitable reply sub-
+       ject is output.
+
+            %<{date}In-reply-to: Your message of "\
+            %<(nodate{date})%{date}%|%(pretty{date})%>."%<{message-id}
+                         %{message-id}%>\n%>\
+            --------
+
+       If a date component was present, an "In-Reply-To:"  header
+       is  output  with  the  preface "Your message of ".  If the
+       date was parseable, it is output in a  user-friendly  for-
+       mat,  otherwise  it  is  output  as-is.  The message-id is
+       included if present.  As with all plain-text, the  row  of
+       dashes are output as-is.
+
+       This  last part is a good example for a little more elabo-
+       ration.  Here's that part again in pseudo-code:
+
+            if (comp_exists(date))  then
+                 print ("In-reply-to: Your message of \"")
+                 if (not_date_string(date.value) then
+                      print (date.value)
+                 else
+                      print (pretty(date.value))
+
+
+
+[mh.6]                        MH.6.8                            8
+
+
+
+
+
+
+
+
+MH-FORMAT(5)         BSD Programmer's Manual         MH-FORMAT(5)
+
+
+                 endif
+                 print ("\"")
+                 if (comp_exists(message-id)) then
+                      print ("\n\t")
+                      print (message-id.value)
+                 endif
+                 print ("\n")
+            endif
+
+       Although this seems complicated, in point  of  fact,  this
+       method is flexible enough to extract individual fields and
+       print them in any format the user desires.
+
+F\bFI\bIL\bLE\bES\bS
+       None
+
+P\bPR\bRO\bOF\bFI\bIL\bLE\bE C\bCO\bOM\bMP\bPO\bON\bNE\bEN\bNT\bTS\bS
+       None
+
+S\bSE\bEE\bE A\bAL\bLS\bSO\bO
+       scan(1), repl(1), ap(8), dp(8)
+
+D\bDE\bEF\bFA\bAU\bUL\bLT\bTS\bS
+       None
+
+C\bCO\bON\bNT\bTE\bEX\bXT\bT
+       None
+
+H\bHI\bIS\bST\bTO\bOR\bRY\bY
+       This software was contributed for MH 6.3.  Prior to  this,
+       output  format  specifications  were much easier to write,
+       but considerably less flexible.
+
+B\bBU\bUG\bGS\bS
+       On hosts where _\bM_\bH was configured  with  the  BERK  option,
+       address parsing is not enabled.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[mh.6]                        MH.6.8                            9
+
+
+
+
+
diff --git a/usr/src/contrib/mh-6.8.3a/doc/mh-mail.man b/usr/src/contrib/mh-6.8.3a/doc/mh-mail.man
new file mode 100644 (file)
index 0000000..1238f7b
--- /dev/null
@@ -0,0 +1,264 @@
+
+
+
+MH-MAIL(5)           BSD Programmer's Manual           MH-MAIL(5)
+
+
+N\bNA\bAM\bME\bE
+       mh-mail - message format for MH message system
+
+S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
+       any _\bM_\bH command
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+       _\bM_\bH  processes  messages in a particular format.  It should
+       be noted that although neither Bell nor  Berkeley  mailers
+       produce  message  files  in the format that _\bM_\bH prefers, _\bM_\bH
+       can read message files in that antiquated format.
+
+       Each user  possesses  a  mail  drop  box  which  initially
+       receives all messages processed by _\bp_\bo_\bs_\bt (8).  _\bI_\bn_\bc (1) will
+       read from that drop box and incorporate the  new  messages
+       found  there  into  the user's own mail folders (typically
+       `+inbox').  The mail drop box consists of one or more mes-
+       sages.
+
+       Messages are expected to consist of lines of text.  Graph-
+       ics and binary data are not handled.  No data  compression
+       is accepted.  All text is clear ASCII 7-bit data.
+
+       The  general  "memo" framework of RFC-822 is used.  A mes-
+       sage consists of a block of information in a rigid format,
+       followed  by  general  text with no specified format.  The
+       rigidly formatted first part of a message  is  called  the
+       header,  and  the  free-format portion is called the body.
+       The header must always exist, but the  body  is  optional.
+       These parts are separated by an empty line, i.e., two con-
+       secutive newline characters.  Within _\bM_\bH,  the  header  and
+       body may be separated by a line consisting of dashes:
+
+            To:
+            cc:
+            Subject:
+            --------
+
+       The  header is composed of one or more header items.  Each
+       header item can be viewed as  a  single  logical  line  of
+       ASCII  characters.   If  the text of a header item extends
+       across several real  lines,  the  continuation  lines  are
+       indicated by leading spaces or tabs.
+
+       Each  header item is called a component and is composed of
+       a keyword or name, along with associated text.   The  key-
+       word  begins at the left margin, may NOT contain spaces or
+       tabs, may  not  exceed  63  characters  (as  specified  by
+       RFC-822),  and  is  terminated  by a colon (`:').  Certain
+       components (as identified by their keywords)  must  follow
+       rigidly defined formats in their text portions.
+
+
+
+[mh.6]                        MH.6.8                            1
+
+
+
+
+
+
+
+
+MH-MAIL(5)           BSD Programmer's Manual           MH-MAIL(5)
+
+
+       The  text for most formatted components (e.g., "Date:" and
+       "Message-Id:") is produced automatically.  The  only  ones
+       entered  by  the  user  are  address fields such as "To:",
+       "cc:", etc.  Internet addresses are assigned mailbox names
+       and  host  computer  specifications.   The rough format is
+       "local@domain", such as "MH@UCI",  or  "MH@UCI-ICSA.ARPA".
+       Multiple  addresses  are  separated  by commas.  A missing
+       host/domain is assumed to be the local host/domain.
+
+       As mentioned above, a blank line (or  a  line  of  dashes)
+       signals  that all following text up to the end of the file
+       is the body.  No formatting is expected or enforced within
+       the body.
+
+       Following  is a list of header components that are consid-
+       ered meaningful to various MH programs.
+       Date:
+            Added by _\bp_\bo_\bs_\bt (8), contains date and time of the mes-
+            sage's entry into the transport system.
+
+       From:
+            Added by _\bp_\bo_\bs_\bt (8), contains the address of the author
+            or authors (may be more than one if a "Sender:" field
+            is  present).   Replies  are  typically  directed  to
+            addresses in the "Reply-To:" or  "From:"  field  (the
+            former has precedence if present).
+
+       Sender:
+            Added  by  _\bp_\bo_\bs_\bt (8)  in  the  event  that the message
+            already has a "From:" line.  This line  contains  the
+            address of the actual sender.  Replies are never sent
+            to addresses in the "Sender:" field.
+
+       To:
+            Contains addresses of primary recipients.
+
+       cc:
+            Contains addresses of secondary recipients.
+
+       Bcc:
+            Still more recipients.  However, the "Bcc:"  line  is
+            not  copied  onto  the message as delivered, so these
+            recipients are not listed.  _\bM_\bH uses an  encapsulation
+            method for blind copies, see _\bs_\be_\bn_\bd (1).
+
+       Fcc:
+            Causes  _\bp_\bo_\bs_\bt (8)  to copy the message into the speci-
+            fied folder for the sender, if the message  was  suc-
+            cessfully given to the transport system.
+
+       Message-ID:
+
+
+
+[mh.6]                        MH.6.8                            2
+
+
+
+
+
+
+
+
+MH-MAIL(5)           BSD Programmer's Manual           MH-MAIL(5)
+
+
+            A  unique message identifier added by _\bp_\bo_\bs_\bt (8) if the
+            `-msgid' flag is set.
+
+       Subject:
+            Sender's commentary.  It is displayed by _\bs_\bc_\ba_\bn (1).
+
+       In-Reply-To:
+            A commentary line added by _\br_\be_\bp_\bl (1) when replying  to
+            a message.
+
+       Resent-Date:
+            Added when redistributing a message by _\bp_\bo_\bs_\bt (8).
+
+       Resent-From:
+            Added when redistributing a message by _\bp_\bo_\bs_\bt (8).
+
+       Resent-To:
+            New recipients for a message resent by _\bd_\bi_\bs_\bt (1).
+
+       Resent-cc:
+            Still more recipients.  See "cc:" and "Resent-To:".
+
+       Resent-Bcc:
+            Even more recipients.  See "Bcc:" and "Resent-To:".
+
+       Resent-Fcc:
+            Copy  resent  message  into a folder.  See "Fcc:" and
+            "Resent-To:".
+
+       Resent-Message-Id:
+            A unique identifier  glued  on  by  _\bp_\bo_\bs_\bt (8)  if  the
+            `-msgid'   flag   is   set.   See  "Message-Id:"  and
+            "Resent-To:".
+
+       Resent:
+            Annotation for _\bd_\bi_\bs_\bt (1) under the `-annotate' option.
+
+       Forwarded:
+            Annotation for _\bf_\bo_\br_\bw (1) under the `-annotate' option.
+
+       Replied:
+            Annotation for _\br_\be_\bp_\bl (1) under the `-annotate' option.
+
+
+F\bFI\bIL\bLE\bES\bS
+       /var/mail/$USER                           Location of mail drop
+
+P\bPR\bRO\bOF\bFI\bIL\bLE\bE C\bCO\bOM\bMP\bPO\bON\bNE\bEN\bNT\bTS\bS
+       None
+
+
+
+
+
+[mh.6]                        MH.6.8                            3
+
+
+
+
+
+
+
+
+MH-MAIL(5)           BSD Programmer's Manual           MH-MAIL(5)
+
+
+S\bSE\bEE\bE A\bAL\bLS\bSO\bO
+       _\bS_\bt_\ba_\bn_\bd_\ba_\br_\bd  _\bf_\bo_\br  _\bt_\bh_\be  _\bF_\bo_\br_\bm_\ba_\bt  _\bo_\bf _\bA_\bR_\bP_\bA _\bI_\bn_\bt_\be_\br_\bn_\be_\bt _\bT_\be_\bx_\bt _\bM_\be_\bs_\bs_\ba_\bg_\be_\bs
+       (aka RFC-822)
+
+D\bDE\bEF\bFA\bAU\bUL\bLT\bTS\bS
+       None
+
+C\bCO\bON\bNT\bTE\bEX\bXT\bT
+       None
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[mh.6]                        MH.6.8                            4
+
+
+
+
+
diff --git a/usr/src/contrib/mh-6.8.3a/doc/mh-profile.man b/usr/src/contrib/mh-6.8.3a/doc/mh-profile.man
new file mode 100644 (file)
index 0000000..823437b
--- /dev/null
@@ -0,0 +1,528 @@
+
+
+
+MH-PROFILE(5)        BSD Programmer's Manual        MH-PROFILE(5)
+
+
+N\bNA\bAM\bME\bE
+       mh-profile  -  user  profile  customization for MH message
+       handler
+
+S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
+       _\b._\bm_\bh_\b__\bp_\br_\bo_\bf_\bi_\bl_\be
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+       Each  user  of  _\bM_\bH  is  expected  to  have  a  file  named
+       _\b._\bm_\bh_\b__\bp_\br_\bo_\bf_\bi_\bl_\be  in his or her home directory.  This file con-
+       tains a set of user parameters used by some or all of  the
+       _\bM_\bH  family  of  programs.  Each line of the file is of the
+       format
+
+           _\bp_\br_\bo_\bf_\bi_\bl_\be_\b-_\bc_\bo_\bm_\bp_\bo_\bn_\be_\bn_\bt: _\bv_\ba_\bl_\bu_\be
+
+       The possible profile  components  are  exemplified  below.
+       Only  `Path:' is mandatory.  The others are optional; some
+       have default values if they are not present.  In the nota-
+       tion  used below, (profile, default) indicates whether the
+       information is kept in the user's _\bM_\bH profile  or  _\bM_\bH  con-
+       text, and indicates what the default value is.
+
+       Path: Mail
+                 Locates  _\bM_\bH  transactions  in  directory "Mail".
+                 (profile, no default)
+
+       context: context
+                 Declares the location of the  _\bM_\bH  context  file,
+                 see   the   H\bHI\bIS\bST\bTO\bOR\bRY\bY  section  below.   (profile,
+                 default: <mh-dir>/context)
+
+       Current-Folder: inbox
+                 Keeps track of the current open  folder.   (con-
+                 text, default: folder specified by "Inbox")
+
+       Inbox:    inbox
+                 Defines  the  name  of  your  inbox.   (profile,
+                 default: inbox)
+
+       Previous-Sequence: pseq
+                 Names the sequences which should be  defined  as
+                 the  `msgs'  or `msg' argument given to the pro-
+                 gram.  If not present, or  empty,  no  sequences
+                 are  defined.   Otherwise,  for each name given,
+                 the sequence is first zero'd and then each  mes-
+                 sage  is  added  to  the sequence.  (profile, no
+                 default)
+
+       Sequence-Negation: not
+                 Defines the string which,  when  prefixed  to  a
+
+
+
+[mh.6]                        MH.6.8                            1
+
+
+
+
+
+
+
+
+MH-PROFILE(5)        BSD Programmer's Manual        MH-PROFILE(5)
+
+
+                 sequence  name,  negates  that sequence.  Hence,
+                 "notseen" means all those messages that are  not
+                 a  member  of the sequence "seen".  (profile, no
+                 default)
+
+       Unseen-Sequence: unseen
+                 Names the sequences which should be  defined  as
+                 those  messages  recently  incorporated  by _\bi_\bn_\bc.
+                 _\bS_\bh_\bo_\bw knows to remove messages from this sequence
+                 once it thinks they have been seen.  If not pre-
+                 sent, or empty, no sequences are defined.   Oth-
+                 erwise,  each  message is added to each sequence
+                 name given.  (profile, no default)
+
+       mh-sequences: .mh_sequences
+                 The name  of  the  file  in  each  folder  which
+                 defines public sequences.  To disable the use of
+                 public sequences, leave  the  value  portion  of
+                 this    entry    blank.     (profile,   default:
+                 .mh_sequences)
+
+       atr-_\bs_\be_\bq-_\bf_\bo_\bl_\bd_\be_\br: 172 178-181 212
+                 Keeps track of the private sequence  called  _\bs_\be_\bq
+                 in the specified folder.  (context, no default)
+
+       Editor: /usr/ucb/ex
+                 Defines editor to be used by _\bc_\bo_\bm_\bp (1), _\bd_\bi_\bs_\bt (1),
+                 _\bf_\bo_\br_\bw (1),  and  _\br_\be_\bp_\bl (1).   (profile,   default:
+                 prompter)
+
+       Msg-Protect: 644
+                 Defines octal protection bits for message files.
+                 See _\bc_\bh_\bm_\bo_\bd (1) for an explanation  of  the  octal
+                 number.  (profile, default: 0644)
+
+       Folder-Protect: 711
+                 Defines  protection bits for folder directories.
+                 (profile, default: 0711)
+
+       _\bp_\br_\bo_\bg_\br_\ba_\bm: default switches
+                 Sets default switches to be used whenever the mh
+                 program  _\bp_\br_\bo_\bg_\br_\ba_\bm  is  invoked.  For example, one
+                 could override  the  _\bE_\bd_\bi_\bt_\bo_\br:  profile  component
+                 when  replying to messages by adding a component
+                 such as:
+                      repl: -editor /bin/ed
+                 (profile, no defaults)
+
+       _\bl_\ba_\bs_\bt_\be_\bd_\bi_\bt_\bo_\br-next: nexteditor
+                 Names "nexteditor"  to  be  the  default  editor
+                 after  using "lasteditor".  This takes effect at
+
+
+
+[mh.6]                        MH.6.8                            2
+
+
+
+
+
+
+
+
+MH-PROFILE(5)        BSD Programmer's Manual        MH-PROFILE(5)
+
+
+                 "What now?" level in _\bc_\bo_\bm_\bp, _\bd_\bi_\bs_\bt, _\bf_\bo_\br_\bw, and _\br_\be_\bp_\bl.
+                 After  editing  the draft with "lasteditor", the
+                 default editor is set to  be  "nexteditor".   If
+                 the  user  types "edit" without any arguments to
+                 "What now?", then "nexteditor" is  used.   (pro-
+                 file, no default)
+
+       bboards: system
+                 Tells  _\bb_\bb_\bc  which BBoards you are interested in.
+                 (profile, default: system)
+
+       Folder-Stack: _\bf_\bo_\bl_\bd_\be_\br_\bs
+                 The contents of the folder-stack for the  _\bf_\bo_\bl_\bd_\be_\br
+                 command.  (context, no default)
+
+       mhe:
+                 If  present,  tells _\bi_\bn_\bc to compose an _\bM_\bH_\bE audit-
+                 file in addition to its  other  tasks.   _\bM_\bH_\bE  is
+                 Brian  Reid's  _\bE_\bm_\ba_\bc_\bs front-end for _\bM_\bH.  An early
+                 version is supplied with the _\bm_\bh_\b._\b6  distribution.
+                 (profile, no default)
+
+       Alternate-Mailboxes: mh@uci-750a, bug-mh*
+                 Tells  _\br_\be_\bp_\bl  and _\bs_\bc_\ba_\bn which addresses are really
+                 yours.  In this way, _\br_\be_\bp_\bl knows which  addresses
+                 should  be included in the reply, and _\bs_\bc_\ba_\bn knows
+                 if  the  message  really  originated  from  you.
+                 Addresses  must be separated by a comma, and the
+                 hostnames listed should be the "official"  host-
+                 names  for  the mailboxes you indicate, as local
+                 nicknames for hosts are not replaced with  their
+                 official  site  names.   For  each address, if a
+                 host is not given, then that address on any host
+                 is considered to be you.  In addition, an aster-
+                 isk (`*') may appear at either or both  ends  of
+                 the  mailbox  and  host  to  indicate  wild-card
+                 matching.  (profile, default: your user-id)
+
+       Aliasfile: aliases other-alias
+                 Indicates aliases files for _\ba_\bl_\bi, _\bw_\bh_\bo_\bm, and _\bs_\be_\bn_\bd.
+                 This  may  be  used instead of the `-alias file'
+                 switch.  (profile, no default)
+
+       Draft-Folder: drafts
+                 Indicates a default draft folder for _\bc_\bo_\bm_\bp, _\bd_\bi_\bs_\bt,
+                 _\bf_\bo_\br_\bw, and _\br_\be_\bp_\bl.  (profile, no default)
+
+       digest-issue-_\bl_\bi_\bs_\bt: 1
+                 Tells  _\bf_\bo_\br_\bw  the  last  issue of the last volume
+                 sent for the digest _\bl_\bi_\bs_\bt.  (context, no default)
+
+
+
+
+[mh.6]                        MH.6.8                            3
+
+
+
+
+
+
+
+
+MH-PROFILE(5)        BSD Programmer's Manual        MH-PROFILE(5)
+
+
+       digest-volume-_\bl_\bi_\bs_\bt: 1
+                 Tells  _\bf_\bo_\br_\bw  the last volume sent for the digest
+                 _\bl_\bi_\bs_\bt.  (context, no default)
+
+       MailDrop: .mail
+                 Tells _\bi_\bn_\bc your maildrop, if different  from  the
+                 default.   This  is  superceded  by the M\bMA\bAI\bIL\bLD\bDR\bRO\bOP\bP
+                 envariable.  (profile, default: /var/mail/$USER)
+
+       Signature: RAND MH System (agent: Marshall Rose)
+                 Tells   _\bs_\be_\bn_\bd   your  mail  signature.   This  is
+                 superceded by the S\bSI\bIG\bGN\bNA\bAT\bTU\bUR\bRE\bE envariable.  If S\bSI\bIG\bG-\b-
+                 N\bNA\bAT\bTU\bUR\bRE\bE  is not set and this profile entry is not
+                 present, the "gcos"  field  of  the  _\b/_\be_\bt_\bc_\b/_\bp_\ba_\bs_\bs_\bw_\bd
+                 file  will be used; otherwise, on hosts where _\bM_\bH
+                 was configured with the  UCI  option,  the  file
+                 $HOME/.signature  is  consulted.  Your signature
+                 will be added to the address _\bs_\be_\bn_\bd  puts  in  the
+                 "From:" header; do not include an address in the
+                 signature text.  (profile, no default)
+
+       The following profile elements are  used  whenever  an  _\bM_\bH
+       program  invokes some other program such as _\bm_\bo_\br_\be (1).  The
+       _\b._\bm_\bh_\b__\bp_\br_\bo_\bf_\bi_\bl_\be can be used to select  alternate  programs  if
+       the  user  wishes.   The  default  values are given in the
+       examples.
+
+            fileproc:     /usr/contrib/mh-6.8/bin/refile
+            incproc:      /usr/contrib/mh-6.8/bin/inc
+            installproc:  /usr/contrib/mh-6.8/lib/install-mh
+            lproc:        /usr/ucb/more
+            mailproc:     /usr/contrib/mh-6.8/bin/mhmail
+            mhlproc:      /usr/contrib/mh-6.8/lib/mhl
+            moreproc:     /usr/ucb/more
+            mshproc:      /usr/contrib/mh-6.8/bin/msh
+            packproc:     /usr/contrib/mh-6.8/bin/packf
+            postproc:     /usr/contrib/mh-6.8/lib/post
+            rmmproc:      none
+            rmfproc:      /usr/contrib/mh-6.8/bin/rmf
+            sendproc:     /usr/contrib/mh-6.8/bin/send
+            showproc:     /usr/ucb/more
+            whatnowproc:  /usr/contrib/mh-6.8/bin/whatnow
+            whomproc:     /usr/contrib/mh-6.8/bin/whom
+
+       If you define the envariable M\bMH\bH, you can specify a profile
+       other  than _\b._\bm_\bh_\b__\bp_\br_\bo_\bf_\bi_\bl_\be to be read by the _\bM_\bH programs that
+       you invoke.  If the value of M\bMH\bH is  not  absolute,  (i.e.,
+       does  not  begin  with a /\b/ ), it will be presumed to start
+       from the current working directory.  This is  one  of  the
+       very few exceptions in _\bM_\bH where non-absolute pathnames are
+       not considered relative to the user's _\bM_\bH directory.
+
+
+
+[mh.6]                        MH.6.8                            4
+
+
+
+
+
+
+
+
+MH-PROFILE(5)        BSD Programmer's Manual        MH-PROFILE(5)
+
+
+       Similarly, if you define the envariable M\bMH\bHC\bCO\bON\bNT\bTE\bEX\bXT\bT, you can
+       specify  a  context other than the normal context file (as
+       specified in the _\bM_\bH profile).  As always, unless the value
+       of  M\bMH\bHC\bCO\bON\bNT\bTE\bEX\bXT\bT  is  absolute,  it will be presumed to start
+       from your _\bM_\bH directory.
+
+       _\bM_\bH programs also support other envariables:
+
+       M\bMA\bAI\bIL\bLD\bDR\bRO\bOP\bP : tells _\bi_\bn_\bc the default maildrop
+            This supercedes the "MailDrop:" profile entry.
+
+       S\bSI\bIG\bGN\bNA\bAT\bTU\bUR\bRE\bE : tells _\bs_\be_\bn_\bd and _\bp_\bo_\bs_\bt your mail signature
+            This supercedes the "Signature:" profile entry.
+
+       H\bHO\bOM\bME\bE : tells all _\bM_\bH programs your home directory
+
+       S\bSH\bHE\bEL\bLL\bL : tells _\bb_\bb_\bl the default shell to run
+
+       T\bTE\bER\bRM\bM : tells _\bM_\bH your terminal type
+            The T\bTE\bER\bRM\bMC\bCA\bAP\bP envariable is also consulted.  In partic-
+            ular,  these tell _\bs_\bc_\ba_\bn and _\bm_\bh_\bl how to clear your ter-
+            minal, and how many columns wide  your  terminal  is.
+            They  also tell _\bm_\bh_\bl how many lines long your terminal
+            screen is.
+
+       e\bed\bdi\bit\bta\bal\blt\bt : the alternate message
+            This is set by _\bd_\bi_\bs_\bt and _\br_\be_\bp_\bl during edit sessions  so
+            you  can  peruse  the  message  being  distributed or
+            replied to.  The message is also available through  a
+            link called "@" in the current directory if your cur-
+            rent working directory and  the  folder  the  message
+            lives in are on the same UNIX filesystem.
+
+       m\bmh\bhd\bdr\bra\baf\bft\bt : the path to the working draft
+            This is set by _\bc_\bo_\bm_\bp, _\bd_\bi_\bs_\bt, _\bf_\bo_\br_\bw, and _\br_\be_\bp_\bl to tell the
+            _\bw_\bh_\ba_\bt_\bn_\bo_\bw_\bp_\br_\bo_\bc which file to ask "What  now?"  questions
+            about.    In  addition,  _\bd_\bi_\bs_\bt,  _\bf_\bo_\br_\bw,  and  _\br_\be_\bp_\bl  set
+            m\bmh\bhf\bfo\bol\bld\bde\ber\br if appropriate.  Further, _\bd_\bi_\bs_\bt and _\br_\be_\bp_\bl  set
+            m\bmh\bha\bal\blt\btm\bms\bsg\bg  to  tell the _\bw_\bh_\ba_\bt_\bn_\bo_\bw_\bp_\br_\bo_\bc about an alternate
+            message associated with the draft (the message  being
+            distributed  or  replied to), and _\bd_\bi_\bs_\bt sets m\bmh\bhd\bdi\bis\bst\bt to
+            tell the _\bw_\bh_\ba_\bt_\bn_\bo_\bw_\bp_\br_\bo_\bc that message re-distribution  is
+            occurring.   Also,  m\bmh\bhe\bed\bdi\bit\bto\bor\br is set to tell the _\bw_\bh_\ba_\bt_\b-
+            _\bn_\bo_\bw_\bp_\br_\bo_\bc the user's choice of editor (unless  overrid-
+            den  by  `-noedit').   Similarly, m\bmh\bhu\bus\bse\be may be set by
+            _\bc_\bo_\bm_\bp.  Finally, m\bmh\bhm\bme\bes\bss\bsa\bag\bge\bes\bs is set by _\bd_\bi_\bs_\bt, _\bf_\bo_\br_\bw,  and
+            _\br_\be_\bp_\bl  if annotations are to occur (along with m\bmh\bha\ban\bnn\bno\bo-\b-
+            t\bta\bat\bte\be, and m\bmh\bhi\bin\bnp\bpl\bla\bac\bce\be).  It's amazing all the  informa-
+            tion  that  has to get passed via envariables to make
+            the "What now?" interface look squeaky clean  to  the
+            _\bM_\bH  user,  isn't it?  The reason for all this is that
+
+
+
+[mh.6]                        MH.6.8                            5
+
+
+
+
+
+
+
+
+MH-PROFILE(5)        BSD Programmer's Manual        MH-PROFILE(5)
+
+
+            the _\bM_\bH user can select _\ba_\bn_\by program  as  the  _\bw_\bh_\ba_\bt_\bn_\bo_\bw_\b-
+            _\bp_\br_\bo_\bc,  including  one  of  the standard shells.  As a
+            result, it's not possible to pass information via  an
+            argument list.
+            If the WHATNOW option was set during _\bM_\bH configuration
+            (type `-help' to an _\bM_\bH command to find out),  and  if
+            this envariable is set, if the commands _\br_\be_\bf_\bi_\bl_\be, _\bs_\be_\bn_\bd,
+            _\bs_\bh_\bo_\bw, or _\bw_\bh_\bo_\bm are not  given  any  `msgs'  arguments,
+            then they will default to using the file indicated by
+            m\bmh\bhd\bdr\bra\baf\bft\bt.  This is  useful  for  getting  the  default
+            behavior supplied by the default _\bw_\bh_\ba_\bt_\bn_\bo_\bw_\bp_\br_\bo_\bc.
+
+       m\bmh\bhf\bfo\bol\bld\bde\ber\br : the folder containing the alternate message
+            This  is set by _\bd_\bi_\bs_\bt and _\br_\be_\bp_\bl during edit sessions so
+            you can peruse other messages in the  current  folder
+            besides the one being distributed or replied to.  The
+            m\bmh\bhf\bfo\bol\bld\bde\ber\br envariable is also set by  _\bs_\bh_\bo_\bw,  _\bp_\br_\be_\bv,  and
+            _\bn_\be_\bx_\bt for use by _\bm_\bh_\bl.
+
+       M\bMH\bHB\bBB\bBR\bRC\bC :
+            If  you define the envariable M\bMH\bHB\bBB\bBR\bRC\bC, you can specify
+            a BBoards information file other  than  _\b._\bb_\bb_\br_\bc  to  be
+            read by _\bb_\bb_\bc.  If the value of M\bMH\bHB\bBB\bBR\bRC\bC is not absolute,
+            (i.e., does not begin with a /\b/ ), it will be presumed
+            to start from the current working directory.
+
+       M\bMH\bHF\bFD\bD :
+            If  the  OVERHEAD option was set during _\bM_\bH configura-
+            tion (type `-help' to an _\bM_\bH  command  to  find  out),
+            then if this envariable is set, _\bM_\bH considers it to be
+            the number of a  file  descriptor  which  is  opened,
+            read-only  to  the  _\bM_\bH  profile.   Similarly,  if the
+            envariable M\bMH\bHC\bCO\bON\bNT\bTE\bEX\bXT\bTF\bFD\bD is set, this is the number  of
+            a file descriptor which is opened read-only to the _\bM_\bH
+            context.  This feature of _\bM_\bH is experimental, and  is
+            used  to  examine  possible speed improvements for _\bM_\bH
+            startup.  Note that these envariables must be set and
+            non-empty  to enable this feature.  However, if OVER-
+            HEAD is enabled during _\bM_\bH configuration, then when _\bM_\bH
+            programs call other _\bM_\bH programs, this scheme is used.
+            These file descriptors are not closed throughout  the
+            execution  of  the  _\bM_\bH  program, so children may take
+            advantage of this.  This approach is  thought  to  be
+            completely  safe  and does result in some performance
+            enhancements.
+
+
+F\bFI\bIL\bLE\bES\bS
+       $HOME/.mh_profile                         The user profile
+       or $MH                                    Rather than the standard profile
+       <mh-dir>/context                          The user context
+
+
+
+[mh.6]                        MH.6.8                            6
+
+
+
+
+
+
+
+
+MH-PROFILE(5)        BSD Programmer's Manual        MH-PROFILE(5)
+
+
+       or $CONTEXT                               Rather than the standard context
+       <folder>/.mh_sequences                    Public sequences for <folder>
+
+P\bPR\bRO\bOF\bFI\bIL\bLE\bE C\bCO\bOM\bMP\bPO\bON\bNE\bEN\bNT\bTS\bS
+       All
+
+S\bSE\bEE\bE A\bAL\bLS\bSO\bO
+       mh(1), environ(5), mh-sequence(5)
+
+D\bDE\bEF\bFA\bAU\bUL\bLT\bTS\bS
+       None
+
+C\bCO\bON\bNT\bTE\bEX\bXT\bT
+       All
+
+H\bHI\bIS\bST\bTO\bOR\bRY\bY
+       In previous versions of _\bM_\bH, the current-message value of a
+       writable  folder  was  kept  in a file called "cur" in the
+       folder itself.  In _\bm_\bh_\b._\b3,  the  _\b._\bm_\bh_\b__\bp_\br_\bo_\bf_\bi_\bl_\be  contained  the
+       current-message  values  for  all  folders,  regardless of
+       their writability.
+
+       In all versions of _\bM_\bH since _\bm_\bh_\b._\b4, the _\b._\bm_\bh_\b__\bp_\br_\bo_\bf_\bi_\bl_\be contains
+       only  static  information,  which  _\bM_\bH  programs  will  N\bNO\bOT\bT
+       update.  Changes in context are made to the  _\bc_\bo_\bn_\bt_\be_\bx_\bt  file
+       kept in the users MH _\bd_\bi_\br_\be_\bc_\bt_\bo_\br_\by.  This includes, but is not
+       limited to: the "Current-Folder"  entry  and  all  private
+       sequence information.  Public sequence information is kept
+       in a file called _\b._\bm_\bh_\b__\bs_\be_\bq_\bu_\be_\bn_\bc_\be_\bs in each folder.
+
+       To convert from the format used in releases of _\bM_\bH prior to
+       the  format used in the _\bm_\bh_\b._\b4 release, _\bi_\bn_\bs_\bt_\ba_\bl_\bl_\b-_\bm_\bh should be
+       invoked with the `-compat' switch.  This generally happens
+       automatically  on  _\bM_\bH  systems generated with the "COMPAT"
+       option during _\bM_\bH configuration.
+
+       The _\b._\bm_\bh_\b__\bp_\br_\bo_\bf_\bi_\bl_\be may override the path of the _\bc_\bo_\bn_\bt_\be_\bx_\bt file,
+       by  specifying  a  "context" entry (this must be in lower-
+       case).  If the entry is not absolute (does not start  with
+       a  /\b/ ),  then  it is interpreted relative to the user's _\bM_\bH
+       directory.  As a result, you can actually have  more  than
+       one  set  of  private sequences by using different context
+       files.
+
+B\bBU\bUG\bGS\bS
+       The shell quoting conventions are  not  available  in  the
+       .mh_profile.  Each token is separated by whitespace.
+
+       There is some question as to what kind of arguments should
+       be placed in the profile as options.  In order to  provide
+       a  clear  answer,  recall command line semantics of all _\bM_\bH
+
+
+
+[mh.6]                        MH.6.8                            7
+
+
+
+
+
+
+
+
+MH-PROFILE(5)        BSD Programmer's Manual        MH-PROFILE(5)
+
+
+       programs:  conflicting  switches   (e.g.,   `-header   and
+       `-noheader')  may  occur more than one time on the command
+       line, with the last switch  taking  effect.   Other  argu-
+       ments,  such  as message sequences, filenames and folders,
+       are always remembered on the invocation line and  are  not
+       superseded  by  following  arguments  of  the  same  type.
+       Hence, it is safe to place only switches (and their  argu-
+       ments) in the profile.
+
+       If one finds that an _\bM_\bH program is being invoked again and
+       again with the same arguments, and those arguments  aren't
+       switches,  then there are a few possible solutions to this
+       problem.  The first is to create a  (soft)  link  in  your
+       _\b$_\bH_\bO_\bM_\bE_\b/_\bb_\bi_\bn  directory to the _\bM_\bH program of your choice.  By
+       giving this link a different name, you can  create  a  new
+       entry in your profile and use an alternate set of defaults
+       for the _\bM_\bH command.  Similarly, you could create  a  small
+       shell  script  which  called the _\bM_\bH program of your choice
+       with an alternate set of invocation line  switches  (using
+       links and an alternate profile entry is preferable to this
+       solution).
+
+       Finally, the _\bc_\bs_\bh user could create an alias for  the  com-
+       mand of the form:
+
+            alias cmd 'cmd arg1 arg2 ...'
+
+       In  this  way,  the  user can avoid lengthy type-in to the
+       shell, and still give _\bM_\bH commands  safely.   (Recall  that
+       some _\bM_\bH commands invoke others, and that in all cases, the
+       profile is read,  meaning  that  aliases  are  disregarded
+       beyond an initial command invocation)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[mh.6]                        MH.6.8                            8
+
+
+
+
+
diff --git a/usr/src/contrib/mh-6.8.3a/doc/mh-sequence.man b/usr/src/contrib/mh-6.8.3a/doc/mh-sequence.man
new file mode 100644 (file)
index 0000000..50f4b44
--- /dev/null
@@ -0,0 +1,330 @@
+
+
+
+MH-SEQUENCE(5)       BSD Programmer's Manual       MH-SEQUENCE(5)
+
+
+N\bNA\bAM\bME\bE
+       mh-sequence - sequence specification for MH message system
+
+S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
+       most _\bM_\bH commands
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+       Most _\bM_\bH commands accept a `msg' or  `msgs'  specification,
+       where `msg' indicates one message and `msgs' indicates one
+       or more messages.  To designate a  message,  you  may  use
+       either  its  number  (e.g.,  1,  10,  234) or one of these
+       "reserved" message names:
+
+            _\bN_\ba_\bm_\be      _\bD_\be_\bs_\bc_\br_\bi_\bp_\bt_\bi_\bo_\bn
+            first     the first message in the folder
+            last      the last message in the folder
+            cur       the most recently accessed message
+            prev      the message numerically preceding "cur"
+            next      the message numerically following "cur"
+
+       In commands that take a `msg'  argument,  the  default  is
+       "cur".  As a shorthand, "." is equivalent to "cur".
+
+       For example: In a folder containing five messages numbered
+       5, 10, 94, 177 and 325, "first" is 5 and  "last"  is  325.
+       If "cur" is 94, then "prev" is 10 and "next" is 177.
+
+       The word `msgs' indicates that one or more messages may be
+       specified.  Such a specification consists of  one  message
+       designation  or  of several message designations separated
+       by spaces.  A message designation  consists  either  of  a
+       message name as defined above, or a message range.
+
+       A message range is specified as "name1-name2" or "name:n",
+       where `name', `name1' and `name2' are message  names,  and
+       `n' is an integer.
+
+       The  specification "name1-name2" designates all currently-
+       existing messages from `name1' to `name2' inclusive.   The
+       message  name  "all"  is a shorthand for the message range
+       "first-last".
+
+       The specification "name:n" designates up to `n'  messages.
+       These  messages  start  with `name' if `name' is a message
+       number or one of the  reserved  names  "first"  "cur",  or
+       "next",  The  messages end with `name' if `name' is "prev"
+       or "last".  The interpretation of `n' may be overridden by
+       preceding `n' with a plus or minus sign; `+n' always means
+       up to `n' messages starting with `name', and  `-n'  always
+       means up to `n' messages ending with `name'.
+
+
+
+
+[mh.6]                        MH.6.8                            1
+
+
+
+
+
+
+
+
+MH-SEQUENCE(5)       BSD Programmer's Manual       MH-SEQUENCE(5)
+
+
+       In commands which accept a `msgs' argument, the default is
+       either "cur" or "all", depending on which makes more sense
+       for  each  command  (see  the  individual  man  pages  for
+       details).  Repeated specifications  of  the  same  message
+       have the same effect as a single specification of the mes-
+       sage.
+
+
+   U\bUs\bse\ber\br-\b-D\bDe\bef\bfi\bin\bne\bed\bd M\bMe\bes\bss\bsa\bag\bge\be S\bSe\beq\bqu\bue\ben\bnc\bce\bes\bs
+       In addition to the "reserved" (pre-defined) message  names
+       given  above,  _\bM_\bH  supports  user-defined  sequence names.
+       User-defined sequences allow  the  _\bM_\bH  user  a  tremendous
+       amount  of power in dealing with groups of messages in the
+       same folder by allowing the user to bind a group  of  mes-
+       sages to a meaningful symbolic name.
+
+       The name used to denote a message sequence must consist of
+       an alphabetic character followed by zero or more  alphanu-
+       meric  characters,  and  can  not be one of the "reserved"
+       message names above.  After defining a sequence, it can be
+       used  wherever  an  _\bM_\bH  command  expects a `msg' or `msgs'
+       argument.
+
+       Some forms of message ranges are allowed with user-defined
+       sequences.  The specification "name:n" may be used, and it
+       designates up to the first `n' messages (or last `n'  mes-
+       sages  for  `-n')  which  are elements of the user-defined
+       sequence `name'.
+
+       The specifications "name:next" and "name:prev" may also be
+       used,  and  they  designate  the  next or previous message
+       (relative to the current message) which is an  element  of
+       the  user-defined  sequence  `name'.   The specificaitions
+       "name:first" and "name:last" are  equivalent  to  "name:1"
+       and "name:-1", respectively.  The specification "name:cur"
+       is not allowed (use just "cur" instead).   The  syntax  of
+       these  message range specifcations is subject to change in
+       the future.
+
+       User-defined sequence names are specific to  each  folder.
+       They are defined using the _\bp_\bi_\bc_\bk and _\bm_\ba_\br_\bk commands.
+
+
+   P\bPu\bub\bbl\bli\bic\bc a\ban\bnd\bd P\bPr\bri\biv\bva\bat\bte\be U\bUs\bse\ber\br-\b-D\bDe\bef\bfi\bin\bne\bed\bd S\bSe\beq\bqu\bue\ben\bnc\bce\bes\bs
+       There are two varieties of sequences: _\bp_\bu_\bb_\bl_\bi_\bc sequences and
+       _\bp_\br_\bi_\bv_\ba_\bt_\be sequences.   _\bP_\bu_\bb_\bl_\bi_\bc  sequences  of  a  folder  are
+       accessible  to  any  _\bM_\bH user that can read that folder and
+       are kept in the .mh_sequences file in the folder.  _\bP_\br_\bi_\bv_\ba_\bt_\be
+       sequences  are accessible only to the _\bM_\bH user that defined
+       those sequences and are kept  in  the  user's  _\bM_\bH  context
+       file.   By  default, _\bp_\bi_\bc_\bk and _\bm_\ba_\br_\bk create _\bp_\bu_\bb_\bl_\bi_\bc sequences
+
+
+
+[mh.6]                        MH.6.8                            2
+
+
+
+
+
+
+
+
+MH-SEQUENCE(5)       BSD Programmer's Manual       MH-SEQUENCE(5)
+
+
+       if the folder for which the sequences are being defined is
+       writable by the _\bM_\bH user.  Otherwise, _\bp_\br_\bi_\bv_\ba_\bt_\be sequences are
+       created.  This can be overridden with  the  `-public'  and
+       `-private' switches to _\bm_\ba_\br_\bk.
+
+
+   S\bSe\beq\bqu\bue\ben\bnc\bce\be N\bNe\beg\bga\bat\bti\bio\bon\bn
+       _\bM_\bH  provides  the  ability to select all messages not ele-
+       ments of a user-defined sequence.  To do  this,  the  user
+       should define the entry "Sequence-Negation" in the _\bM_\bH pro-
+       file file; its value may be any string.   This  string  is
+       then  used  to  preface  an existing user-defined sequence
+       name.  This specification then refers  to  those  messages
+       not elements of the specified sequence name.  For example,
+       if the profile entry is:
+
+            Sequence-Negation: not
+
+       then anytime an _\bM_\bH command is given "notfoo" as a `msg' or
+       `msgs' argument, it would substitute all messages that are
+       not elements of the sequence "foo".
+
+       Obviously, the user should beware  of  defining  sequences
+       with   names   that   begin   with   the   value   of  the
+       "Sequence-Negation" profile entry.
+
+
+   T\bTh\bhe\be P\bPr\bre\bev\bvi\bio\bou\bus\bs S\bSe\beq\bqu\bue\ben\bnc\bce\be
+       _\bM_\bH provides the ability to remember the  `msgs'  or  `msg'
+       argument  last  given to an _\bM_\bH command.  The entry "Previ-
+       ous-Sequence" should be defined in  the  _\bM_\bH  profile;  its
+       value should be a sequence name or multiple sequence names
+       separated by spaces.  If this entry is defined, when  when
+       an  _\bM_\bH  command  finishes,  it will define the sequence(s)
+       named in the value of this entry to be those messages that
+       were specified to the command.  Hence, a profile entry of
+
+            Previous-Sequence: pseq
+
+       directs  any  _\bM_\bH  command  that  accepts a `msg' or `msgs'
+       argument to define the sequence "pseq" as  those  messages
+       when it finishes.
+
+       N\bNo\bot\bte\be:\b:  there  can  be  a  performance penalty in using the
+       "Previous-Sequence" facility.  If it is used, a\bal\bll\bl _\bM_\bH  pro-
+       grams  have  to  write  the  sequence  information  to the
+       .mh_sequences file for the folder each time they run.   If
+       the  "Previous-Sequence"  profile  entry  is not included,
+       only _\bp_\bi_\bc_\bk and _\bm_\ba_\br_\bk will write to the .mh_sequences file.
+
+
+
+
+
+[mh.6]                        MH.6.8                            3
+
+
+
+
+
+
+
+
+MH-SEQUENCE(5)       BSD Programmer's Manual       MH-SEQUENCE(5)
+
+
+   T\bTh\bhe\be U\bUn\bns\bse\bee\ben\bn S\bSe\beq\bqu\bue\ben\bnc\bce\be
+       Finally, some users like to indicate messages  which  have
+       not been previously seen by them.  Both _\bi_\bn_\bc and _\bs_\bh_\bo_\bw honor
+       the profile entry "Unseen-Sequence" to support this activ-
+       ity.   This  entry in the .mh_profile should be defined as
+       one or more sequence names separated by spaces.  If  there
+       is  a  value  for  "Unseen-Sequence"  in the profile, then
+       whenever _\bi_\bn_\bc places new messages in a folder, the new mes-
+       sages  will  also be added to the sequence(s) named in the
+       value of this entry.  Hence, a profile entry of
+
+            Unseen-Sequence: unseen
+
+       directs _\bi_\bn_\bc to add new messages to the sequence  "unseen".
+       Unlike  the  behavior  of the "Previous-Sequence" entry in
+       the profile, however, the sequence(s) will n\bno\bot\bt  be  zeroed
+       by _\bi_\bn_\bc.
+
+       Similarly, whenever _\bs_\bh_\bo_\bw (or _\bn_\be_\bx_\bt or _\bp_\br_\be_\bv) displays a mes-
+       sage, that message will  be  removed  from  any  sequences
+       named by the "Unseen-Sequence" entry in the profile.
+
+
+F\bFI\bIL\bLE\bES\bS
+       $HOME/.mh_profile                         The user profile
+       <mh-dir>/context                          The user context
+       <folder>/.mh_sequences                    Public sequences for <folder>
+
+P\bPR\bRO\bOF\bFI\bIL\bLE\bE C\bCO\bOM\bMP\bPO\bON\bNE\bEN\bNT\bTS\bS
+       Sequence-Negation:   To designate messages not in a sequence
+       Previous-Sequence:   The last message specification given
+       Unseen-Sequence:     Those messages not yet seen by the user
+
+S\bSE\bEE\bE A\bAL\bLS\bSO\bO
+       mh(1), mark(1), pick(1), mh-profile(5)
+
+D\bDE\bEF\bFA\bAU\bUL\bLT\bTS\bS
+       None
+
+C\bCO\bON\bNT\bTE\bEX\bXT\bT
+       All
+
+B\bBU\bUG\bGS\bS
+       User-defined  sequences  are  stored  in the .mh_sequences
+       file as a series of message  specifications  separated  by
+       spaces.   If  a  user-defined  sequence  contains too many
+       individual message specifications, that line in  the  file
+       may  become too long for _\bM_\bH to handle.  This will generate
+       the error message  ".mh_sequences  is  poorly  formatted".
+       You'll have to edit the file by hand to remove the offend-
+       ing line.
+
+
+
+[mh.6]                        MH.6.8                            4
+
+
+
+
+
+
+
+
+MH-SEQUENCE(5)       BSD Programmer's Manual       MH-SEQUENCE(5)
+
+
+       This  can  happen  to  users  who   define   the   "Previ-
+       ous-Sequence"  entry  in  the _\bM_\bH profile and have a folder
+       containing many messages with gaps in  the  numbering.   A
+       workaround for large folders is to minimize numbering gaps
+       by using "folder -pack" often.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[mh.6]                        MH.6.8                            5
+
+
+
+
+
diff --git a/usr/src/contrib/mh-6.8.3a/doc/mh-tailor.man b/usr/src/contrib/mh-6.8.3a/doc/mh-tailor.man
new file mode 100644 (file)
index 0000000..c6e318e
--- /dev/null
@@ -0,0 +1,462 @@
+
+
+
+MH-TAILOR(5)         BSD Programmer's Manual         MH-TAILOR(5)
+
+
+N\bNA\bAM\bME\bE
+       mh-tailor, mtstailor - system customization for MH message
+       handler
+
+
+S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
+       _\b/_\bu_\bs_\br_\b/_\bc_\bo_\bn_\bt_\br_\bi_\bb_\b/_\bm_\bh_\b-_\b6_\b._\b8_\b/_\bl_\bi_\bb_\b/_\bm_\bt_\bs_\bt_\ba_\bi_\bl_\bo_\br
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+       The file  /usr/contrib/mh-6.8/lib/mtstailor  defines  run-
+       time options for those _\bM_\bH programs which interact (in some
+       form) with the  message  transport  system.   At  present,
+       these (user) programs are: _\ba_\bp, _\bc_\bo_\bn_\bf_\bl_\bi_\bc_\bt, _\bi_\bn_\bc, _\bm_\bs_\bg_\bc_\bh_\bk, _\bm_\bs_\bh,
+       _\bp_\bo_\bs_\bt, _\br_\bc_\bv_\bd_\bi_\bs_\bt, and _\br_\bc_\bv_\bp_\ba_\bc_\bk.
+
+       Each option should be given on a single line.  Blank lines
+       and  lines  which begin with `#' are ignored.  The options
+       available along with default values and a  description  of
+       their meanings are listed below:
+
+       localname:
+            The  host  name  _\bM_\bH  considers  local.   If  not set,
+            depending on the version of UNIX you're  running,  _\bM_\bH
+            will   query   the   system  for  this  value  (e.g.,
+            <whoami.h>, gethostname, etc.).  This has no  equiva-
+            lent  in the _\bM_\bH configuration file.  POP client hosts
+            should set this value to the name of the POP  service
+            host.
+
+       localdomain:
+            If this is set, a `.' followed by this string will be
+            appended to your host name.  This might be useful for
+            sites  where  the  host  name  returned by the system
+            (e.g.,  <whoami.h>,  gethostname,  etc.),  is  not  a
+            "fully qualified domain name" (i.e., does not contain
+            a `.').
+
+       clientname:
+            The host name _\bM_\bH will give  in  the  SMTP  H\bHE\bEL\bLO\bO  (and
+            E\bEH\bHL\bLO\bO)  command,  when  posting mail.  If not set, the
+            host name _\bM_\bH considers local is used (see "localname"
+            above).   If  empty,  no  H\bHE\bEL\bLO\bO command will be given.
+            Although the H\bHE\bEL\bLO\bO command is  required  by  RFC  821,
+            many SMTP servers do not require it.
+
+            Early versions of SendMail will fail if the host name
+            given in the H\bHE\bEL\bLO\bO command is the  local  host;  later
+            versions  of  SendMail  will complain if you omit the
+            H\bHE\bEL\bLO\bO command.  If you run  SendMail,  find  out  what
+            your system expects and set this field if needed.
+
+
+
+
+[mh.6]                        MH.6.8                            1
+
+
+
+
+
+
+
+
+MH-TAILOR(5)         BSD Programmer's Manual         MH-TAILOR(5)
+
+
+       systemname:
+            The  name of the local host in the _\bU_\bU_\bC_\bP "domain".  If
+            not set, depending on the version of UNIX you're run-
+            ning,  _\bM_\bH will query the system for this value.  This
+            has no equivalent in the _\bM_\bH configuration file.
+
+       mmdfldir: /var/mail
+            The directory where maildrops are kept.  If  this  is
+            empty, the user's home directory is used.  This over-
+            rides the "mail" field in the _\bM_\bH configuration  file.
+
+       mmdflfil:
+            The  name of the maildrop file in the directory where
+            maildrops are kept.  If this  is  empty,  the  user's
+            login  name is used.  This overrides the "mail" field
+            in the _\bM_\bH configuration file.
+
+       mmdelim1: \001\001\001\001\n
+            The beginning-of-message delimiter for maildrops.
+
+       mmdelim2: \001\001\001\001\n
+            The end-of-message delimiter for maildrops.
+
+       mmailid: 0
+            If non-zero, then support for MMailids in /\b/e\bet\btc\bc/\b/p\bpa\bas\bss\bsw\bwd\bd
+            is  enabled.   Basically,  the  pw_gecos field in the
+            password file is of the form
+
+                 My Full Name <mailid>
+
+            The _\bM_\bH internal routines that deal with user and full
+            names will return "mailid" and "My Full Name" respec-
+            tively.
+
+       lockstyle: 0
+            The locking discipline to perform.  A  value  of  "0"
+            means to use kernel-level locking if available.  (See
+            below for more details.)  On systems compiled without
+            kernel-level  locking,  standard  _\bB_\be_\bl_\bl_\bM_\ba_\bi_\bl locking is
+            used.  A value of "1" means to use  _\bB_\be_\bl_\bl_\bM_\ba_\bi_\bl  locking
+            always  (the  name  of  the lock is based on the file
+            name).  A value of "2"  means  to  use  _\bM_\bM_\bD_\bF  locking
+            always (the name of the lock is based on device/inode
+            pairs).
+
+       lockldir:
+            The name of the directory for making locks.  If  your
+            system  isn't configured to use kernel-level locking,
+            then this directory is used when creating locks.   If
+            the value is empty, then the directory of the file to
+            be locked is used.
+
+
+
+[mh.6]                        MH.6.8                            2
+
+
+
+
+
+
+
+
+MH-TAILOR(5)         BSD Programmer's Manual         MH-TAILOR(5)
+
+
+       maildelivery: /usr/contrib/mh-6.8/lib/maildelivery
+            The name of  the  system-wide  default  _\b._\bm_\ba_\bi_\bl_\bd_\be_\bl_\bi_\bv_\be_\br_\by
+            file.  See _\bm_\bh_\bo_\bo_\bk (1) for the details.
+
+       everyone: 200
+            The  highest  user-id  which  should NOT receive mail
+            addressed to "everyone".
+
+       noshell:
+            If set, then each  user-id  greater  than  "everyone"
+            that  has a login shell equivalent to the given value
+            (e.g., "/bin/csh") indicates that mail for "everyone"
+            should  not be sent to them.  This is useful for han-
+            dling admin, dummy, and guest logins.
+
+   M\bMa\bai\bil\bl F\bFi\bil\blt\bte\ber\bri\bin\bng\bg
+       These options are only available if you compiled  _\bM_\bH  with
+       "options MF".
+
+       uucpchan: name of _\bU_\bU_\bC_\bP channel
+            Usually  "UUCP".   This  has  no equivalent in the _\bM_\bH
+            configuration file.
+
+       uucpldir: /usr/spool/mail
+            The name of the directory where  _\bU_\bU_\bC_\bP  maildrops  are
+            kept.  This has no equivalent in the _\bM_\bH configuration
+            file.
+
+       uucplfil:
+            The name of the maildrop file in the directory  where
+            _\bU_\bU_\bC_\bP  maildrops  are  kept.   If  this  is empty, the
+            user's login name is used.  This has no equivalent in
+            the _\bM_\bH configuration file.
+
+       umincproc: /usr/contrib/mh-6.8/lib/uminc
+            The path to the program that filters _\bU_\bU_\bC_\bP-style mail-
+            drops to _\bM_\bM_\bD_\bF-style maildrops.
+
+   S\bSt\bta\ban\bnd\bd-\b-A\bAl\blo\bon\bne\be D\bDe\bel\bli\biv\bve\ber\bry\by
+       These options are only available if you compiled _\bM_\bH to use
+       stand-alone delivery (i.e., "mts: mh").
+
+       mailqdir: /usr/spool/netmail
+            The directory where network mail is queued.
+
+       tmailqdir: /usr/tmp
+            The  directory  where  network  mail  queue files are
+            built.
+
+       syscpy: 1
+            If ON, unauthorized mail is copied to the overseer.
+
+
+
+[mh.6]                        MH.6.8                            3
+
+
+
+
+
+
+
+
+MH-TAILOR(5)         BSD Programmer's Manual         MH-TAILOR(5)
+
+
+       overseer: root
+            The user that receives reports of unauthorized  mail.
+
+       mailer: root
+            The user acting for the mail system.
+
+       fromtmp: /tmp/rml.f.XXXXXX
+            The _\bm_\bk_\bt_\be_\bm_\bp template for storing from lines.
+
+       msgtmp: /tmp/rml.m.XXXXXX
+            The  _\bm_\bk_\bt_\be_\bm_\bp template for storing the rest of the mes-
+            sage.
+
+       errtmp: /tmp/rml.e.XXXXXX
+            The _\bm_\bk_\bt_\be_\bm_\bp template for storing error  messages  from
+            other mailers.
+
+       tmpmode: 0600
+            The octal mode which temporary files are set to.
+
+       okhosts: /usr/contrib/mh-6.8/lib/Rmail.OKHosts
+            A  file  containing  a  list  of  hosts that can send
+            ARPAnet mail.
+
+       okdests: /usr/contrib/mh-6.8/lib/RMail.OKDests
+            A file containing a list of  hosts  that  can  always
+            receive mail.
+
+   T\bTh\bhe\be `\b`/\b/s\bsm\bmt\btp\bp'\b' M\bMT\bTS\bS S\bSu\buf\bff\bfi\bix\bx
+       These  options  are only available if you compiled _\bM_\bH with
+       the "/smtp" suffix to your "mts:" configuration.
+
+       hostable: /usr/contrib/mh-6.8/lib/hosts
+            The exceptions file for /etc/hosts used  by  _\bp_\bo_\bs_\bt  to
+            try  to find official names.  The format of this file
+            is quite simple:
+
+                 1. Comments are surrounded by  sharp  (`#')  and
+                 newline.
+                 2. Words are surrounded by white space.
+                 3.  The  first  word on the line is the official
+                 name of a host.
+                 4. All words following the  official  names  are
+                 aliases for that host.
+
+       servers: localhost \01localnet
+            A  lists of hosts and networks which to look for SMTP
+            servers when posting local mail.  It turns  out  this
+            is  a  major win for hosts which don't run an message
+            transport system.  The value of "servers"  should  be
+            one or more items.  Each item is the name of either a
+
+
+
+[mh.6]                        MH.6.8                            4
+
+
+
+
+
+
+
+
+MH-TAILOR(5)         BSD Programmer's Manual         MH-TAILOR(5)
+
+
+            host or a net (in the latter case, precede  the  name
+            of  the  net  by  a \01).  This list is searched when
+            looking for a smtp server to post mail.  If a host is
+            present,  the  SMTP port on that host is tried.  If a
+            net is present, the SMTP port on each  host  in  that
+            net  is tried.  Note that if you are running with the
+            BIND code, then any networks  specified  are  ignored
+            (sorry, the interface went away under BIND).
+
+   S\bSe\ben\bnd\bdM\bMa\bai\bil\bl
+       This  option  is  only available if you compiled _\bM_\bH to use
+       _\bS_\be_\bn_\bd_\bM_\ba_\bi_\bl as your delivery agent (i.e., "mts: sendmail").
+
+       sendmail: /usr/lib/sendmail
+            The pathname to the _\bs_\be_\bn_\bd_\bm_\ba_\bi_\bl program.
+
+   P\bPo\bos\bst\bt O\bOf\bff\bfi\bic\bce\be P\bPr\bro\bot\bto\boc\bco\bol\bl
+       This option is only available if you compiled _\bM_\bH with  POP
+       support enabled (i.e., "pop: on").
+
+       pophost:
+            The name of the default POP service host.  If this is
+            not set, then _\bM_\bH looks in the standard maildrop areas
+            for  waiting  mail,  otherwise  the named POP service
+            host is consulted.
+
+   B\bBB\bBo\boa\bar\brd\bds\bs D\bDe\bel\bli\biv\bve\ber\bry\by
+       This option is only available  if  you  compiled  _\bM_\bH  with
+       "bbdelivery: on".
+
+       bbdomain:
+            The local BBoards domain (a UCI hack).
+
+   B\bBB\bBo\boa\bar\brd\bds\bs &\b& T\bTh\bhe\be P\bPO\bOP\bP
+       These  options  are only available if you compiled _\bM_\bH with
+       "bboards: pop" and "pop: on".
+
+       popbbhost:
+            The POP service host which  also  acts  as  a  BBoard
+            server.   This  variable  should  be  set  on the POP
+            BBoards client host.
+
+       popbbuser:
+            The guest account on the POP/BB service  host.   This
+            should  be  a  different login ID than either the POP
+            user or the BBoards  user.   (The  user-id  "ftp"  is
+            highly  recommended.)  This variable should be set on
+            both the POP BBoards client and service hosts.
+
+       popbblist: /usr/contrib/mh-6.8/lib/hosts.popbb
+            A file containing of lists of hosts that are  allowed
+
+
+
+[mh.6]                        MH.6.8                            5
+
+
+
+
+
+
+
+
+MH-TAILOR(5)         BSD Programmer's Manual         MH-TAILOR(5)
+
+
+            to  use  the POP facility to access BBoards using the
+            guest account.  If this file is not present, then  no
+            check  is  made.   This variable should be set on the
+            POP BBoards service host.
+
+   B\bBB\bBo\boa\bar\brd\bds\bs &\b& T\bTh\bhe\be N\bNN\bNT\bTP\bP
+       This option is only available  if  you  compiled  _\bM_\bH  with
+       "bboards: nntp" and "pop: on".
+
+       nntphost:
+            The host which provides the NNTP service.  This vari-
+            able should be set on the NNTP BBoards client host.
+
+   F\bFi\bil\ble\be L\bLo\boc\bck\bki\bin\bng\bg
+       A few words on locking: _\bM_\bH has a flexible  locking  system
+       for  making locks on files.  There are two m\bmt\bts\bst\bta\bai\bil\blo\bor\br vari-
+       ables you should be aware of "lockstyle"  and  "lockldir".
+       The  first controls the method of locking, the second says
+       where lock files should be created.
+
+       The "lockstyle" variable can take on three values:  0,  1,
+       2.   A  value  of 0 is useful on systems with kernel-level
+       locking.  If you are on a B\bBS\bSD\bD4\b42\b2  system,  _\bM_\bH  assumes  you
+       have  the  _\bf_\bl_\bo_\bc_\bk  system  call.   On other systems: define
+       F\bFL\bLO\bOC\bCK\bK if you want to use the  _\bf_\bl_\bo_\bc_\bk  system  call;  define
+       L\bLO\bOC\bCK\bKF\bF  if you want to use the _\bl_\bo_\bc_\bk_\bf system call; or define
+       F\bFC\bCN\bNT\bTL\bL if you want to use the _\bf_\bc_\bn_\bt_\bl system call for kernel-
+       level  locking.   If you haven't configured _\bM_\bH to use ker-
+       nel-level locking, a locking style of 0 is considered  the
+       same as locking style 1.
+
+       A  value of 1 or 2 specifies that a file should be created
+       whose existence means  "locked"  and  whose  non-existence
+       means  "unlocked".   A  value  of  1 says to construct the
+       lockname by appending ".lock" to  the  name  of  the  file
+       being locked.  A value of 2 says to construct the lockname
+       by looking at the device and inode  numbers  of  the  file
+       being  locked.   If  the "lockldir" variable is not speci-
+       fied, lock files will be created in  the  directory  where
+       the file being locked resides.  Otherwise, lock files will
+       be created  in  the  directory  specified  by  "lockldir".
+       Prior to installing _\bM_\bH, you should see how locking is done
+       at your site, and set the appropriate values.
+
+F\bFI\bIL\bLE\bES\bS
+       /usr/contrib/mh-6.8/lib/mtstailor         tailor file
+
+P\bPR\bRO\bOF\bFI\bIL\bLE\bE C\bCO\bOM\bMP\bPO\bON\bNE\bEN\bNT\bTS\bS
+       None
+
+
+
+
+
+[mh.6]                        MH.6.8                            6
+
+
+
+
+
+
+
+
+MH-TAILOR(5)         BSD Programmer's Manual         MH-TAILOR(5)
+
+
+S\bSE\bEE\bE A\bAL\bLS\bSO\bO
+       mh-gen(8), mh-mts(8)
+
+D\bDE\bEF\bFA\bAU\bUL\bLT\bTS\bS
+       As listed above
+
+C\bCO\bON\bNT\bTE\bEX\bXT\bT
+       None
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[mh.6]                        MH.6.8                            7
+
+
+
+
+
diff --git a/usr/src/contrib/mh-6.8.3a/doc/mh.man b/usr/src/contrib/mh-6.8.3a/doc/mh.man
new file mode 100644 (file)
index 0000000..68491be
--- /dev/null
@@ -0,0 +1,330 @@
+
+
+
+MH(1)                  BSD Reference Manual                 MH(1)
+
+
+N\bNA\bAM\bME\bE
+       mh - Message Handler
+
+S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
+       any _\bM_\bH command
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+       _\bM_\bH  is  the  name  of  a powerful message handling system.
+       Rather then being a single comprehensive program, _\bM_\bH  con-
+       sists of a collection of fairly simple single-purpose pro-
+       grams to send, receive, save, and retrieve messages.   The
+       user  should  refer  to the _\bM_\bH _\bU_\bs_\be_\br_\b'_\bs _\bM_\ba_\bn_\bu_\ba_\bl and the pages
+       for the _\bM_\bH programs in the Unix Programmers Manual.
+
+       Unlike _\bm_\ba_\bi_\bl, the standard UNIX mail  user  interface  pro-
+       gram,  _\bM_\bH  is not a closed system which must be explicitly
+       run, then exited when you wish to  return  to  the  shell.
+       You  may  freely  intersperse _\bM_\bH commands with other shell
+       commands, allowing you to read and answer your mail  while
+       you  have  (for  example) a compilation running, or search
+       for a file or run programs as needed to find the answer to
+       someone's question before answering their mail.
+
+       The  rest  of  this manual entry is a quick tutorial which
+       will teach you the basics of _\bM_\bH.  You should read the man-
+       ual entries for the individual programs for complete docu-
+       mentation.
+
+       To   get   started   using   _\bM_\bH,   put    the    directory
+       /\b/u\bus\bsr\br/\b/c\bco\bon\bnt\btr\bri\bib\bb/\b/m\bmh\bh-\b-6\b6.\b.8\b8/\b/b\bbi\bin\bn  on your $\b$P\bPA\bAT\bTH\bH.  This is best done
+       in one of the files: .\b.p\bpr\bro\bof\bfi\bil\ble\be, .\b.l\blo\bog\bgi\bin\bn, or .\b.c\bcs\bsh\bhr\brc\bc  in  your
+       home directory.  (Check the manual entry for the shell you
+       use, in case you don't know how to do this.)  Run the  _\bi_\bn_\bc
+       command.   If  you've never used _\bM_\bH before, it will create
+       the necessary default files and directories  after  asking
+       you if you wish it to do so.
+
+       _\bi_\bn_\bc  moves  mail  from  your  system maildrop into your _\bM_\bH
+       `+inbox' folder, breaking it up into  separate  files  and
+       converting it to _\bM_\bH format as it goes.  It prints one line
+       for each message it processes, containing the from  field,
+       the  subject  field  and  as much of the first line of the
+       message as will fit.  It leaves the first message it  pro-
+       cesses  as  your  current message.  You'll need to run _\bi_\bn_\bc
+       each time you wish to incorporate new mail  into  your  _\bM_\bH
+       file.
+
+       _\bs_\bc_\ba_\bn prints a list of the messages in your current folder.
+
+       The commands: _\bs_\bh_\bo_\bw, _\bn_\be_\bx_\bt, and _\bp_\br_\be_\bv are used to  read  spe-
+       cific messages from the current folder.  _\bs_\bh_\bo_\bw displays the
+
+
+
+[mh.6]                        MH.6.8                            1
+
+
+
+
+
+
+
+
+MH(1)                  BSD Reference Manual                 MH(1)
+
+
+       current message, or a specific message, which may be spec-
+       ified  by  its  number,  which  you pass as an argument to
+       _\bs_\bh_\bo_\bw.  _\bn_\be_\bx_\bt and _\bp_\br_\be_\bv 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, _\bs_\bh_\bo_\bw may be called with an
+       argument, or _\bn_\be_\bx_\bt may be used to advance to the first mes-
+       sage.
+
+       _\br_\bm_\bm  (remove message) deletes the current message.  It may
+       be called with message numbers  passed  as  arguments,  to
+       delete specific messages.
+
+       _\br_\be_\bp_\bl  is  used  to  respond  to  the  current  message (by
+       default).  It places you in the editor  with  a  prototype
+       response form.  While you're in the editor, you may peruse
+       the item you're responding  to  by  reading  the  file  @\b@.
+       After  completing your response, type l\bl to review it, or s\bs
+       to send it.
+
+       _\bc_\bo_\bm_\bp allows you to compose a message by putting you in the
+       editor on a prototype message form, and then lets you send
+       it.
+
+       All the _\bM_\bH commands may be run with the  single  argument:
+       `-help',  which  causes  them to print a list of the argu-
+       ments they may be invoked with.
+
+       Commands which take a message number as an argument (_\bs_\bc_\ba_\bn,
+       _\bs_\bh_\bo_\bw, _\br_\be_\bp_\bl, ...)  also take one of the words: _\bf_\bi_\br_\bs_\bt, _\bp_\br_\be_\bv,
+       _\bc_\bu_\br, _\bn_\be_\bx_\bt, or _\bl_\ba_\bs_\bt 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 (_\br_\bm_\bm, _\bs_\bc_\ba_\bn,
+       _\bs_\bh_\bo_\bw, ...)  also take any of the abbreviations:
+
+         _\b<_\bn_\bu_\bm_\b1_\b>_\b-_\b<_\bn_\bu_\bm_\b2_\b>  -  Indicates  all  messages  in the range
+            <num1>  to  <num2>,  inclusive.  The  range  m\bmu\bus\bst\bt  be
+            nonempty.
+
+         _\b<_\bn_\bu_\bm_\b>_\b:_\b+_\bN
+         _\b<_\bn_\bu_\bm_\b>_\b:_\b-_\bN  -  Up  to _\bN messages beginning with (or ending
+            with) message _\bn_\bu_\bm_\b.  _\bN_\bu_\bm may be any of the pre-defined
+            symbols: _\bf_\bi_\br_\bs_\bt_\b, _\bp_\br_\be_\bv_\b, _\bc_\bu_\br_\b, _\bn_\be_\bx_\bt or _\bl_\ba_\bs_\bt_\b.
+
+         _\bf_\bi_\br_\bs_\bt_\b:_\bN
+         _\bp_\br_\be_\bv_\b:_\bN
+         _\bn_\be_\bx_\bt_\b:_\bN
+         _\bl_\ba_\bs_\bt_\b:_\bN  -  The first, previous, next or last _\bN messages,
+            if they exist.
+
+
+
+[mh.6]                        MH.6.8                            2
+
+
+
+
+
+
+
+
+MH(1)                  BSD Reference Manual                 MH(1)
+
+
+       There are many other possibilities such as creating multi-
+       ple folders for different topics, and automatically refil-
+       ing messages according to subject, source, destination, or
+       content.  These are beyond the scope of this manual entry.
+
+       Following is a list of all the _\bM_\bH commands:
+
+     ali (1)        - list mail aliases
+     anno (1)       - annotate messages
+     bbc (1)        - check on BBoards
+     bboards (1)    - the UCI BBoards facility
+     burst (1)      - explode digests into messages
+     comp (1)       - compose a message
+     dist (1)       - redistribute a message to additional addresses
+     folder (1)     - set/list current folder/message
+     folders (1)    - list all folders
+     forw (1)       - forward messages
+     inc (1)        - incorporate new mail
+     mark (1)       - mark messages
+     mhl (1)        - produce formatted listings of MH messages
+     mhmail (1)     - send or read mail
+     mhook (1)      - MH receive-mail hooks
+     mhparam (1)    - print MH profile components
+     mhpath (1)     - print full pathnames of MH messages and folders
+     msgchk (1)     - check for messages
+     msh (1)        - MH shell (and BBoard reader)
+     next (1)       - show the next message
+     packf (1)      - compress a folder into a single file
+     pick (1)       - select messages by content
+     prev (1)       - show the previous message
+     prompter (1)   - prompting editor front end
+     rcvstore (1)   - incorporate new mail asynchronously
+     refile (1)     - file messages in other folders
+     repl (1)       - reply to a message
+     rmf (1)        - remove folder
+     rmm (1)        - remove messages
+     scan (1)       - produce a one line per message scan listing
+     send (1)       - send a message
+     show (1)       - show (list) messages
+     slocal (1)     - special local mail delivery
+     sortm (1)      - sort messages
+     vmh (1)        - visual front-end to MH
+     whatnow (1)    - prompting front-end for send
+     whom (1)       - report to whom a message would go
+
+     mh-alias (5)   - alias file for MH message system
+     mh-format (5)  - format file for MH message system
+     mh-mail (5)    - message format for MH message system
+     mh-profile (5) - user customization for MH message system
+     mh-sequence (5)- sequence specification for MH message system
+
+
+
+
+[mh.6]                        MH.6.8                            3
+
+
+
+
+
+
+
+
+MH(1)                  BSD Reference Manual                 MH(1)
+
+
+     ap (8)         - parse addresses 822-style
+     conflict (8)   - search for alias/password conflicts
+     dp (8)         - parse dates 822-style
+     fmtdump (8)    - decode _\bM_\bH format files
+     install-mh (8) - initialize the MH environment
+     post (8)       - deliver a message
+
+
+F\bFI\bIL\bLE\bES\bS
+       /usr/contrib/mh-6.8/bin                   directory containing _\bM_\bH commands
+       /usr/contrib/mh-6.8/lib                   _\bM_\bH library
+
+S\bSE\bEE\bE A\bAL\bLS\bSO\bO
+       _\bT_\bh_\be _\bR_\bA_\bN_\bD _\bM_\bH Message Handling System: User's Manual,
+       _\bT_\bh_\be _\bR_\bA_\bN_\bD _\bM_\bH Message Handling System: Tutorial,
+       _\bT_\bh_\be _\bR_\bA_\bN_\bD _\bM_\bH  Message  Handling  System:  The  UCI  BBoards
+       Facility,
+       _\bM_\bH_\b._\b5_\b: _\bH_\bo_\bw _\bt_\bo _\bp_\br_\bo_\bc_\be_\bs_\bs _\b2_\b0_\b0 _\bm_\be_\bs_\bs_\ba_\bg_\be_\bs _\ba _\bd_\ba_\by _\ba_\bn_\bd _\bs_\bt_\bi_\bl_\bl _\bg_\be_\bt _\bs_\bo_\bm_\be
+       _\br_\be_\ba_\bl _\bw_\bo_\br_\bk _\bd_\bo_\bn_\be
+
+B\bBU\bUG\bGS\bS
+       If problems are encountered with an _\bM_\bH program, the  prob-
+       lems  should  be  reported to the local maintainers of _\bM_\bH.
+       When doing  this,  the  name  of  the  program  should  be
+       reported,  along with the version information for the pro-
+       gram.
+       To find out what version of an _\bM_\bH program  is  being  run,
+       invoke  the  program with the `-help' switch.  In addition
+       to listing the syntax of the  command,  the  program  will
+       list information pertaining to its version.  This informa-
+       tion includes the version of _\bM_\bH, the host it was generated
+       on, and the date the program was loaded.  A second line of
+       information, found on versions of _\bM_\bH after #5.380  include
+       _\bM_\bH configuration options.  For example,
+
+            version: MH 6.1 #1[UCI] (glacier) of Wed Nov  6 01:13:53 PST 1985
+            options: [BSD42] [MHE] [NETWORK] [SENDMTS] [MMDFII] [SMTP] [POP]
+
+       The  `6.1  #1[UCI]' indicates that the program is from the
+       UCI _\bM_\bH_\b._\b6_\b._\b1 version of _\bM_\bH.  The program  was  generated  on
+       the  host  `glacier'  on  `Wed  Nov  6 01:13:53 PST 1985'.
+       It's usually a good idea to send the output of the `-help'
+       switch along with your report.
+
+       If  there  is no local _\bM_\bH maintainer, try the address B\bBu\bug\bg-\b-
+       M\bMH\bH.   If  that  fails,  use  the  Internet  mailbox   B\bBu\bug\bg-\b-
+       M\bMH\bH@\b@I\bIC\bCS\bS.\b.U\bUC\bCI\bI.\b.E\bED\bDU\bU.
+
+F\bFI\bIL\bLE\bES\bS
+       $HOME/.mh_profile                         The user profile
+
+
+
+
+[mh.6]                        MH.6.8                            4
+
+
+
+
+
+
+
+
+MH(1)                  BSD Reference Manual                 MH(1)
+
+
+P\bPR\bRO\bOF\bFI\bIL\bLE\bE C\bCO\bOM\bMP\bPO\bON\bNE\bEN\bNT\bTS\bS
+       Path:                To determine the user's MH directory
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[mh.6]                        MH.6.8                            5
+
+
+
+
+
diff --git a/usr/src/contrib/mh-6.8.3a/doc/mhl.man b/usr/src/contrib/mh-6.8.3a/doc/mhl.man
new file mode 100644 (file)
index 0000000..3667e4f
--- /dev/null
@@ -0,0 +1,330 @@
+
+
+
+MHL(1)                 BSD Reference Manual                MHL(1)
+
+
+N\bNA\bAM\bME\bE
+       mhl - produce formatted listings of MH messages
+
+S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
+       /usr/contrib/mh-6.8/lib/mhl   [-bell]  [-nobell]  [-clear]
+            [-noclear]     [-folder +folder]     [-form formfile]
+            [-length lines]  [-width columns] [-moreproc program]
+            [-nomoreproc] [files ...]  [-help]
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+       _\bM_\bh_\bl is a formatted message listing  program.   It  can  be
+       used   as   a   replacement   for  _\bm_\bo_\br_\be (1)  (the  default
+       _\bs_\bh_\bo_\bw_\bp_\br_\bo_\bc ).  As with _\bm_\bo_\br_\be, each of the messages  specified
+       as  arguments  (or the standard input) will be output.  If
+       more than one message file is specified, the user will  be
+       prompted  prior  to each one, and a <RETURN> or <EOT> will
+       begin the output, with <RETURN> clearing  the  screen  (if
+       appropriate),  and  <EOT> (usually CTRL-D) suppressing the
+       screen clear.  An <INTERRUPT> (usually CTRL-C) will  abort
+       the current message output, prompting for the next message
+       (if there is one), and a <QUIT> (usually CTRL-\) will ter-
+       minate the program (without core dump).
+
+       The  `-bell'  option tells _\bm_\bh_\bl to ring the terminal's bell
+       at the end of each page, while the `-clear'  option  tells
+       _\bm_\bh_\bl  to clear the scree at the end of each page (or output
+       a formfeed after each message).  Both  of  these  switches
+       (and  their  inverse counterparts) take effect only if the
+       profile entry _\bm_\bo_\br_\be_\bp_\br_\bo_\bc is defined but empty,  and  _\bm_\bh_\bl  is
+       outputting  to  a  terminal.   If  the  _\bm_\bo_\br_\be_\bp_\br_\bo_\bc  entry is
+       defined and non-empty, and _\bm_\bh_\bl is outputting to  a  termi-
+       nal, then _\bm_\bh_\bl will cause the _\bm_\bo_\br_\be_\bp_\br_\bo_\bc to be placed between
+       the terminal and _\bm_\bh_\bl and the switches are  ignored.   Fur-
+       thermore,  if the `-clear' switch is used and _\bm_\bh_\bl_\b'_\bs output
+       is directed to a terminal, then _\bm_\bh_\bl will consult the $\b$T\bTE\bER\bRM\bM
+       and  $\b$T\bTE\bER\bRM\bMC\bCA\bAP\bP envariables to determine the user's terminal
+       type in order to find out how to clear the screen.  If the
+       `-clear'  switch  is used and _\bm_\bh_\bl_\b'_\bs output is not directed
+       to a terminal (e.g., a pipe or a file), then _\bm_\bh_\bl will send
+       a formfeed after each message.
+
+       To  override  the  default _\bm_\bo_\br_\be_\bp_\br_\bo_\bc and the profile entry,
+       use the `-moreproc program' switch.  Note  that  _\bm_\bh_\bl  will
+       never  start a _\bm_\bo_\br_\be_\bp_\br_\bo_\bc if invoked on a hardcopy terminal.
+
+       The `-length length' and `-width width' switches  set  the
+       screen  length  and width, respectively.  These default to
+       the values indicated by $\b$T\bTE\bER\bRM\bMC\bCA\bAP\bP, if  appropriate,  other-
+       wise they default to 40 and 80, respectively.
+
+       The  default  format file used by _\bm_\bh_\bl is called _\bm_\bh_\bl_\b._\bf_\bo_\br_\bm_\ba_\bt
+
+
+
+[mh.6]                        MH.6.8                            1
+
+
+
+
+
+
+
+
+MHL(1)                 BSD Reference Manual                MHL(1)
+
+
+       (which is first searched for in the user's  _\bM_\bH  directory,
+       and then sought in the _\b/_\bu_\bs_\br_\b/_\bc_\bo_\bn_\bt_\br_\bi_\bb_\b/_\bm_\bh_\b-_\b6_\b._\b8_\b/_\bl_\bi_\bb directory),
+       this  can  be  changed  by  using  the  `-form formatfile'
+       switch.
+
+       Finally,  the  `-folder +folder' switch sets the _\bM_\bH folder
+       name, which is used for the "messagename:" field described
+       below.   The  envariable  $\b$m\bmh\bhf\bfo\bol\bld\bde\ber\br  is  consulted for the
+       default value,  which  _\bs_\bh_\bo_\bw,  _\bn_\be_\bx_\bt,  and  _\bp_\br_\be_\bv  initialize
+       appropriately.
+
+       _\bM_\bh_\bl  operates  in two phases: 1) read and parse the format
+       file, and 2) process each message (file).  During phase 1,
+       an  internal  description  of  the format is produced as a
+       structured list.  In phase 2, this list is walked for each
+       message,  outputting  message information under the format
+       constraints from the format file.
+
+       The "mhl.format" form file contains  information  control-
+       ling  screen  clearing,  screen size, wrap-around control,
+       transparent text, component ordering, and  component  for-
+       matting.   Also,  a  list  of  components to ignore may be
+       specified,  and  a  couple  of  "special"  components  are
+       defined  to  provide  added functionality.  Message output
+       will be in the order specified by the order in the  format
+       file.
+
+       Each line of mhl.format has one of the formats:
+
+            ;comment
+            :cleartext
+            variable[,variable...]
+            component:[variable,...]
+
+       A  line beginning with a `;' is a comment, and is ignored.
+       A line beginning with a `:' is clear text, and  is  output
+       exactly  as  is.   A line containing only a `:' produces a
+       blank line in the output.  A line beginning  with  "compo-
+       nent:" defines the format for the specified component, and
+       finally, remaining lines define the global environment.
+
+       For example, the line:
+
+            width=80,length=40,clearscreen,overflowtext="***",overflowoffset=5
+
+       defines the screen size to be 80 columns by 40 rows, spec-
+       ifies that the screen should  be  cleared  prior  to  each
+       page,  that  the overflow indentation is 5, and that over-
+       flow text should be flagged with "***".
+
+       Following are all  of  the  current  variables  and  their
+
+
+
+[mh.6]                        MH.6.8                            2
+
+
+
+
+
+
+
+
+MHL(1)                 BSD Reference Manual                MHL(1)
+
+
+       arguments.  If they follow a component, they apply only to
+       that component, otherwise, their affect is global.   Since
+       the  whole  format is parsed before any output processing,
+       the last global switch setting for a variable  applies  to
+       the  whole  message  if  that variable is used in a global
+       context (i.e., bell, clearscreen, width, length).
+
+            _\bv_\ba_\br_\bi_\ba_\bb_\bl_\be       _\bt_\by_\bp_\be       _\bs_\be_\bm_\ba_\bn_\bt_\bi_\bc_\bs
+            width          integer    screen width or component width
+            length         integer    screen length or component length
+            offset         integer    positions to indent "component: "
+            overflowtext   string     text to use at the beginning of an
+                                      overflow line
+            overflowoffset integer    positions to indent overflow lines
+            compwidth      integer    positions to indent component text
+                                      after the first line is output
+            uppercase      flag       output text of this component in all
+                                      upper case
+            nouppercase    flag       don't uppercase
+            clearscreen    flag/G     clear the screen prior to each page
+            noclearscreen  flag/G     don't clearscreen
+            bell           flag/G     ring the bell at the end of each page
+            nobell         flag/G     don't bell
+            component      string/L   name to use instead of "component" for
+                                      this component
+            nocomponent    flag       don't output "component: " for this
+                                      component
+            center         flag       center component on line (works for
+                                      one-line components only)
+            nocenter       flag       don't center
+            leftadjust     flag       strip off leading whitespace on each
+                                      line of text
+            noleftadjust   flag       don't leftadjust
+            compress       flag       change newlines in text to spaces
+            nocompress     flag       don't compress
+            split          flag       don't combine multiple fields into a single field
+            nosplit        flag       combine multiple fields into a single field
+            newline        flag       print newline at end of components (default)
+            nonewline      flag       don't print newline at end of components
+            formatfield    string     format string for this component (see below)
+            addrfield      flag       field contains addresses
+            datefield      flag       field contains dates
+
+       To specify the value of integer-valued  and  string-valued
+       variables,  follow  their name with an equals-sign and the
+       value.  Integer-valued variables are given decimal values,
+       while  string-valued  variables  are  given arbitrary text
+       bracketed by double-quotes.  If a  value  is  suffixed  by
+       "/G" or "/L", then its value is useful in a global-only or
+       local-only context (respectively).
+
+
+
+
+[mh.6]                        MH.6.8                            3
+
+
+
+
+
+
+
+
+MHL(1)                 BSD Reference Manual                MHL(1)
+
+
+       A line of the form:
+
+           ignores=component,...
+
+       specifies a list of components which are never output.
+
+       The component "MessageName" (case-insensitive) will output
+       the actual message name (file name) preceded by the folder
+       name if one is specified or found in the environment.  The
+       format  is  identical  to  that  produced by the `-header'
+       option to _\bs_\bh_\bo_\bw.
+
+       The component "Extras" will output all of  the  components
+       of  the  message which were not matched by explicit compo-
+       nents, or included in the ignore list.  If this  component
+       is  not  specified, an ignore list is not needed since all
+       non-specified components will be ignored.
+
+       If "nocomponent" is NOT specified, then the component name
+       will be output as it appears in the format file.
+
+       The default format is:
+
+            : -- using template mhl.format --
+            overflowtext="***",overflowoffset=5
+            leftadjust,compwidth=9
+            ignores=msgid,message-id,received
+            Date:formatfield="%<(nodate{text})%{text}%|%(pretty{text})%>"
+            To:
+            cc:
+            :
+            From:
+            Subject:
+            :
+            extras:nocomponent
+            :
+            body:nocomponent,overflowtext=,overflowoffset=0,noleftadjust
+
+       The  variable "formatfield" specifies a format string (see
+       _\bm_\bh_\b-_\bf_\bo_\br_\bm_\ba_\bt (5)).  The flag variables "addrfield" and "date-
+       field"  (which are mutually exclusive), tell _\bm_\bh_\bl to inter-
+       pret the escapes in the format string as either  addresses
+       or dates, respectively.
+
+       By  default,  _\bm_\bh_\bl  does not apply any formatting string to
+       fields containing address or dates (see _\bm_\bh_\b-_\bm_\ba_\bi_\bl (5) for  a
+       list  of  these fields).  Note that this results in faster
+       operation since _\bm_\bh_\bl must parse both addresses and dates in
+       order  to  apply a format string to them.  If desired, _\bm_\bh_\bl
+       can be given a default format string for either address or
+       date  fields (but not both).  To do this, on a global line
+
+
+
+[mh.6]                        MH.6.8                            4
+
+
+
+
+
+
+
+
+MHL(1)                 BSD Reference Manual                MHL(1)
+
+
+       specify: either the flag  addrfield  or  datefield,  along
+       with the apropriate formatfield variable string.
+
+F\bFI\bIL\bLE\bES\bS
+       /usr/contrib/mh-6.8/lib/mhl.format        The message template
+       or <mh-dir>/mhl.format                    Rather than the standard template
+       $HOME/.mh_profile                         The user profile
+
+P\bPR\bRO\bOF\bFI\bIL\bLE\bE C\bCO\bOM\bMP\bPO\bON\bNE\bEN\bNT\bTS\bS
+       moreproc:            Program to use as interactive front-end
+
+S\bSE\bEE\bE A\bAL\bLS\bSO\bO
+       show(1), ap(8), dp(8)
+
+D\bDE\bEF\bFA\bAU\bUL\bLT\bTS\bS
+       `-bell'
+       `-noclear'
+       `-length 40'
+       `-width 80'
+
+C\bCO\bON\bNT\bTE\bEX\bXT\bT
+       None
+
+B\bBU\bUG\bGS\bS
+       There should be some way to pass `bell' and `clear' infor-
+       mation to the front-end.
+
+       On hosts where _\bM_\bH was configured  with  the  BERK  option,
+       address parsing is not enabled.
+
+       The "nonewline" option interacts badly with "compress" and
+       "split".
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[mh.6]                        MH.6.8                            5
+
+
+
+
+
diff --git a/usr/src/contrib/mh-6.8.3a/doc/mhmail.man b/usr/src/contrib/mh-6.8.3a/doc/mhmail.man
new file mode 100644 (file)
index 0000000..5f7e6ab
--- /dev/null
@@ -0,0 +1,132 @@
+
+
+
+MHMAIL(1)              BSD Reference Manual             MHMAIL(1)
+
+
+N\bNA\bAM\bME\bE
+       mhmail - send or read mail
+
+S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
+       mhmail    [    addrs ...    [-body text]   [-cc addrs ...]
+            [-from addr] [-subject subject]] [-help]
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+       _\bM_\bH_\bm_\ba_\bi_\bl is intended as a replacement for the standard  Bell
+       mail  program  (_\bb_\be_\bl_\bl_\bm_\ba_\bi_\bl (1)),  compatible  with _\bM_\bH.  When
+       invoked without arguments, it simply  invokes  _\bi_\bn_\bc (1)  to
+       incorporate  new  messages from the user's maildrop.  When
+       one or more users is specified, a message is read from the
+       standard  input  and  spooled to a temporary file.  _\bM_\bH_\bm_\ba_\bi_\bl
+       then invokes _\bp_\bo_\bs_\bt (8) with the name of the temporary  file
+       as  its  argument  to deliver the message to the specified
+       user.
+
+       The `-subject subject' switch can be used to  specify  the
+       "Subject:"  field of the message.  The `-body text' switch
+       can be used to specify the text of the message; if  it  is
+       specified, then the standard input is not read.  Normally,
+       addresses appearing as arguments  are  put  in  the  "To:"
+       field.  If the `-cc' switch is used, all addresses follow-
+       ing it are placed in the "cc:" field.
+
+       By using `-from addr', you can specify the "From:"  header
+       of  the draft.  Naturally, _\bp_\bo_\bs_\bt will fill-in the "Sender:"
+       header correctly.
+
+       This program is intended for the use of programs  such  as
+       _\ba_\bt (1), which expect to send mail automatically to various
+       users.  Normally, real people (as opposed to the  "unreal"
+       ones)  will  prefer  to  use _\bc_\bo_\bm_\bp (1) and _\bs_\be_\bn_\bd (1) to send
+       messages.
+
+F\bFI\bIL\bLE\bES\bS
+       /usr/contrib/mh-6.8/bin/inc               Program to incorporate a maildrop into a folder
+       /usr/contrib/mh-6.8/lib/post              Program to deliver a message
+       /tmp/mhmail*                              Temporary copy of message
+
+P\bPR\bRO\bOF\bFI\bIL\bLE\bE C\bCO\bOM\bMP\bPO\bON\bNE\bEN\bNT\bTS\bS
+       None
+
+S\bSE\bEE\bE A\bAL\bLS\bSO\bO
+       inc(1), post(8)
+
+D\bDE\bEF\bFA\bAU\bUL\bLT\bTS\bS
+       None
+
+
+
+
+
+[mh.6]                        MH.6.8                            1
+
+
+
+
+
+
+
+
+MHMAIL(1)              BSD Reference Manual             MHMAIL(1)
+
+
+C\bCO\bON\bNT\bTE\bEX\bXT\bT
+       If _\bi_\bn_\bc is invoked, then _\bi_\bn_\bc's context changes occur.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[mh.6]                        MH.6.8                            2
+
+
+
+
+
diff --git a/usr/src/contrib/mh-6.8.3a/doc/mhn.man b/usr/src/contrib/mh-6.8.3a/doc/mhn.man
new file mode 100644 (file)
index 0000000..767250b
--- /dev/null
@@ -0,0 +1,1188 @@
+
+
+
+MHN(1)                 BSD Reference Manual                MHN(1)
+
+
+N\bNA\bAM\bME\bE
+       mhn - multi-media MH
+
+S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
+       mhn [[+folder] [msgs] | [-file file]]
+            [-part number]... [-type content]...
+            [-list [-headers] [-noheaders]
+                   [-realsize] [-norealsize]] [-nolist]
+            [-show [-serialonly] [-noserialonly]
+                   [-form formfile] [-pause] [-nopause]]
+            [-noshow]
+            [-store [-auto] [-noauto]] [-nostore]
+            [-cache] [-nocache] [-rcache policy] [-wcache policy]
+            [-check] [-nocheck]
+            [-ebcdicsafe] [-noebcdicsafe]
+            [-rfc934mode] [-norfc934mode]
+            [-verbose] [-noverbose]
+            [-help]
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+       The _\bm_\bh_\bn command manipulates multi-media messages as speci-
+       fied in RFC 1521.
+
+       Four action switches direct the operation of  _\bm_\bh_\bn,  namely
+       `-list',  `-show',  `-store',  and `-cache'.  Any of these
+       switches may be used concurrently.  Normally these  action
+       switches  will operate on the content of each of the named
+       messages.  However,  by  using  the  `-part'  and  `-type'
+       switches,  the  scope  of  the operation can be focused on
+       particular subparts (of a multipart content)  and/or  par-
+       ticular content types.
+
+       A part specification consists of a series of numbers sepa-
+       rated by dots.  For example, in a multipart  content  con-
+       taining  three parts, these would be named as 1, 2, and 3,
+       respectively.  If part 2 was also a multipart content con-
+       taining  two  parts,  these would be named as 2.1 and 2.2,
+       respectively.  Note that the `-part' switch  is  effective
+       for  only  messages  containing a multipart content.  If a
+       message has some other kind of content, or if the part  is
+       itself  another multipart content, the `-part' switch will
+       not prevent the content from being acted upon.
+
+       A content specification consists of a content type  and  a
+       subtype.  The initial list of "standard" content types and
+
+
+
+
+
+
+
+
+
+[mh.6]                        MH.6.8                            1
+
+
+
+
+
+
+
+
+MHN(1)                 BSD Reference Manual                MHN(1)
+
+
+       subtypes can be found in RFC 1521.   A  list  of  commonly
+       used contents is briefly reproduced here:
+
+            Type         Subtypes
+            ----         --------
+            text         plain
+            multipart    mixed, alternative, digest, parallel
+            message      rfc822, partial, external-body
+            application  octet-stream, postscript
+            image        jpeg, gif, x-pbm, x-pgm, x-ppm, x-xwd
+            audio        basic
+            video        mpeg
+
+       Subtypes are mandatory.
+
+       To  specify a content, regardless of its subtype, just use
+       the name of the content, e.g., "audio".  To specify a spe-
+       cific  subtype,  separate  the  two  with  a  slash, e.g.,
+       "audio/basic".  Note that regardless of the  values  given
+       to the `-type' switch, a multipart content (of any subtype
+       listed above) is always acted upon.  Further note that  if
+       the  `-type' switch is used, and it is desirable to act on
+       a message/external-body content, then the  `-type'  switch
+       must  be  used  twice:  once for message/external-body and
+       once for the content externally referenced.
+
+       Each content may optionally have an integrity check  asso-
+       ciated  with  it.   If  present and the `-check' switch is
+       given, then _\bm_\bh_\bn will attempt to verify  the  integrity  of
+       the content.
+
+       The  option  `-file file' directs _\bm_\bh_\bn to use the specified
+       file as the source message, rather than a message  from  a
+       folder.   Note that the file should be a validly formatted
+       message, just like any other _\bM_\bH message.  It should N\bNO\bOT\bT be
+       in mail drop format (to convert a file in mail drop format
+       to a folder of _\bM_\bH messages, see _\bi_\bn_\bc (1)).
+
+
+   L\bLi\bis\bst\bti\bin\bng\bg t\bth\bhe\be C\bCo\bon\bnt\bte\ben\bnt\bts\bs
+       The `-list' switch tells _\bm_\bh_\bn to list the table of contents
+       associated with the named messages.  The `-headers' switch
+       indicates that a one-line banner should be displayed above
+       the listing.  The `-realsize' switch tells _\bm_\bh_\bn to evaluate
+       the "native" (decoded) format of  each  content  prior  to
+       listing.   This  provides an accurate count at the expense
+       of a small delay.
+
+
+
+
+
+
+
+[mh.6]                        MH.6.8                            2
+
+
+
+
+
+
+
+
+MHN(1)                 BSD Reference Manual                MHN(1)
+
+
+   S\bSh\bho\bow\bwi\bin\bng\bg t\bth\bhe\be C\bCo\bon\bnt\bte\ben\bnt\bts\bs
+       The `-show' switch tells _\bm_\bh_\bn to display  the  contents  of
+       the  named  messages.  The headers of the message are dis-
+       played with the _\bm_\bh_\bl_\bp_\br_\bo_\bc, using  format  file  _\bm_\bh_\bl_\b._\bh_\be_\ba_\bd_\be_\br_\bs.
+       (The  choice  of  format  file  can  be  overridden by the
+       `-form formfile' switch.)
+
+       _\bm_\bh_\bn will look for information in  the  user's  profile  to
+       determine  how the different contents should be displayed.
+       This is accomplished by consulting a display  string,  and
+       executing it under /\b/b\bbi\bin\bn/\b/s\bsh\bh, with the standard input set to
+       the  content.   The  display  string  may  contain   these
+       escapes:
+
+            %a  additional arguments
+            %e  exclusive execution
+            %f  filename containing content
+            %F  %e, %f, and stdin is terminal not content
+            %l  display listing prior to displaying content
+            %p  %l, and ask for confirmation
+            %s  subtype
+            %d  content description
+
+       For  those  display strings containing the e- or F-escape,
+       _\bm_\bh_\bn will execute at most one of these at any  given  time.
+       Although  the F-escape expands to be the filename contain-
+       ing the content, the e-escape has no expansion as  far  as
+       the shell is concerned.
+
+       When  the  p-escape  prompts for confirmation, typing INTR
+       (usually control-C) will tell _\bm_\bh_\bn not to display that con-
+       tent.    (The  p-escape  can  be  disabled  by  specifying
+       `-nopause'.)  Further, when _\bm_\bh_\bn is display a content, typ-
+       ing  QUIT (usually control-\) will tell _\bm_\bh_\bn to wrap things
+       up immediately.
+
+       Note that if the content being displayed is multipart, but
+       not  one  of the subtypes listed above, then the f- and F-
+       escapes expand to multiple filenames, one for each  subor-
+       dinate content.  Further, stdin is not redirected from the
+       terminal to the content.
+
+       First, _\bm_\bh_\bn will look for an entry of the form:
+
+            mhn-show-<type>/<subtype>
+
+       to determine the command to use to  display  the  content.
+       If  this  isn't  found,  _\bm_\bh_\bn will look for an entry of the
+       form:
+
+            mhn-show-<type>
+
+
+
+[mh.6]                        MH.6.8                            3
+
+
+
+
+
+
+
+
+MHN(1)                 BSD Reference Manual                MHN(1)
+
+
+       to determine the display command.  If  this  isn't  found,
+       _\bm_\bh_\bn has two default values:
+
+            mhn-show-text/plain: %pmoreproc '%F'
+            mhn-show-message/rfc822: %pshow -file '%F'
+
+       If neither apply, _\bm_\bh_\bn will check to see if the message has
+       a   application/octet-stream   content   with    parameter
+       "type=tar".   If  so, _\bm_\bh_\bn will use an appropriate command.
+       If not, _\bm_\bh_\bn will complain.
+
+       Example entries might be:
+
+            mhn-show-audio/basic: raw2audio 2>/dev/null | play
+            mhn-show-image: xv '%f'
+            mhn-show-application/PostScript: lpr -Pps
+
+       Note that when using the f- or F-escape, it's a good  idea
+       to  use  single-quotes  around  the escape.  This prevents
+       misinterpretation by the shell  of  any  funny  characters
+       that might be present in the filename.
+
+       Because the text content might be in a non-ASCII character
+       set, when _\bm_\bh_\bn encounters a "charset"  parameter  for  this
+       content, it checks to see whether the environment variable
+       $MM_CHARSET is set and whether the value of this  environ-
+       ment variable is equal to the value of the charset parame-
+       ter.  If not, then _\bm_\bh_\bn will look for an entry of the form:
+
+            mhn-charset-<charset>
+
+       which  should contain a command creating an environment to
+       render the character set.  This command string should con-
+       taining  a  single  "%s", which will be filled-in with the
+       command to display the content.
+
+       An example entry might be:
+
+            mhn-charset-iso-8859-1:  xterm  -fn   '-*-*-medium-r-
+            normal-*-*-120-*-*-c-*-iso8859-*' -e %s
+
+       Note  that  many  pagination  programs strip off the high-
+       order bit.  However, newer releases of  the  _\bl_\be_\bs_\bs  program
+       have  modest support for single-octet character sets.  The
+       source to _\bl_\be_\bs_\bs version 177, which  has  such  support,  is
+       found in the MH source tree under m\bmi\bis\bsc\bce\bel\bll\bla\ban\bny\by/\b/l\ble\bes\bss\bs-\b-1\b17\b77\b7.  In
+       order to view messages sent in the  ISO  8859/1  character
+
+
+
+
+
+
+
+[mh.6]                        MH.6.8                            4
+
+
+
+
+
+
+
+
+MHN(1)                 BSD Reference Manual                MHN(1)
+
+
+       set using _\bl_\be_\bs_\bs, put these lines in your .login file:
+
+            setenv LESSCHARSET latin1
+            setenv LESS "-f"
+
+       The  first  line  tells  _\bl_\be_\bs_\bs to use 8859/1 definition for
+       determing whether a character is "normal",  "control",  or
+       "binary".   The  second line tells _\bl_\be_\bs_\bs not to warn you if
+       it encounters a file that has non-ASCII characters.  Then,
+       simply set the m\bmo\bor\bre\bep\bpr\bro\boc\bc profile entry to _\bl_\be_\bs_\bs, and it will
+       get called automatically.  (To handle  other  single-octet
+       character  sets,  look  at  the  _\bl_\be_\bs_\bs (1) manual entry for
+       information about the L\bLE\bES\bSS\bSC\bCH\bHA\bAR\bRD\bDE\bEF\bF environment variable.)
+
+       Finally, _\bm_\bh_\bn  will  process  each  message  serially -- it
+       won't  start  showing  the next message until all the com-
+       mands executed to display the current message have  termi-
+       nated.  In the case of a multipart content (of any subtype
+       listed above), the content contains advice  indicating  if
+       the  parts  should  be  displayed serially or in parallel.
+       Because this may cause  confusion,  particularly  on  uni-
+       window  displays, the `-serialonly' switch can be given to
+       tell _\bm_\bh_\bn to never display parts in parallel.
+
+
+   S\bSt\bto\bor\bri\bin\bng\bg t\bth\bhe\be C\bCo\bon\bnt\bte\ben\bnt\bts\bs
+       The `-store' switch tells _\bm_\bh_\bn to store the contents of the
+       named  messages  in "native" (decoded) format.  Two things
+       must be determined: the directory to  store  the  content,
+       and  the  filenames.   Files  are written in the directory
+       given by the m\bmh\bhn\bn-\b-s\bst\bto\bor\bra\bag\bge\be profile entry, e.g.,
+
+            mhn-storage: /tmp
+
+       If this entry isn't present, the current working directory
+       is used.
+
+       _\bm_\bh_\bn  will  look  for  information in the user's profile to
+       determine how the different  contents  should  be  stored.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[mh.6]                        MH.6.8                            5
+
+
+
+
+
+
+
+
+MHN(1)                 BSD Reference Manual                MHN(1)
+
+
+       This  is  achieved through the use of a formatting string,
+       which may contain these escapes:
+
+            %m  message number
+            %P  .part
+            %p  part
+            %s  subtype
+
+       If the content isn't part of a multipart (of  any  subtype
+       listed  above)  content,  the p-escapes are ignored.  Note
+       that if the formatting string starts with a "+" character,
+       then  these escapes are ignored, and the content is stored
+       in the named  folder.   (A  formatting  string  consisting
+       solely  of  a "+" character indicates the current folder.)
+       Further, a formatting string consisting solely  of  a  "-"
+       character indicates the standard-output.
+
+       First, _\bm_\bh_\bn will look for an entry of the form:
+
+            mhn-store-<type>/<subtype>
+
+       to  determine the formatting string.  If this isn't found,
+       _\bm_\bh_\bn will look for an entry of the form:
+
+            mhn-store-<type>
+
+       to determine the formatting string.  If this isn't  found,
+       _\bm_\bh_\bn will check to see if the content is application/octet-
+       stream with parameter "type=tar".  If so, _\bm_\bh_\bn will  choose
+       an  appropriate  filename.  If the content is not applica-
+       tion/octet-stream, then _\bm_\bh_\bn will check to see if the  con-
+       tent is a message.  If so, _\bm_\bh_\bn will use the value "+".  If
+       not, _\bm_\bh_\bn will use the value "%m%P.%s".
+
+       Note that if the formatting string starts with a '/', then
+       content will be stored in the full path given (rather than
+       using the value of  m\bmh\bhn\bn-\b-s\bst\bto\bor\bra\bag\bge\be  or  the  current  working
+       directory.)   Similarly,  if  the formatting string starts
+       with a '|', then _\bm_\bh_\bn will execute a command  which  should
+       ultimately  store the content.  Note that before executing
+       the command, _\bm_\bh_\bn will change to the appropriate directory.
+       Also note that if the formatting string starts with a '|',
+       then _\bm_\bh_\bn will also honor the a-escape when processing  the
+       formatting string.
+
+
+
+
+
+
+
+
+
+
+[mh.6]                        MH.6.8                            6
+
+
+
+
+
+
+
+
+MHN(1)                 BSD Reference Manual                MHN(1)
+
+
+       Example entries might be:
+
+            mhn-store-text: %m%P.txt
+            mhn-store-audio/basic: | raw2audio -e ulaw -s 8000 -c 1 > %m%P.au
+            mhn-store-application/PostScript: %m%P.ps
+
+       Further,  note that when asked to store a content contain-
+       ing a partial message, _\bm_\bh_\bn will try to locate all  of  the
+       portions and combine them accordingly.  Thus, if someone's
+       sent you a message in several parts, you  might  put  them
+       all in their own folder and do:
+
+            mhn all -store
+
+       This will store exactly one message, containing the sum of
+       the parts.  Note that if _\bm_\bh_\bn can not locate each part,  it
+       will not store anything.
+
+       Finally,  if  the  `-auto' switch is given and the content
+       contains information indicating the filename  the  content
+       should  be  stored  as  (and if the filename doesn't begin
+       with a '/'), then the filename from the  content  will  be
+       used instead.
+
+
+   E\bEx\bxt\bte\ber\brn\bna\bal\bl A\bAc\bcc\bce\bes\bss\bs
+       For  contents  of type message/external-body, _\bm_\bh_\bn supports
+       these access-types:
+
+            afs
+            anon-ftp
+            ftp
+            local-file
+            mail-server
+
+       For the "anon-ftp" and "ftp" access types, if your  system
+       supports  a SOCKETs interface to TCP/IP, then _\bm_\bh_\bn will use
+       a built-in FTP client.  Otherwise, _\bm_\bh_\bn will look  for  the
+       m\bmh\bhn\bn-\b-a\bac\bcc\bce\bes\bss\bs-\b-f\bft\btp\bp profile entry, e.g.,
+
+            mhn-access-ftp: myftp.sh
+
+       to  determine the pathname of a program to perform the FTP
+
+
+
+
+
+
+
+
+
+
+
+[mh.6]                        MH.6.8                            7
+
+
+
+
+
+
+
+
+MHN(1)                 BSD Reference Manual                MHN(1)
+
+
+       retrieval.  This program is invoked with these arguments:
+
+            domain name of FTP-site
+            username
+            password
+            remote directory
+            remote filename
+            local filename
+            "ascii" or "binary"
+
+       The program should  terminate  with  a  zero-valued  exit-
+       status if the retrieval is successful.
+
+
+   T\bTh\bhe\be C\bCo\bon\bnt\bte\ben\bnt\bt C\bCa\bac\bch\bhe\be
+       When _\bm_\bh_\bn encounters an external content containing a "Con-
+       tent-ID:" field, and if the content allows  caching,  then
+       depending  on  the  caching  behavior  of _\bm_\bh_\bn, the content
+       might be read from or written to a cache.
+
+       The  caching  behavior  of  _\bm_\bh_\bn  is  controlled  with  the
+       `-rcache'  and `-wcache' switches, which define the policy
+       for reading from, and writing to, the cache, respectively.
+       One  of four policies may be specified: "public", indicat-
+       ing that _\bm_\bh_\bn should make use  of  a  publically-accessible
+       content  cache; "private", indicating that _\bm_\bh_\bn should make
+       use of the user's private content cache; "never", indicat-
+       ing that _\bm_\bh_\bn should never make use of caching; and, "ask",
+       indicating that _\bm_\bh_\bn should ask the user.
+
+       There are two directories where contents  may  be  cached:
+       the  profile  entry m\bmh\bhn\bn-\b-c\bca\bac\bch\bhe\be names a directory containing
+       world-readable  contents,  and,  the  profile  entry  m\bmh\bhn\bn-\b-
+       p\bpr\bri\biv\bva\bat\bte\be-\b-c\bca\bac\bch\bhe\be  names  a  directory containing private con-
+       tents.  The former should be an absolute  (rooted)  direc-
+       tory name.  For example,
+
+            mhn-cache: /tmp
+
+       might  be used if you didn't care that the cache got wiped
+       after each reboot of the system.   The  latter  is  inter-
+       preted relative to the user's MH directory, if not rooted,
+       e.g.,
+
+            mhn-private-cache: .cache
+
+       (which is the default value).
+
+
+
+
+
+
+
+[mh.6]                        MH.6.8                            8
+
+
+
+
+
+
+
+
+MHN(1)                 BSD Reference Manual                MHN(1)
+
+
+   C\bCa\bac\bch\bhi\bin\bng\bg t\bth\bhe\be C\bCo\bon\bnt\bte\ben\bnt\bts\bs
+       When you encounter a content of type message/external-body
+       with  access  type  "mail-server", _\bm_\bh_\bn will ask you if may
+       send a message to a mail-server  requesting  the  content,
+       e.g.,
+
+            % show 1
+            Retrieve content by asking mail-server@...
+
+            SEND file
+
+            ? yes
+            mhn: request sent
+
+       Regardless  of  your decision, _\bm_\bh_\bn can't perform any other
+       processing on the content.
+
+       However, if _\bm_\bh_\bn is allowed to request  the  content,  then
+       when it arrives, there should be a top-level "Content-ID:"
+       field which corresponds to the value in the original  mes-
+       sage/external-body   content.   You  should  now  use  the
+       `-cache' switch to tell _\bm_\bh_\bn to enter the arriving  content
+       into the content cache, e.g.,
+
+            % mhn -cache 2
+            caching message 2 as file ...
+
+       You can then re-process the original message/external-body
+       content, and "the right thing should happen", e.g.,
+
+            % show 1
+             ...
+
+
+   C\bCo\bom\bmp\bpo\bos\bsi\bin\bng\bg t\bth\bhe\be C\bCo\bon\bnt\bte\ben\bnt\bts\bs
+       The _\bm_\bh_\bn program can also be used as a simple editor to aid
+       in  composing  multi-media  messages.   When  invoked by a
+       _\bw_\bh_\ba_\bt_\bn_\bo_\bw program, _\bm_\bh_\bn will expect the body of the draft  to
+       be formatted as an "_\bm_\bh_\bn composition file."
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[mh.6]                        MH.6.8                            9
+
+
+
+
+
+
+
+
+MHN(1)                 BSD Reference Manual                MHN(1)
+
+
+       The syntax of this is straight-forward:
+
+               body         ::=     1*(content | EOL)
+
+               content      ::=     directive | plaintext
+
+               directive    ::=     "#" type "/" subtype
+                                        0*(";" attribute "=" value)
+                                        [ "(" comment ")" ]
+                                        [ "<" id ">" ]
+                                        [ "[" description "]" ]
+                                        [ filename ]
+                                        EOL
+
+                                  | "#@" type "/" subtype
+                                        0*(";" attribute "=" value)
+                                        [ "(" comment ")" ]
+                                        [ "<" id ">" ]
+                                        [ "[" description "]" ]
+                                        external-parameters
+                                        EOL
+
+                                  | "#forw"
+                                        [ "<" id ">" ]
+                                        [ "[" description "]" ]
+                                        [ "+"folder ] [ 0*msg ]
+                                        EOL
+
+                                  | "#begin"
+                                          [ "<" id ">" ]
+                                          [ "[" description "]" ]
+                                          [   "alternative"
+                                            | "parallel"
+                                            | something-else    ]
+                                          EOL
+                                        1*body
+                                    "#end" EOL
+
+               plaintext    ::=     [ "Content-Description:"
+                                          description EOL EOL ]
+                                        1*line
+                                    [ "#" EOL ]
+
+                                  | "#<" type "/" subtype
+                                        0*(";" attribute "=" value)
+                                        [ "(" comment ")" ]
+                                        [ "[" description "]" ]
+                                        EOL
+                                        1*line
+                                    [ "#" EOL ]
+
+
+
+
+[mh.6]                        MH.6.8                           10
+
+
+
+
+
+
+
+
+MHN(1)                 BSD Reference Manual                MHN(1)
+
+
+               line         ::=     "##" text EOL
+                                    -- interpreted as "#"text EOL
+                                  | text EOL
+
+       Basically, the body contains one or more contents.  A con-
+       tent consists of either a directive, indicated with a  "#"
+       as  the  first  character of a line; or, plaintext (one or
+       more lines of text).  The continuation character, "\", may
+       be used to enter a single directive on more than one line,
+       e.g.,
+
+            #@application/octet-stream; \
+                type=tar; \
+                x-conversions=compress
+
+       There are four kinds  of  directives:  "type"  directives,
+       which name the type and subtype of the content; "external-
+       type" directives, which also name the type and subtype  of
+       the  content;  the "forw" directive, which is used to for-
+       ward a digest of messages;  and,  the  "begin"  directive,
+       which is used to create a multipart content.
+
+       For  the  type directives, the user may optionally specify
+       the name of a file containing  the  contents  in  "native"
+       (decoded)  format.   (If  the filename starts with the "|"
+       character, then this gives a command whose output is  cap-
+       tured  accordingly.)  If a filename is not given, _\bm_\bh_\bn will
+       look for information in the user's  profile  to  determine
+       how  the  different  contents should be composed.  This is
+       accomplished by consulting a composition string, and  exe-
+       cuting  it  under /\b/b\bbi\bin\bn/\b/s\bsh\bh, with the standard output set to
+       the content.  The composition  string  may  contain  these
+       escapes:
+
+            %a  additional arguments
+            %f  filename containing content
+            %F  %f, and stdout is not re-directed
+            %s  subtype
+
+       First, _\bm_\bh_\bn will look for an entry of the form:
+
+            mhn-compose-<type>/<subtype>
+
+       to  determine  the  command to use to compose the content.
+       If this isn't found, _\bm_\bh_\bn will look for  an  entry  of  the
+       form:
+
+            mhn-compose-<type>
+
+       to  determine  the  composition  command.   If  this isn't
+       found, _\bm_\bh_\bn will complain.
+
+
+
+[mh.6]                        MH.6.8                           11
+
+
+
+
+
+
+
+
+MHN(1)                 BSD Reference Manual                MHN(1)
+
+
+       An example entry might be:
+
+            mhn-compose-audio/basic: record | raw2audio -F
+
+       Because commands like these will vary,  depending  on  the
+       display  environment  used  for login, composition strings
+       for different contents should probably be put in the  file
+       specified  by  the  $\b$M\bMH\bHN\bN  environment variable, instead of
+       directly in your user profile.
+
+       The external-type directives are used to provide a  refer-
+       ence  to  a  content,  rather  than enclosing the contents
+       itself.  Hence, instead of providing a  filename  as  with
+       the  type  directives,  external-parameters  are supplied.
+       These look like regular parameters, so they must be  sepa-
+       rated accordingly, e.g.,
+
+            #@application/octet-stream; \
+                type=tar; \
+                x-conversions=compress [] \
+                access-type=anon-ftp; \
+                name="mh-mime.tar.Z"; \
+                directory="mrose/mh-mime"; \
+                site="ftp.ics.uci.edu"
+
+       By  specifying "[]", an empty description string is given,
+       and the start of the  external-parameters  is  identified.
+       These parameters are of the form:
+
+            access-type=  usually _\ba_\bn_\bo_\bn_\b-_\bf_\bt_\bp or _\bm_\ba_\bi_\bl_\b-_\bs_\be_\br_\bv_\be_\br
+            name=         filename
+            permission=   read-only or read-write
+            site=         hostname
+            directory=    directoryname (optional)
+            mode=         usually _\ba_\bs_\bc_\bi_\bi or _\bi_\bm_\ba_\bg_\be (optional)
+            size=         number of octets
+            server=       mailbox
+            subject=      subject to send
+            body=         command to send for retrieval
+
+
+       For  the  forw  directive, the user may optionally specify
+       the name of the folder and which messages are to  be  for-
+       warded.  if a folder is not given, it defaults to the cur-
+       rent folder.  Similarly, if a message  is  not  given,  it
+       defaults  to  the current message.  Hence, the forw direc-
+       tive is similar to the _\bf_\bo_\br_\bw (1) command, except  that  the
+       former  uses  the MIME rules for encapsulation rather than
+       those specified in RFC 934.  Usage  of  the  `-rfc934mode'
+       switch indicates whether _\bm_\bh_\bn should attempt to utilize the
+       encapsulation rules in such a way as to  appear  that  RFC
+
+
+
+[mh.6]                        MH.6.8                           12
+
+
+
+
+
+
+
+
+MHN(1)                 BSD Reference Manual                MHN(1)
+
+
+       934 is being used.  If given, then RFC 934-compliant user-
+       agents  should  be  able   to   burst   the   message   on
+       reception -- providing  that  the  messages being encapsu-
+       lated do not  contain  encapsulated  messages  themselves.
+       The  drawback  of this approach is that the encapsulations
+       are generated by placing an extra newline at  the  end  of
+       the body of each message.
+
+       For  the  begin  directive, the user must specify at least
+       one content between the begin and end pairs.
+
+       For all of these directives, the user may include a  brief
+       description  of  the content between the "[" character and
+       the "]" character.  By default, _\bm_\bh_\bn will generate a unique
+       "Content-ID:"  for  each  directive; however, the user may
+       override this by defining the ID using  the  "<"  and  ">"
+       characters.   Putting  this  all together, here is a brief
+       example of what a user's components file might look like:
+
+            To:
+            cc:
+            Subject:
+            --------
+            #audio/basic [Flint phone]  \
+                |raw2audio -F < /home/mrose/lib/multi-media/flint.au
+            #image/gif   [MTR's photo] \
+                                /home/mrose/lib/multi-media/mrose.gif
+
+       For a later example, we'll call this components file  _\bm_\bh_\bn_\b-
+       _\bc_\bo_\bm_\bp_\bs.
+
+       As noted earlier, in addition to directives, plaintext can
+       be present.  Plaintext is gathered, until a  directive  is
+       found  or the draft is exhausted, and this is made to form
+       a text content.  If the plaintext must contain  a  "#"  at
+       the beginning of a line, simply double it, e.g.,
+
+            ##when sent, this line will start with only one #
+
+       If  you  want  to  end the plaintext prior to a directive,
+       e.g., to have  two  plaintext  contents  adjacent,  simply
+       insert a line containing a single "#" character, e.g.,
+
+            this is the first content
+            #
+            and this is the second
+
+       Finally, if the plaintext starts with a line of the form:
+
+            Content-Description: text
+
+
+
+
+[mh.6]                        MH.6.8                           13
+
+
+
+
+
+
+
+
+MHN(1)                 BSD Reference Manual                MHN(1)
+
+
+       then  this will be used to describe the plaintext content.
+       N\bNO\bOT\bTE\bE W\bWE\bEL\bLL\bL:\b: you must follow this line  with  a  blank  line
+       before starting your text.
+
+       By default, plaintext is captured as a text/plain content.
+       You can override this by starting the plaintext with  "#<"
+       followed by a content-type specification, e.g.,
+
+            #<text/richtext
+            this content will be tagged as text/richtext
+            #
+            and this content will be tagged as text/plain
+
+       Note  that  if  you  use the "#<" plaintext-form, then the
+       content-description must be on the same line which identi-
+       fies the content type of the plaintext.
+
+       If  _\bm_\bh_\bn  is  successful,  it renames the original draft to
+       start with the ","  character  and  end  with  the  string
+       ".orig",  e.g.,  if  you  are editing the file "draft", it
+       will be renamed to ",draft.orig".  This allows you to eas-
+       ily recover the _\bm_\bh_\bn composition file.
+
+       If  the  `-check'  switch  is given, _\bm_\bh_\bn will associate an
+       integrity check with each content.
+
+
+   A\bAu\but\bto\bom\bma\bat\bti\bic\bc C\bCo\bom\bmp\bpo\bos\bsi\bit\bti\bio\bon\bn
+       Note that MH will not invoke _\bm_\bh_\bn automatically, unless you
+       add this line to your .mh_profile file:
+
+            automhnproc: mhn
+
+       Otherwise, you must specifically give the command
+
+            What now? edit mhn
+
+       prior to sending the draft.
+
+       You  can easily tailor MH to help you remember to do this.
+       Suppose you have these lines in your profile:
+
+            mcomp:          -editor mprompter -form mhncomps
+            mprompter:      -noprepend -norapid
+            mprompter-next: mhn
+
+       where _\bm_\bc_\bo_\bm_\bp is a link to _\bc_\bo_\bm_\bp (1), and _\bm_\bp_\br_\bo_\bm_\bp_\bt_\be_\br is a link
+       to  _\bp_\br_\bo_\bm_\bp_\bt_\be_\br (1).   Then  to send a message using the _\bm_\bh_\bn_\b-
+
+
+
+
+
+
+[mh.6]                        MH.6.8                           14
+
+
+
+
+
+
+
+
+MHN(1)                 BSD Reference Manual                MHN(1)
+
+
+       _\bc_\bo_\bm_\bp_\bs components file above, the sequence is:
+
+            % m\bmc\bco\bom\bmp\bp
+            To: u\bus\bse\ber\br@\b@h\bho\bos\bst\bt
+            cc:
+            Subject: m\bmu\bul\blt\bti\bi-\b-m\bme\bed\bdi\bia\ba m\bme\bes\bss\bsa\bag\bge\be
+            --------
+            #audio/basic [Flint phone]  \
+                |raw2audio -F < /home/mrose/lib/multi-media/flint.au
+            #image/gif   [MTR's photo] \
+                                /home/mrose/lib/multi-media/mrose.gif
+
+            --------Enter additional text
+
+            T\bTh\bhi\bis\bs m\bme\bes\bss\bsa\bag\bge\be c\bco\bon\bnt\bta\bai\bin\bns\bs t\bth\bhr\bre\bee\be c\bco\bon\bnt\bte\ben\bnt\bts\bs.\b.
+            <\b<C\bCT\bTR\bRL\bL-\b-D\bD>\b>
+            --------
+
+            What now? e\bed\bdi\bit\bt (this invokes _\bm_\bh_\bn)
+
+            What now? s\bse\ben\bnd\bd
+
+       You have to remember to type the additional edit  command,
+       but it should be fairly obvious from the interaction.
+
+       Finally, you should consider adding this line to your pro-
+       file:
+
+            lproc: show
+
+       This way, if you decide to l\bli\bis\bst\bt after invoking _\bm_\bh_\bn as your
+       editor, the command
+
+            What now? list
+
+       will work as you expect.
+
+
+   S\bSe\ben\bnd\bdi\bin\bng\bg F\bFi\bil\ble\bes\bs v\bvi\bia\ba M\bMa\bai\bil\bl
+       When you want to send a bunch of files to someone, you can
+       run the _\bv_\bi_\ba_\bm_\ba_\bi_\bl shell script, which is similar the tarmail
+       command:
+
+            /usr/contrib/mh-6.8/lib/viamail   mailpath  "subject"
+            files ...
+
+       _\bv_\bi_\ba_\bm_\ba_\bi_\bl will archive the directories/files you  name  with
+       _\bt_\ba_\br (1),  and  then  mail  the  compressed  archive to the
+       `mailpath' with the given `subject'.  The archive will  be
+       automatically  split up into as many messages as necessary
+       in order to get past most mailers.
+
+
+
+[mh.6]                        MH.6.8                           15
+
+
+
+
+
+
+
+
+MHN(1)                 BSD Reference Manual                MHN(1)
+
+
+       Sometimes you want _\bv_\bi_\ba_\bm_\ba_\bi_\bl to pause after posting  a  par-
+       tial  message.  This is usually the case when you are run-
+       ning _\bs_\be_\bn_\bd_\bm_\ba_\bi_\bl and expect to generate a lot of partial mes-
+       sages.  If the first argument given to _\bv_\bi_\ba_\bm_\ba_\bi_\bl starts with
+       a dash, then it is interpreted as the number of seconds to
+       pause in between postings, e.g.,
+
+            /usr/contrib/mh-6.8/lib/viamail  -300  mailpath "sub-
+            ject" files ...
+
+       will pause 5 minutes in between each posting.
+
+       When these messages are received, invoke  _\bm_\bh_\bn  once,  with
+       the  list  of messages, and the `-store' command.  The _\bm_\bh_\bn
+       program will then store exactly one message containing the
+       archive.   You  can  then  use  `-show' to find out what's
+       inside;  possibly   followed  by  `-store'  to  write  the
+       archive  to  a  file where you can subsequently uncompress
+       and untar it, e.g.,
+
+            % mhn -list all
+             msg part  type/subtype             size description
+               1       message/partial           47K part 1 of 4
+               2       message/partial           47K part 2 of 4
+               3       message/partial           47K part 3 of 4
+               4       message/partial           18K part 4 of 4
+            % mhn -store all
+            % mhn -list -verbose last
+             msg part  type/subtype             size description
+               5       application/octet-stream 118K
+                         (extract with uncompress | tar xvpf -)
+                         type=tar
+                         x-conversions=compress
+            % mhn -show last
+             msg part  type/subtype             size description
+               5       application/octet-stream 118K
+            -- headers of message, followed by _\bt_\ba_\br listing appears here
+            % mhn -store last
+            % uncompress < 5.tar.Z | tar xvpf -
+
+       Alternately, by using the `-auto' switch, _\bm_\bh_\bn  will  auto-
+
+
+
+
+
+
+
+
+
+
+
+
+
+[mh.6]                        MH.6.8                           16
+
+
+
+
+
+
+
+
+MHN(1)                 BSD Reference Manual                MHN(1)
+
+
+       matically do the extraction for you, e.g.,
+
+            % mhn -list all
+             msg part  type/subtype             size description
+               1       message/partial           47K part 1 of 4
+               2       message/partial           47K part 2 of 4
+               3       message/partial           47K part 3 of 4
+               4       message/partial           18K part 4 of 4
+            % mhn -store all
+            % mhn -list -verbose last
+             msg part  type/subtype             size description
+               5       application/octet-stream 118K
+                         (extract with uncompress | tar xvpf -)
+                         type=tar
+                         x-conversions=compress
+            % mhn -show last
+             msg part  type/subtype             size description
+               5       application/octet-stream 118K
+            -- headers of message, followed by _\bt_\ba_\br listing appears here
+            % mhn -store -auto last
+            -- _\bt_\ba_\br listing appears here as files are extracted
+
+       As  the  second  _\bt_\ba_\br  listing  is generated, the files are
+       extracted.  A prudent user will never put `-auto'  in  the
+       .mh_profile  file.   The correct procedure is to first use
+       `-show', to find out what will be extracted.  Then _\bm_\bh_\bn can
+       be  invoked  with   `-store'  and  `-auto'  to perform the
+       extraction.
+
+
+   U\bUs\bse\ber\br E\bEn\bnv\bvi\bir\bro\bon\bnm\bme\ben\bnt\bt
+       Because the display environment in which _\bm_\bh_\bn operates  may
+       vary  for  a user, _\bm_\bh_\bn will look for the environment vari-
+       able $\b$M\bMH\bHN\bN.  If present, this  specifies  the  name  of  an
+       additional user profile which should be read.  Hence, when
+       a user logs in on a particular display device, this  envi-
+       ronment variable should be set to refer to a file contain-
+       ing definitions useful for the display device.   Normally,
+       only entries of the form
+
+            mhn-show-<type>/<subtype>
+            mhn-show-<type>
+
+       need be present.  Finally, _\bm_\bh_\bn will attempt to consult one
+       other additional user profile, e.g.,
+
+            /usr/contrib/mh-6.8/lib/mhn_defaults
+
+       which is created automatically during MH installation.
+
+
+
+
+
+[mh.6]                        MH.6.8                           17
+
+
+
+
+
+
+
+
+MHN(1)                 BSD Reference Manual                MHN(1)
+
+
+F\bFI\bIL\bLE\bES\bS
+       $HOME/.mh_profile                         The user profile
+       $MHN                                      Additional profile entries
+       /usr/contrib/mh-6.8/lib/mhn_defaults      System-default profile entries
+       /usr/contrib/mh-6.8/lib/mhl.headers       The headers template
+
+P\bPR\bRO\bOF\bFI\bIL\bLE\bE C\bCO\bOM\bMP\bPO\bON\bNE\bEN\bNT\bTS\bS
+       Path:                To determine the user's MH directory
+       Current-Folder:      To find the default current folder
+       mhlproc:             Default program to display message headers
+       mhn-access-ftp:      Program to retrieve contents via FTP
+       mhn-cache            Public directory to store cached external contents
+       mhn-charset-<charset>Template for environment to render character sets
+       mhn-compose-<type>*  Template for composing contents
+       mhn-private-cache    Personal directory to store cached external contents
+       mhn-show-<type>*     Template for displaying contents
+       mhn-storage          Directory to store contents
+       mhn-store-<type>*    Template for storing contents
+       moreproc:            Default program to display text/plain content
+
+S\bSE\bEE\bE A\bAL\bLS\bSO\bO
+       mhl(1)
+       _\bM_\bI_\bM_\bE_\b: _\bM_\be_\bc_\bh_\ba_\bn_\bi_\bs_\bm_\bs _\bf_\bo_\br _\bS_\bp_\be_\bc_\bi_\bf_\by_\bi_\bn_\bg _\ba_\bn_\bd _\bD_\be_\bs_\bc_\br_\bi_\bb_\bi_\bn_\bg _\bt_\bh_\be  _\bF_\bo_\br_\bm_\ba_\bt
+       _\bo_\bf _\bI_\bn_\bt_\be_\br_\bn_\be_\bt _\bM_\be_\bs_\bs_\ba_\bg_\be _\bB_\bo_\bd_\bi_\be_\bs (RFC 1521),
+       _\bP_\br_\bo_\bp_\bo_\bs_\be_\bd _\bS_\bt_\ba_\bn_\bd_\ba_\br_\bd _\bf_\bo_\br _\bM_\be_\bs_\bs_\ba_\bg_\be _\bE_\bn_\bc_\ba_\bp_\bs_\bu_\bl_\ba_\bt_\bi_\bo_\bn (RFC 934).
+
+D\bDE\bEF\bFA\bAU\bUL\bLT\bTS\bS
+       `+folder' defaults to the current folder
+       `msgs' defaults to cur
+       `-noauto'
+       `-nocache'
+       `-nocheck'
+       `-noebcdicsafe'
+       `-form mhl.headers'
+       `-headers'
+       `-pause'
+       `-rcache ask'
+       `-realsize'
+       `-rfc934mode'
+       `-noserialonly'
+       `-show'
+       `-noverbose'
+       `-wcache ask'
+
+C\bCO\bON\bNT\bTE\bEX\bXT\bT
+       If  a  folder is given, it will become the current folder.
+       The last message selected will become the current message.
+
+B\bBU\bUG\bGS\bS
+       Partial  messages contained within a multipart content are
+       not reassembled with the `-store' switch.
+
+
+
+[mh.6]                        MH.6.8                           18
+
+
+
+
+
diff --git a/usr/src/contrib/mh-6.8.3a/doc/mhook.man b/usr/src/contrib/mh-6.8.3a/doc/mhook.man
new file mode 100644 (file)
index 0000000..458c7ed
--- /dev/null
@@ -0,0 +1,132 @@
+
+
+
+MHOOK(1)               BSD Reference Manual              MHOOK(1)
+
+
+N\bNA\bAM\bME\bE
+       mhook, rcvdist, rcvpack, rcvtty  - MH receive-mail hooks
+
+S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
+     /usr/contrib/mh-6.8/lib/rcvdist [-form formfile]
+            [switches for _\bp_\bo_\bs_\bt_\bp_\br_\bo_\bc] address ...  [-help]
+
+     /usr/contrib/mh-6.8/lib/rcvpack file [-help]
+
+     /usr/contrib/mh-6.8/lib/rcvtty [command] [-form formatfile]
+            [-format string] [-bell] [-nobell] [-newline]
+            [-nonewline] [-biff] [-help]
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+       A receive-mail hook is a program that is run whenever  you
+       receive  a mail message.  You do N\bNO\bOT\bT invoke the hook your-
+       self, rather the hook is invoked on your  behalf  by  your
+       system's  Message  Transport  Agent.   See  _\bs_\bl_\bo_\bc_\ba_\bl (1) for
+       details on how to activate receive-mail hooks on your sys-
+       tem.
+
+       Four  programs  are  currently  available  as  part of _\bM_\bH,
+       _\br_\bc_\bv_\bd_\bi_\bs_\bt  (redistribute  incoming  messages  to  additional
+       recipients),  _\br_\bc_\bv_\bp_\ba_\bc_\bk (save incoming messages in a _\bp_\ba_\bc_\bk_\bf'd
+       file), and _\br_\bc_\bv_\bt_\bt_\by (notify user of incoming messages).  The
+       fourth  program,  _\br_\bc_\bv_\bs_\bt_\bo_\br_\be (1)  is  described  separately.
+       They all reside in the _\b/_\bu_\bs_\br_\b/_\bc_\bo_\bn_\bt_\br_\bi_\bb_\b/_\bm_\bh_\b-_\b6_\b._\b8_\b/_\bl_\bi_\bb_\b/ directory.
+
+       The  _\br_\bc_\bv_\bd_\bi_\bs_\bt  program will resend a copy of the message to
+       all of the addresses listed on its command line.  It  uses
+       the format string facility described in _\bm_\bh_\b-_\bf_\bo_\br_\bm_\ba_\bt (5).
+
+       The  _\br_\bc_\bv_\bp_\ba_\bc_\bk  program will append a copy of the message to
+       the file listed on its command line.  Its use is obsoleted
+       by the "file" action of _\bs_\bl_\bo_\bc_\ba_\bl.
+
+       The  _\br_\bc_\bv_\bt_\bt_\by  program executes the named file with the mes-
+       sage as its standard input, and writes the resulting  out-
+       put on your terminal.
+
+       If  no  file  is specified, or is bogus, etc., then _\br_\bc_\bv_\bt_\bt_\by
+       will instead write a one-line scan  listing.   Either  the
+       `-form formatfile'  or `-format string' option may be used
+       to override the default output format (see _\bm_\bh_\b-_\bf_\bo_\br_\bm_\ba_\bt (5)).
+       A  newline  is  output  before the message output, and the
+       terminal bell is rung after the output.  The  `-nonewline'
+       and `-nobell' options will inhibit these functions.
+
+       In  addition to the standard _\bm_\bh_\b-_\bf_\bo_\br_\bm_\ba_\bt (5) escapes, _\br_\bc_\bv_\bt_\bt_\by
+       also  recognizes  the   following   additional   _\bc_\bo_\bm_\bp_\bo_\bn_\be_\bn_\bt
+       escapes:
+
+
+
+[mh.6]                        MH.6.8                            1
+
+
+
+
+
+
+
+
+MHOOK(1)               BSD Reference Manual              MHOOK(1)
+
+
+       _\bE_\bs_\bc_\ba_\bp_\be    _\bR_\be_\bt_\bu_\br_\bn_\bs  _\bD_\be_\bs_\bc_\br_\bi_\bp_\bt_\bi_\bo_\bn
+       body      string   the (compressed) first part of the body
+       dtimenow  date     the current date
+       folder    string   the name of the current folder
+
+       Normally,  _\br_\bc_\bv_\bt_\bt_\by  obeys  write  permission  as granted by
+       _\bm_\be_\bs_\bg (1).  With the `-biff' option, _\br_\bc_\bv_\bt_\bt_\by will  obey  the
+       notification  status set by _\bb_\bi_\bf_\bf (1) instead.  If the ter-
+       minal access daemon (TTYD) is available  on  your  system,
+       then  _\br_\bc_\bv_\bt_\bt_\by will give its output to the daemon for output
+       instead of writing on the user's terminal.
+
+F\bFI\bIL\bLE\bES\bS
+       /usr/contrib/mh-6.8/lib/mtstailor         tailor file
+       $HOME/.maildelivery                       The file controlling local delivery
+       /usr/contrib/mh-6.8/lib/maildelivery      Rather than the standard file
+
+S\bSE\bEE\bE A\bAL\bLS\bSO\bO
+       rcvstore (1), mh-format(5), slocal(1)
+
+B\bBU\bUG\bGS\bS
+       Only two return codes are meaningful, others should be.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[mh.6]                        MH.6.8                            2
+
+
+
+
+
diff --git a/usr/src/contrib/mh-6.8.3a/doc/mhparam.man b/usr/src/contrib/mh-6.8.3a/doc/mhparam.man
new file mode 100644 (file)
index 0000000..e58c05c
--- /dev/null
@@ -0,0 +1,132 @@
+
+
+
+MHPARAM(1)             BSD Reference Manual            MHPARAM(1)
+
+
+N\bNA\bAM\bME\bE
+       mhparam - print MH profile components
+
+S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
+       mhparam  [components]  [-all]  [-component] [-nocomponent]
+            [-help]
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+       _\bM_\bh_\bp_\ba_\br_\ba_\bm writes the value of the specified  profile  compo-
+       nent to the standard output separated by newlines.  If the
+       profile component is not present, the  default  value  (or
+       nothing if there is no default) is printed.
+
+       If  more  than  one  component is specified in the `compo-
+       nents' list, the component value is preceded by the compo-
+       nent  name.   If  `-component' is specified, the component
+       name is displayed even when only one component  is  speci-
+       fied.   If `-nocomponent' is specified, the component name
+       is not displayed even when  more  than  one  component  is
+       specified.
+
+       If  `-all'  is specified, all components if the MH profile
+       are displayed and other arguments are ignored.
+
+       Examples:
+
+            % mhparam path
+            Mail
+
+            % mhparam mhlproc
+            /usr/contrib/mh-6.8/lib/mhl
+
+            % mhparam -component path
+            Path:       Mail
+
+            % mhparam AliasFile rmmproc
+            AliasFile:  aliases
+            rmmproc:    rmmproc
+
+            % mhparam -nocomponent AliasFile rmmproc
+            aliases
+            rmmproc
+
+       _\bM_\bh_\bp_\ba_\br_\ba_\bm is also useful in back-quoted operations:
+
+            % fgrep cornell.edu `mhpath +`/`mhparam aliasfile`
+
+
+F\bFI\bIL\bLE\bES\bS
+       $HOME/.mh_profile                         The user profile
+
+
+
+
+[mh.6]                        MH.6.8                            1
+
+
+
+
+
+
+
+
+MHPARAM(1)             BSD Reference Manual            MHPARAM(1)
+
+
+S\bSE\bEE\bE A\bAL\bLS\bSO\bO
+       mh-profile(5)
+
+D\bDE\bEF\bFA\bAU\bUL\bLT\bTS\bS
+       `-nocomponent' if only one component is specified
+       `-component' if more than one component is specified
+       `components' defaults to none
+
+C\bCO\bON\bNT\bTE\bEX\bXT\bT
+       None
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[mh.6]                        MH.6.8                            2
+
+
+
+
+
diff --git a/usr/src/contrib/mh-6.8.3a/doc/mhpath.man b/usr/src/contrib/mh-6.8.3a/doc/mhpath.man
new file mode 100644 (file)
index 0000000..c4cbfe4
--- /dev/null
@@ -0,0 +1,198 @@
+
+
+
+MHPATH(1)              BSD Reference Manual             MHPATH(1)
+
+
+N\bNA\bAM\bME\bE
+       mhpath - print full pathnames of MH messages and folders
+
+S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
+       mhpath [+folder] [msgs] [-help]
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+       _\bM_\bh_\bp_\ba_\bt_\bh  expands  and  sorts  the  message  list `msgs' and
+       writes the full pathnames of the messages to the  standard
+       output separated by newlines.  If no `msgs' are specified,
+       _\bm_\bh_\bp_\ba_\bt_\bh outputs the folder pathname instead.  If  the  only
+       argument  is `+', your MH _\bP_\ba_\bt_\bh is output; this can be use-
+       ful is shell scripts.
+
+       Contrasted with other MH commands, a message  argument  to
+       _\bm_\bh_\bp_\ba_\bt_\bh  may  often  be  intended  for _\bw_\br_\bi_\bt_\bi_\bn_\bg.  Because of
+       this:
+
+       1) the name "new" has  been  added  to  _\bm_\bh_\bp_\ba_\bt_\bh's  list  of
+       reserved  message  names  (the others are "first", "last",
+       "prev", "next", "cur", and "all").   The  new  message  is
+       equivalent  to  the  message  after  the last message in a
+       folder (and equivalent to 1 in a folder without messages).
+       The  "new"  message  may  not be used as part of a message
+       range.
+
+       2) Within a message list, the following  designations  may
+       refer to messages that do not exist: a single numeric mes-
+       sage name, the single message name "cur", and  (obviously)
+       the single message name "new".  All other message designa-
+       tions must refer to at least one existing message.
+
+       3) An empty folder is not in itself an error.
+
+       Message numbers greater than the highest existing  message
+       in  a  folder  as part of a range designation are replaced
+       with the next free message number.
+
+       Examples: The current folder foo contains messages 3 5  6.
+       Cur is 4.
+
+            % mhpath
+            /r/phyl/Mail/foo
+
+            % mhpath all
+            /r/phyl/Mail/foo/3
+            /r/phyl/Mail/foo/5
+            /r/phyl/Mail/foo/6
+
+            % mhpath 2001
+            /r/phyl/Mail/foo/7
+
+
+
+[mh.6]                        MH.6.8                            1
+
+
+
+
+
+
+
+
+MHPATH(1)              BSD Reference Manual             MHPATH(1)
+
+
+            % mhpath 1-2001
+            /r/phyl/Mail/foo/3
+            /r/phyl/Mail/foo/5
+            /r/phyl/Mail/foo/6
+
+            % mhpath new
+            /r/phyl/Mail/foo/7
+
+            % mhpath last new
+            /r/phyl/Mail/foo/6
+            /r/phyl/Mail/foo/7
+
+            % mhpath last-new
+            bad message list "last-new".
+
+            % mhpath cur
+            /r/phyl/Mail/foo/4
+
+            % mhpath 1-2
+            no messages in range "1-2".
+
+            % mhpath first:2
+            /r/phyl/Mail/foo/3
+            /r/phyl/Mail/foo/5
+
+            % mhpath 1 2
+            /r/phyl/Mail/foo/1
+            /r/phyl/Mail/foo/2
+
+       _\bM_\bH_\bp_\ba_\bt_\bh is also useful in back-quoted operations:
+
+            % cd `mhpath +inbox`
+
+            % echo `mhpath +`
+            /r/phyl/Mail
+
+F\bFI\bIL\bLE\bES\bS
+       $HOME/.mh_profile                         The user profile
+
+P\bPR\bRO\bOF\bFI\bIL\bLE\bE C\bCO\bOM\bMP\bPO\bON\bNE\bEN\bNT\bTS\bS
+       Path:                To determine the user's MH directory
+       Current-Folder:      To find the default current folder
+
+S\bSE\bEE\bE A\bAL\bLS\bSO\bO
+       folder(1)
+
+D\bDE\bEF\bFA\bAU\bUL\bLT\bTS\bS
+       `+folder' defaults to the current folder
+       `msgs' defaults to none
+
+
+
+
+
+[mh.6]                        MH.6.8                            2
+
+
+
+
+
+
+
+
+MHPATH(1)              BSD Reference Manual             MHPATH(1)
+
+
+C\bCO\bON\bNT\bTE\bEX\bXT\bT
+       None
+
+B\bBU\bUG\bGS\bS
+       Like all MH commands, _\bm_\bh_\bp_\ba_\bt_\bh expands and sorts [msgs].  So
+       don't expect
+
+            mv `mhpath 501 500`
+
+       to move 501 to 500.  Quite the reverse.  But
+
+            mv `mhpath 501` `mhpath 500`
+
+       will do the trick.
+
+       Out of range message 0 is treated far more  severely  than
+       large out of range message numbers.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[mh.6]                        MH.6.8                            3
+
+
+
+
+
diff --git a/usr/src/contrib/mh-6.8.3a/doc/msgchk.man b/usr/src/contrib/mh-6.8.3a/doc/msgchk.man
new file mode 100644 (file)
index 0000000..9c46d4f
--- /dev/null
@@ -0,0 +1,132 @@
+
+
+
+MSGCHK(1)              BSD Reference Manual             MSGCHK(1)
+
+
+N\bNA\bAM\bME\bE
+       msgchk - check for messages
+
+S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
+       msgchk    [-date]    [-nodate]   [-notify all/mail/nomail]
+            [-nonotify all/mail/nomail] [-host host] [-user user]
+            [-apop]   [-noapop]   [-rpop]  [-norpop]  [users ...]
+            [-help]
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+       The _\bm_\bs_\bg_\bc_\bh_\bk program checks all known mail  drops  for  mail
+       waiting for you.  For those drops which have mail for you,
+       _\bm_\bs_\bg_\bc_\bh_\bk will indicate if it believes that you have seen the
+       mail in question before.
+
+       The  `-notify type'  switch  indicates  under what circum-
+       stances _\bm_\bs_\bg_\bc_\bh_\bk should produce a message.  The  default  is
+       `-notify all'  which says that _\bm_\bs_\bg_\bc_\bh_\bk should always report
+       the status of the users maildrop.  Other values for `type'
+       include  `mail'  which  says that _\bm_\bs_\bg_\bc_\bh_\bk should report the
+       status of waiting mail;  and,  `nomail'  which  says  that
+       _\bm_\bs_\bg_\bc_\bh_\bk  should  report the status of empty maildrops.  The
+       `-nonotify type'  switch  has  the  inverted   sense,   so
+       `-nonotify all'  directs _\bm_\bs_\bg_\bc_\bh_\bk to never report the status
+       of maildrops.  This is useful if the user wishes to  check
+       _\bm_\bs_\bg_\bc_\bh_\bk's  exit  status.   A non-zero exit status indicates
+       that mail was n\bno\bot\bt waiting for at least one  of  the  indi-
+       cated users.
+
+       If _\bm_\bs_\bg_\bc_\bh_\bk produces output, then the `-date' switch directs
+       _\bm_\bs_\bg_\bc_\bh_\bk to print out the last date mail was read,  if  this
+       can be determined.
+
+       If the local host is configured as a POP client, or if the
+       `-host host' switch is given, _\bm_\bs_\bg_\bc_\bh_\bk will  query  the  POP
+       service  host  as  to  the status of mail waiting.  If the
+       `-user user' switch is not given, then the  current  user-
+       name is used.  Normally, _\bm_\bs_\bg_\bc_\bh_\bk will prompt for a password
+       to use.  However, if the `-apop' switch is  given,  _\bm_\bs_\bg_\bc_\bh_\bk
+       will  generate  authentication  credentials to provide for
+       origin authentication and replay protection, but which  do
+       not  involve sending a password in the clear over the net-
+       work.  Otherwise, if the `-rpop'  switch  is  given,  then
+       _\bm_\bs_\bg_\bc_\bh_\bk will try to use a "trusted" connection (ala the BSD
+       r-commands).
+
+F\bFI\bIL\bLE\bES\bS
+       $HOME/.mh_profile                         The user profile
+       /usr/contrib/mh-6.8/lib/mtstailor         tailor file
+       /var/mail/$USER                           Location of mail drop
+
+
+
+
+[mh.6]                        MH.6.8                            1
+
+
+
+
+
+
+
+
+MSGCHK(1)              BSD Reference Manual             MSGCHK(1)
+
+
+P\bPR\bRO\bOF\bFI\bIL\bLE\bE C\bCO\bOM\bMP\bPO\bON\bNE\bEN\bNT\bTS\bS
+       None
+
+S\bSE\bEE\bE A\bAL\bLS\bSO\bO
+       _\bP_\bo_\bs_\bt _\bO_\bf_\bf_\bi_\bc_\be _\bP_\br_\bo_\bt_\bo_\bc_\bo_\bl _\b- _\bv_\be_\br_\bs_\bi_\bo_\bn _\b3 (aka RFC-1081),
+       inc(1)
+
+D\bDE\bEF\bFA\bAU\bUL\bLT\bTS\bS
+       `user' defaults to the current user
+       `-date'
+       `-notify all'
+       `-rpop'
+
+C\bCO\bON\bNT\bTE\bEX\bXT\bT
+       None
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[mh.6]                        MH.6.8                            2
+
+
+
+
+
diff --git a/usr/src/contrib/mh-6.8.3a/doc/msh.man b/usr/src/contrib/mh-6.8.3a/doc/msh.man
new file mode 100644 (file)
index 0000000..16bd3a6
--- /dev/null
@@ -0,0 +1,264 @@
+
+
+
+MSH(1)                 BSD Reference Manual                MSH(1)
+
+
+N\bNA\bAM\bME\bE
+       msh - MH shell (and BBoard reader)
+
+S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
+       msh    [-prompt string]    [-scan]   [-noscan]   [-topcur]
+            [-notopcur] [file] [-help]
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+       _\bm_\bs_\bh is an interactive program that implements a subset  of
+       the  normal  _\bM_\bH  commands  operating  on  a single file in
+       _\bp_\ba_\bc_\bk_\bf'd format.  That is, _\bm_\bs_\bh is used to read a file  that
+       contains  a number of messages, as opposed to the standard
+       _\bM_\bH style of reading a number of files, each file  being  a
+       separate  message  in  a folder.  _\bm_\bs_\bh's chief advantage is
+       that the normal _\bM_\bH style does not allow  a  file  to  have
+       more  than  one  message  in  it.  Hence, _\bm_\bs_\bh is ideal for
+       reading _\bB_\bB_\bo_\ba_\br_\bd_\bs, as  these  files  are  delivered  by  the
+       transport  system in this format.  In addition, _\bm_\bs_\bh can be
+       used on other files, such as message archives  which  have
+       been _\bp_\ba_\bc_\bked (see _\bp_\ba_\bc_\bk_\bf (1)).  Finally, _\bm_\bs_\bh is an excellent
+       _\bM_\bH tutor.  As the only commands available to the user  are
+       _\bM_\bH  commands,  this  allows _\bM_\bH beginners to concentrate on
+       how commands to _\bM_\bH are formed and (more or less) what they
+       mean.
+
+       When  invoked, _\bm_\bs_\bh reads the named file, and enters a com-
+       mand loop.  The user may type most of the normal  _\bM_\bH  com-
+       mands.   The  syntax and semantics of these commands typed
+       to _\bm_\bs_\bh are identical to their _\bM_\bH counterparts.   In  cases
+       where the nature of _\bm_\bs_\bh would be inconsistent (e.g., spec-
+       ifying a `+folder' with  some  commands),  _\bm_\bs_\bh  will  duly
+       inform the user.  The commands that _\bm_\bs_\bh currently supports
+       (in some slightly modified or restricted forms) are:
+
+            ali
+            burst
+            comp
+            dist
+            folder
+            forw
+            inc
+            mark
+            mhmail
+            mhn
+            msgchk
+            next
+            packf
+            pick
+            prev
+            refile
+            repl
+
+
+
+[mh.6]                        MH.6.8                            1
+
+
+
+
+
+
+
+
+MSH(1)                 BSD Reference Manual                MSH(1)
+
+
+            rmm
+            scan
+            send
+            show
+            sortm
+            whatnow
+            whom
+
+       In addition, _\bm_\bs_\bh has a "help" command which gives a  brief
+       overview.   To  terminate  _\bm_\bs_\bh,  type  CTRL-D,  or use the
+       "quit" command.  If _\bm_\bs_\bh is being invoked  from  _\bb_\bb_\bc,  then
+       typing  CTRL-D  will  also tell _\bb_\bb_\bc to exit as well, while
+       using the "quit" command will return control to  _\bb_\bb_\bc,  and
+       _\bb_\bb_\bc will continue examining the list of BBoards that it is
+       scanning.
+
+       If the file is writable and has been modified, then  using
+       "quit"  will query the user if the file should be updated.
+
+       The `-prompt string' switch sets the prompting string  for
+       _\bm_\bs_\bh.
+
+       You  may  wish to use an alternate _\bM_\bH profile for the com-
+       mands that _\bm_\bs_\bh executes; see  _\bm_\bh_\b-_\bp_\br_\bo_\bf_\bi_\bl_\be (5)  for  details
+       about the $\b$M\bMH\bH envariable.
+
+       When  invoked  from _\bb_\bb_\bc, two special features are enabled:
+       First,  the  `-scan'  switch   directs   _\bm_\bs_\bh   to   do   a
+       `scan unseen'  on start-up if new items are present in the
+       BBoard.  This feature is best used from  _\bb_\bb_\bc,  which  cor-
+       rectly  sets  the  stage.  Second, the _\bm_\ba_\br_\bk command in _\bm_\bs_\bh
+       acts specially when you are reading a  BBoard,  since  _\bm_\bs_\bh
+       will  consult  the  sequence  "unseen" in determining what
+       messages you have  actually  read.   When  _\bm_\bs_\bh  exits,  it
+       reports this information to _\bb_\bb_\bc.  In addition, if you give
+       the _\bm_\ba_\br_\bk command with no arguments, _\bm_\bs_\bh will interpret  it
+       as  `mark -sequence unseen -delete -nozero all'  Hence, to
+       discard all of the messages in the current  BBoard  you're
+       reading, just use the _\bm_\ba_\br_\bk command with no arguments.
+
+       Normally,  the  "exit"  command is identical to the "quit"
+       command in  _\bm_\bs_\bh.   When  run  under  _\bb_\bb_\bc  however,  "exit"
+       directs  _\bm_\bs_\bh to mark all messages as seen and then "quit".
+       For speedy type-in, this command is often  abbreviated  as
+       just "e".
+
+       When invoked from _\bv_\bm_\bh, another special feature is enabled:
+       The `topcur' switch directs _\bm_\bs_\bh to have the  current  mes-
+       sage  "track"  the  top line of the _\bv_\bm_\bh scan window.  Nor-
+       mally, _\bm_\bs_\bh has the current message "track" the  center  of
+       the window (under `-notopcur', which is the default).
+
+
+
+[mh.6]                        MH.6.8                            2
+
+
+
+
+
+
+
+
+MSH(1)                 BSD Reference Manual                MSH(1)
+
+
+       _\bm_\bs_\bh supports an output redirection facility.  Commands may
+       be followed by one of
+
+            > _\bf_\bi_\bl_\be     write output to _\bf_\bi_\bl_\be
+            >> _\bf_\bi_\bl_\be    append output to _\bf_\bi_\bl_\be
+            | _\bc_\bo_\bm_\bm_\ba_\bn_\bd  pipe output to UNIX _\bc_\bo_\bm_\bm_\ba_\bn_\bd
+
+       If _\bf_\bi_\bl_\be starts with a ` ' (tilde), then a _\bc_\bs_\bh-like  expan-
+       sion  takes  place.   Note  that _\bc_\bo_\bm_\bm_\ba_\bn_\bd is interpreted by
+       _\bs_\bh (1).  Also note that _\bm_\bs_\bh does NOT support history  sub-
+       stitutions,  variable  substitutions,  or  alias substitu-
+       tions.
+
+       When parsing commands to the left of any redirection  sym-
+       bol,   _\bm_\bs_\bh  will  honor  `\'  (back-slash)  as  the  quote
+       next-character   symbol,   and   `"'   (double-quote)   as
+       quote-word  delimiters.   All other input tokens are sepa-
+       rated by whitespace (spaces and tabs).
+
+F\bFI\bIL\bLE\bES\bS
+       $HOME/.mh_profile                         The user profile
+       /usr/contrib/mh-6.8/lib/mtstailor         tailor file
+
+P\bPR\bRO\bOF\bFI\bIL\bLE\bE C\bCO\bOM\bMP\bPO\bON\bNE\bEN\bNT\bTS\bS
+       Path:                To determine the user's MH directory
+       Msg-Protect:         To set mode when creating a new `file'
+       fileproc:            Program to file messages
+       showproc:            Program to show messages
+
+S\bSE\bEE\bE A\bAL\bLS\bSO\bO
+       bbc(1)
+
+D\bDE\bEF\bFA\bAU\bUL\bLT\bTS\bS
+       `file' defaults to "./msgbox"
+       `-prompt (msh) '
+       `-noscan'
+       `-notopcur'
+
+C\bCO\bON\bNT\bTE\bEX\bXT\bT
+       None
+
+B\bBU\bUG\bGS\bS
+       The argument to the `-prompt' switch must  be  interpreted
+       as  a  single token by the shell that invokes _\bm_\bs_\bh.  There-
+       fore, one must usually place the argument to  this  switch
+       inside double-quotes.
+
+       There  is  a  strict limit of messages per file in _\bp_\ba_\bc_\bk_\bf'd
+       format which _\bm_\bs_\bh can handle.  Usually, this limit is  1000
+       messages.
+
+
+
+
+[mh.6]                        MH.6.8                            3
+
+
+
+
+
+
+
+
+MSH(1)                 BSD Reference Manual                MSH(1)
+
+
+       Please remember that _\bm_\bs_\bh is not the _\bC_\bS_\bh_\be_\bl_\bl, and that a lot
+       of the nice facilities provided by the latter are not pre-
+       sent in the former.
+
+       In  particular,  _\bm_\bs_\bh  does not understand back-quoting, so
+       the only effective way to use _\bp_\bi_\bc_\bk inside _\bm_\bs_\bh is to always
+       use the `-seq select' switch.  Clever users of _\bM_\bH will put
+       the line
+
+            pick: -seq select -list
+
+       in their .mh_profile file so that _\bp_\bi_\bc_\bk works equally  well
+       from both the shell and _\bm_\bs_\bh.
+
+       _\bs_\bo_\br_\bt_\bm  always  uses "-noverbose" and if "-textfield field"
+       is used, "-limit 0".
+
+       The _\bm_\bs_\bh program inherits most (if not  all)  of  the  bugs
+       from the _\bM_\bH commands it implements.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[mh.6]                        MH.6.8                            4
+
+
+
+
+
diff --git a/usr/src/contrib/mh-6.8.3a/doc/next.man b/usr/src/contrib/mh-6.8.3a/doc/next.man
new file mode 100644 (file)
index 0000000..6fd80ec
--- /dev/null
@@ -0,0 +1,66 @@
+
+
+
+NEXT(1)                BSD Reference Manual               NEXT(1)
+
+
+N\bNA\bAM\bME\bE
+       next - show the next message
+
+S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
+       next  [+folder]  [-header] [-noheader] [-showproc program]
+            [-noshowproc] [switches for _\bs_\bh_\bo_\bw_\bp_\br_\bo_\bc] [-help]
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+       _\bN_\be_\bx_\bt performs a _\bs_\bh_\bo_\bw on the next message in the  specified
+       (or current) folder.  Like _\bs_\bh_\bo_\bw, it passes any switches on
+       to the program _\bs_\bh_\bo_\bw_\bp_\br_\bo_\bc, which is called to list the  mes-
+       sage.   This command is almost exactly equivalent to "show
+       next".  Consult the manual entry for _\bs_\bh_\bo_\bw (1) for all  the
+       details.
+
+F\bFI\bIL\bLE\bES\bS
+       $HOME/.mh_profile                         The user profile
+
+P\bPR\bRO\bOF\bFI\bIL\bLE\bE C\bCO\bOM\bMP\bPO\bON\bNE\bEN\bNT\bTS\bS
+       Path:                To determine the user's MH directory
+       Current-Folder:      To find the default current folder
+       showproc:            Program to show the message
+
+S\bSE\bEE\bE A\bAL\bLS\bSO\bO
+       show(1), prev(1)
+
+D\bDE\bEF\bFA\bAU\bUL\bLT\bTS\bS
+       `+folder' defaults to the current folder
+       `-header'
+
+C\bCO\bON\bNT\bTE\bEX\bXT\bT
+       If  a  folder  is  specified,  it  will become the current
+       folder.  The message that is shown (i.e., the next message
+       in sequence) will become the current message.
+
+B\bBU\bUG\bGS\bS
+       _\bn_\be_\bx_\bt  is  really a link to the _\bs_\bh_\bo_\bw program.  As a result,
+       if you make a link to _\bn_\be_\bx_\bt and that  link  is  not  called
+       _\bn_\be_\bx_\bt, your link will act like _\bs_\bh_\bo_\bw instead.  To circumvent
+       this, add a profile-entry for the link to your _\bM_\bH  profile
+       and add the argument _\bn_\be_\bx_\bt to the entry.
+
+
+
+
+
+
+
+
+
+
+
+
+
+[mh.6]                        MH.6.8                            1
+
+
+
+
+
diff --git a/usr/src/contrib/mh-6.8.3a/doc/packf.man b/usr/src/contrib/mh-6.8.3a/doc/packf.man
new file mode 100644 (file)
index 0000000..34f2e6c
--- /dev/null
@@ -0,0 +1,66 @@
+
+
+
+PACKF(1)               BSD Reference Manual              PACKF(1)
+
+
+N\bNA\bAM\bME\bE
+       packf - compress an MH folder into a single file
+
+S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
+       packf [+folder] [msgs] [-file name] [-help]
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+       _\bP_\ba_\bc_\bk_\bf  takes  messages  from a folder and copies them to a
+       single file.  Each message in the  file  is  separated  by
+       four  CTRL-A's  and  a  newline.   Messages  packed can be
+       unpacked using _\bi_\bn_\bc.
+
+       If the _\bn_\ba_\bm_\be given to the `-file name' switch exists,  then
+       the  messages specified will be appended to the end of the
+       file, otherwise the file will be created and the  messages
+       appended.
+
+F\bFI\bIL\bLE\bES\bS
+       $HOME/.mh_profile                         The user profile
+       .msgbox.map                               A binary index of the file
+
+P\bPR\bRO\bOF\bFI\bIL\bLE\bE C\bCO\bOM\bMP\bPO\bON\bNE\bEN\bNT\bTS\bS
+       Path:                To determine the user's MH directory
+       Current-Folder:      To find the default current folder
+       Msg-Protect:         To set mode when creating a new `file'
+
+S\bSE\bEE\bE A\bAL\bLS\bSO\bO
+       inc(1)
+
+D\bDE\bEF\bFA\bAU\bUL\bLT\bTS\bS
+       `+folder' defaults to the current folder
+       `msgs' defaults to all
+       `-file ./msgbox'
+
+C\bCO\bON\bNT\bTE\bEX\bXT\bT
+       If  a  folder is given, it will become the current folder.
+       The first message packed will become the current  message.
+
+B\bBU\bUG\bGS\bS
+       _\bP_\ba_\bc_\bk_\bf  doesn't  handle  the  old  UUCP-style "mbox" format
+       (used by _\bS_\be_\bn_\bd_\bM_\ba_\bi_\bl).  To pack messages  into  this  format,
+       use  the  script  _\b/_\bu_\bs_\br_\b/_\bc_\bo_\bn_\bt_\br_\bi_\bb_\b/_\bm_\bh_\b-_\b6_\b._\b8_\b/_\bl_\bi_\bb_\b/_\bp_\ba_\bc_\bk_\bm_\bb_\bo_\bx.   Note
+       that _\bp_\ba_\bc_\bk_\bm_\bb_\bo_\bx does not take the `-file' option  of  _\bp_\ba_\bc_\bk_\bf,
+       and instead writes its output on _\bs_\bt_\bd_\bo_\bu_\bt.
+
+
+
+
+
+
+
+
+
+
+[mh.6]                        MH.6.8                            1
+
+
+
+
+
diff --git a/usr/src/contrib/mh-6.8.3a/doc/pick.man b/usr/src/contrib/mh-6.8.3a/doc/pick.man
new file mode 100644 (file)
index 0000000..d6a64ef
--- /dev/null
@@ -0,0 +1,330 @@
+
+
+
+PICK(1)                BSD Reference Manual               PICK(1)
+
+
+N\bNA\bAM\bME\bE
+       pick - select messages by content
+
+S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
+     pick   [+folder]   [msgs]  [-and ...]  [-or ...]  [-not ...]
+            [-lbrace ... -rbrace] [--component pattern] [-cc pat-
+            tern]  [-date pattern]  [-from pattern] [-search pat-
+            tern] [-subject pattern] [-to pattern]  [-after date]
+            [-before date]                     [-datefield field]
+            [-sequence name ...]  [-public]  [-nopublic]  [-zero]
+            [-nozero] [-list] [-nolist] [-help]
+
+     typically:
+            scan `pick -from jones`
+            pick -to holloway -sequence select
+            show `pick -before friday`
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+       _\bP_\bi_\bc_\bk  searches  messages within a folder for the specified
+       contents, and then identifies those messages.   Two  types
+       of  search  primitives are available: pattern matching and
+       date constraint operations.
+
+       A modified _\bg_\br_\be_\bp(1) is used to perform the matching, so the
+       full  regular expression (see _\be_\bd(1)) facility is available
+       within  `pattern'.   With  `-search',  `pattern'  is  used
+       directly,  and  with  the  others,  the  grep pattern con-
+       structed is:
+
+            "component[ \t]*:.*pattern"
+
+       This means that the pattern specified for a `-search' will
+       be  found  everywhere in the message, including the header
+       and the body, while the other  pattern  matching  requests
+       are  limited  to  the  single  specified  component.   The
+       expression
+
+            `--component pattern'
+
+       is a shorthand for specifying
+
+            `-search "component[ \t]*:.*pattern" '
+
+       It is used to pick a component which is not one of  "To:",
+       "cc:",  "Date:",  "From:",  or  "Subject:".  An example is
+       `pick --reply-to pooh'.
+
+       Pattern matching is performed on a per-line basis.  Within
+       the  header  of  the message, each component is treated as
+       one long line, but in the body,  each  line  is  separate.
+       Lower-case letters in the search pattern will match either
+
+
+
+[mh.6]                        MH.6.8                            1
+
+
+
+
+
+
+
+
+PICK(1)                BSD Reference Manual               PICK(1)
+
+
+       lower or upper case in the message, while upper case  will
+       match only upper case.
+
+       Note  that  since the `-date' switch is a pattern matching
+       operation (as described above), to find messages sent on a
+       certain date the pattern string must match the text of the
+       "Date:" field of the message.
+
+       Independent of any pattern matching operations  requested,
+       the  switches  `-after date' or `-before date' may also be
+       used to introduce date/time contraints on all of the  mes-
+       sages.  By default, the "Date:" field is consulted, but if
+       another date  yielding  field  (such  as  "BB-Posted:"  or
+       "Delivery-Date:")  should  be used, the `-datefield field'
+       switch may be used.
+
+       With `-before' and `-after', _\bp_\bi_\bc_\bk will actually parse  the
+       date  fields  in  each of the messages specified in `msgs'
+       and compare them to the date/time specified.  If  `-after'
+       is  given,  then  only  those messages whose "Date:" field
+       value is chronologically after the date specified will  be
+       considered.  The `-before' switch specifies the complimen-
+       tary action.
+
+       Both  the  `-after'  and  `-before'  switches  take  legal
+       822-style  date  specifications  as  arguments.  _\bP_\bi_\bc_\bk will
+       default certain missing fields so  that  the  entire  date
+       need  not  be  specified.   These  fields are (in order of
+       defaulting): timezone, time and timezone, date,  date  and
+       timezone.   All  defaults are taken from the current date,
+       time, and timezone.
+
+       In addition to 822-style dates, _\bp_\bi_\bc_\bk will  also  recognize
+       any  of  the  days of the week ("sunday", "monday", and so
+       on), and the special dates "today", "yesterday" (24  hours
+       ago), and "tomorrow" (24 hours from now).  All days of the
+       week are judged to refer to  a  day  in  the  past  (e.g.,
+       telling  _\bp_\bi_\bc_\bk "saturday" on a "tuesday" means "last satur-
+       day" not "this saturday").
+
+       Finally, in addition to these special specifications, _\bp_\bi_\bc_\bk
+       will  also  honor a specification of the form "-dd", which
+       means "dd days ago".
+
+       _\bP_\bi_\bc_\bk supports complex boolean operations on the  searching
+       primitives   with   the   `-and',   `-or',   `-not',   and
+       `-lbrace ... -rbrace' switches.  For example,
+
+            pick -after yesterday -and
+                 -lbrace -from freida -or -from fear -rbrace
+
+
+
+
+[mh.6]                        MH.6.8                            2
+
+
+
+
+
+
+
+
+PICK(1)                BSD Reference Manual               PICK(1)
+
+
+       identifies messages recently sent by "frieda" or "fear".
+
+       The matching primitives take precedence  over  the  `-not'
+       switch,  which  in turn takes precedence over `-and' which
+       in turn takes precedence  over  `-or'.   To  override  the
+       default  precedence,  the `-lbrace' and `-rbrace' switches
+       are provided, which act  just  like  opening  and  closing
+       parentheses in logical expressions.
+
+       If  no  search criteria are given, all the messages speci-
+       fied on the command line are selected  (this  defaults  to
+       "all").
+
+       Once  the search has been performed, if the `-list' switch
+       is given, the message numbers of the selected messages are
+       written  to  the  standard  output  separated by newlines.
+       This is _\be_\bx_\bt_\br_\be_\bm_\be_\bl_\by useful for quickly generating  arguments
+       for other _\bM_\bH programs by using the "backquoting" syntax of
+       the shell.  For example, the command
+
+            scan `pick +todo -after "31 Mar 83 0123 PST"`
+
+       says to _\bs_\bc_\ba_\bn those messages in the indicated folder  which
+       meet  the  appropriate criterion.  Note that since _\bp_\bi_\bc_\bk 's
+       context changes are written out prior to  _\bs_\bc_\ba_\bn 's  invoca-
+       tion,  you  need  not  give the folder argument to _\bs_\bc_\ba_\bn as
+       well.
+
+       Regardless of the operation of  the  `-list'  switch,  the
+       `-sequence  name'  switch  may  be  given  once  for  each
+       sequence the user wishes to  define.   For  each  sequence
+       named, that sequence will be defined to mean exactly those
+       messages selected by _\bp_\bi_\bc_\bk.  For example,
+
+            pick -from frated -seq fred
+
+       defines a new message  sequence  for  the  current  folder
+       called  "fred"  which contains exactly those messages that
+       were selected.
+
+       Note  that  whenever  _\bp_\bi_\bc_\bk  processes  a  `-sequence name'
+       switch, it sets `-nolist'.
+
+       By  default, _\bp_\bi_\bc_\bk will zero the sequence before adding it.
+       This action can be disabled  with  the  `-nozero'  switch,
+       which  means  that  the  messages selected by _\bp_\bi_\bc_\bk will be
+       added to the sequence, if it already exists, and any  mes-
+       sages already a part of that sequence will remain so.
+
+       The `-public' and `-nopublic' switches are used by _\bp_\bi_\bc_\bk in
+       the same way _\bm_\ba_\br_\bk uses them.
+
+
+
+[mh.6]                        MH.6.8                            3
+
+
+
+
+
+
+
+
+PICK(1)                BSD Reference Manual               PICK(1)
+
+
+F\bFI\bIL\bLE\bES\bS
+       $HOME/.mh_profile                         The user profile
+
+P\bPR\bRO\bOF\bFI\bIL\bLE\bE C\bCO\bOM\bMP\bPO\bON\bNE\bEN\bNT\bTS\bS
+       Path:                To determine the user's MH directory
+       Current-Folder:      To find the default current folder
+
+S\bSE\bEE\bE A\bAL\bLS\bSO\bO
+       mark(1)
+
+D\bDE\bEF\bFA\bAU\bUL\bLT\bTS\bS
+       `+folder' defaults to the current folder
+       `msgs' defaults to all
+       `-datefield date'
+       `-nopublic' if the folder is read-only, `-public' otherwise
+       `-zero'
+       `-list' is the default if no `-sequence', `-nolist' otherwise
+
+C\bCO\bON\bNT\bTE\bEX\bXT\bT
+       If a folder is given, it will become the current folder.
+
+H\bHI\bIS\bST\bTO\bOR\bRY\bY
+       In previous versions of _\bM_\bH, the _\bp_\bi_\bc_\bk command  would  _\bs_\bh_\bo_\bw,
+       _\bs_\bc_\ba_\bn,  or  _\br_\be_\bf_\bi_\bl_\be  the selected messages.  This was rather
+       "inverted logic" from the UNIX point of view, so _\bp_\bi_\bc_\bk  was
+       changed  to  define  sequences and output those sequences.
+       Hence, _\bp_\bi_\bc_\bk can be used to generate the arguments for  all
+       other _\bM_\bH commands, instead of giving _\bp_\bi_\bc_\bk endless switches
+       for invoking those commands itself.
+
+       Also, previous versions of _\bp_\bi_\bc_\bk balked if you didn't spec-
+       ify  a  search string or a date/time constraint.  The cur-
+       rent version does not, and merely matches the messages you
+       specify.  This lets you type something like:
+
+            show `pick last:20 -seq fear`
+
+       instead of typing
+
+            mark -add -nozero -seq fear last:20
+            show fear
+
+       Finally,  timezones  used  to  be  ignored  when comparing
+       dates: they aren't any more.
+
+H\bHE\bEL\bLP\bPF\bFU\bUL\bL H\bHI\bIN\bNT\bTS\bS
+       Use "pick sequence -list" to enumerate the messages  in  a
+       sequence (such as for use by a shell script).
+
+B\bBU\bUG\bGS\bS
+       The  argument  to the `-after' and `-before' switches must
+
+
+
+[mh.6]                        MH.6.8                            4
+
+
+
+
+
+
+
+
+PICK(1)                BSD Reference Manual               PICK(1)
+
+
+       be interpreted as a single token by the shell that invokes
+       _\bp_\bi_\bc_\bk.   Therefore,  one must usually place the argument to
+       this switch inside double-quotes.  Furthermore, any  occu-
+       rance  of `-datefield' must occur prior to the `-after' or
+       `-before' switch it applies to.
+
+       If _\bp_\bi_\bc_\bk is used in a back-quoted operation, such as
+
+            scan `pick -from jones`
+
+       and _\bp_\bi_\bc_\bk selects no messages (e.g., no messages  are  from
+       "jones"),  then the shell will still run the outer command
+       (e.g., "scan").  Since no messages were matched, _\bp_\bi_\bc_\bk pro-
+       duced  no output, and the argument given to the outer com-
+       mand as a result of backquoting _\bp_\bi_\bc_\bk  is  empty.   In  the
+       case  of _\bM_\bH programs, the outer command now acts as if the
+       default `msg' or `msgs' should be used (e.g., "all" in the
+       case  of  _\bs_\bc_\ba_\bn ).  To prevent this unexpected behavior, if
+       `-list' was given, and if its standard  output  is  not  a
+       tty, then _\bp_\bi_\bc_\bk outputs the illegal message number "0" when
+       it fails.  This lets the outer command fail gracefully  as
+       well.
+
+       The  pattern  syntax "[l-r]" is not supported; each letter
+       to be matched must be included within the square brackets.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[mh.6]                        MH.6.8                            5
+
+
+
+
+
diff --git a/usr/src/contrib/mh-6.8.3a/doc/post.man b/usr/src/contrib/mh-6.8.3a/doc/post.man
new file mode 100644 (file)
index 0000000..ffaceef
--- /dev/null
@@ -0,0 +1,132 @@
+
+
+
+POST(8)            BSD System Manager's Manual            POST(8)
+
+
+N\bNA\bAM\bME\bE
+       post - deliver a message
+
+S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
+       /usr/contrib/mh-6.8/lib/post            [-alias aliasfile]
+            [-filter filterfile]      [-nofilter]       [-format]
+            [-noformat]  [-mime]  [-nomime]  [-msgid]  [-nomsgid]
+            [-verbose]    [-noverbose]    [-watch]     [-nowatch]
+            [-width columns] file [-help]
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+       _\bP_\bo_\bs_\bt is the program called by _\bs_\be_\bn_\bd (1) to deliver the mes-
+       sage in _\bf_\bi_\bl_\be to local and remote users.  In fact,  all  of
+       the  functions  attributed  to _\bs_\be_\bn_\bd on its manual page are
+       performed by _\bp_\bo_\bs_\bt, with _\bs_\be_\bn_\bd acting as a relatively simple
+       preprocessor.   Thus,  it is _\bp_\bo_\bs_\bt which parses the various
+       header fields, appends From: and Date: lines,  and  inter-
+       acts  with  the  _\bS_\be_\bn_\bd_\bM_\ba_\bi_\bl transport system.  _\bP_\bo_\bs_\bt will not
+       normally be called directly by the user.
+
+       _\bP_\bo_\bs_\bt  searches  the  "To:",  "cc:",  "Bcc:",  "Fcc:",  and
+       "Resent-xxx:"  header  lines  of the specified message for
+       destination addresses, checks these addresses  for  valid-
+       ity, and formats them so as to conform to ARPAnet Internet
+       Message Format protocol, unless the  `-noformat'  flag  is
+       set.    This  will  normally  cause  "@_\bl_\bo_\bc_\ba_\bl_\b-_\bs_\bi_\bt_\be"  to  be
+       appended to each local destination address, as well as any
+       local  return  addresses.  The `-width columns' switch can
+       be used to indicate the preferred  length  of  the  header
+       components that contain addresses.
+
+       If  a  "Bcc:"  field is encountered, its addresses will be
+       used for delivery, and the "Bcc:" field  will  be  removed
+       from  the  message  sent to sighted recipients.  The blind
+       recipients will receive an entirely  new  message  with  a
+       minimal  set of headers.  Included in the body of the mes-
+       sage will be a copy of the message  sent  to  the  sighted
+       recipients.   If  `-filter filterfile'  is specified, then
+       this copy is filtered (re-formatted) prior to  being  sent
+       to the blind recipients.  Otherwise, to use the MIME rules
+       for encapsulation, specify the `-mime' switch.
+
+       The `-alias aliasfile' switch can be  used  to  specify  a
+       file  that  post  should take aliases from.  More than one
+       file can be specified, each being preceded with  `-alias'.
+       In any event, the primary alias file is read first.
+
+       The  `-msgid'  switch  indicates  that  a "Message-ID:" or
+       "Resent-Message-ID:" field should be added to the  header.
+
+       The  `-verbose'  switch  indicates that the user should be
+
+
+
+[mh.6]                        MH.6.8                            1
+
+
+
+
+
+
+
+
+POST(8)            BSD System Manager's Manual            POST(8)
+
+
+       informed of each step of the posting/filing process.
+
+       The `-watch' switch indicates that the user would like  to
+       watch  the  transport  system's  handling  of  the message
+       (e.g., local and "fast" delivery).
+
+       _\bP_\bo_\bs_\bt consults the envariable $\b$S\bSI\bIG\bGN\bNA\bAT\bTU\bUR\bRE\bE to  determine  the
+       sender's personal name in constructing the "From:" line of
+       the message.
+
+F\bFI\bIL\bLE\bES\bS
+       /usr/contrib/mh-6.8/lib/mtstailor         tailor file
+       /usr/contrib/mh-6.8/bin/refile            Program to process Fcc:s
+       /usr/contrib/mh-6.8/lib/mhl               Program to process Bcc:s
+       /usr/contrib/mh-6.8/lib/MailAliases       Primary alias file
+
+P\bPR\bRO\bOF\bFI\bIL\bLE\bE C\bCO\bOM\bMP\bPO\bON\bNE\bEN\bNT\bTS\bS
+       _\bp_\bo_\bs_\bt does N\bNO\bOT\bT consult the user's .mh_profile
+
+S\bSE\bEE\bE A\bAL\bLS\bSO\bO
+       _\bS_\bt_\ba_\bn_\bd_\ba_\br_\bd _\bf_\bo_\br _\bt_\bh_\be _\bF_\bo_\br_\bm_\ba_\bt _\bo_\bf  _\bA_\bR_\bP_\bA  _\bI_\bn_\bt_\be_\br_\bn_\be_\bt  _\bT_\be_\bx_\bt  _\bM_\be_\bs_\bs_\ba_\bg_\be_\bs
+       (aka RFC-822),
+       mhmail(1), send(1), mh-mail(5), mh-alias(5)
+
+D\bDE\bEF\bFA\bAU\bUL\bLT\bTS\bS
+       `-alias /usr/contrib/mh-6.8/lib/MailAliases'
+       `-format'
+       `-nomime'
+       `-nomsgid'
+       `-noverbose'
+       `-nowatch'
+       `-width 72'
+       `-nofilter'
+
+C\bCO\bON\bNT\bTE\bEX\bXT\bT
+       None
+
+B\bBU\bUG\bGS\bS
+       "Reply-To:"  fields  are  allowed  to  have groups in them
+       according to the 822 specification, but _\bp_\bo_\bs_\bt won't let you
+       use them.
+
+
+
+
+
+
+
+
+
+
+
+
+
+[mh.6]                        MH.6.8                            2
+
+
+
+
+
diff --git a/usr/src/contrib/mh-6.8.3a/doc/prev.man b/usr/src/contrib/mh-6.8.3a/doc/prev.man
new file mode 100644 (file)
index 0000000..ff2d5d3
--- /dev/null
@@ -0,0 +1,66 @@
+
+
+
+PREV(1)                BSD Reference Manual               PREV(1)
+
+
+N\bNA\bAM\bME\bE
+       prev - show the previous message
+
+S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
+       prev  [+folder]  [-header] [-noheader] [-showproc program]
+            [-noshowproc] [-switches for _\bs_\bh_\bo_\bw_\bp_\br_\bo_\bc] [-help]
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+       _\bP_\br_\be_\bv performs a _\bs_\bh_\bo_\bw on the previous message in the speci-
+       fied  (or  current)  folder.   Like  _\bs_\bh_\bo_\bw,  it  passes any
+       switches on to the program named  by  _\bs_\bh_\bo_\bw_\bp_\br_\bo_\bc,  which  is
+       called  to  list  the  message.   This  command  is almost
+       exactly equivalent to "show  prev".   Consult  the  manual
+       entry for _\bs_\bh_\bo_\bw (1) for all the details.
+
+F\bFI\bIL\bLE\bES\bS
+       $HOME/.mh_profile                         The user profile
+
+P\bPR\bRO\bOF\bFI\bIL\bLE\bE C\bCO\bOM\bMP\bPO\bON\bNE\bEN\bNT\bTS\bS
+       Path:                To determine the user's MH directory
+       Current-Folder:      To find the default current folder
+       showproc:            Program to show the message
+
+S\bSE\bEE\bE A\bAL\bLS\bSO\bO
+       show(1), next(1)
+
+D\bDE\bEF\bFA\bAU\bUL\bLT\bTS\bS
+       `+folder' defaults to the current folder
+       `-header'
+
+C\bCO\bON\bNT\bTE\bEX\bXT\bT
+       If  a  folder  is  specified,  it  will become the current
+       folder.  The message that is  shown  (i.e.,  the  previous
+       message in sequence) will become the current message.
+
+B\bBU\bUG\bGS\bS
+       _\bp_\br_\be_\bv  is  really a link to the _\bs_\bh_\bo_\bw program.  As a result,
+       if you make a link to _\bp_\br_\be_\bv and that  link  is  not  called
+       _\bp_\br_\be_\bv, your link will act like _\bs_\bh_\bo_\bw instead.  To circumvent
+       this, add a profile-entry for the link to your _\bM_\bH  profile
+       and add the argument _\bp_\br_\be_\bv to the entry.
+
+
+
+
+
+
+
+
+
+
+
+
+
+[mh.6]                        MH.6.8                            1
+
+
+
+
+
diff --git a/usr/src/contrib/mh-6.8.3a/doc/prompter.man b/usr/src/contrib/mh-6.8.3a/doc/prompter.man
new file mode 100644 (file)
index 0000000..230fcf6
--- /dev/null
@@ -0,0 +1,198 @@
+
+
+
+PROMPTER(1)            BSD Reference Manual           PROMPTER(1)
+
+
+N\bNA\bAM\bME\bE
+       prompter - prompting editor front-end for MH
+
+S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
+       prompter  [-erase chr] [-kill chr] [-prepend] [-noprepend]
+            [-rapid]  [-norapid]   [-doteof]   [-nodoteof]   file
+            [-help]
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+       This program is normally not invoked directly by users but
+       takes the place  of  an  editor  and  acts  as  an  editor
+       front-end.   It  operates  on  an  822-style message draft
+       skeleton specified by file,  normally  provided  by  _\bc_\bo_\bm_\bp,
+       _\bd_\bi_\bs_\bt, _\bf_\bo_\br_\bw, or _\br_\be_\bp_\bl.
+
+       _\bP_\br_\bo_\bm_\bp_\bt_\be_\br  is  an  editor which allows rapid composition of
+       messages.   It  is  particularly  useful  to  network  and
+       low-speed  (less than 2400 baud) users of _\bM_\bH.  It is an _\bM_\bH
+       program in that it can have its  own  profile  entry  with
+       switches, but it is not invoked directly by the user.  The
+       commands _\bc_\bo_\bm_\bp, _\bd_\bi_\bs_\bt, _\bf_\bo_\br_\bw, and _\br_\be_\bp_\bl invoke _\bp_\br_\bo_\bm_\bp_\bt_\be_\br as  an
+       editor, either when invoked with `-editor prompter', or by
+       the profile entry "Editor: prompter", or  when  given  the
+       command `edit prompter' at "What now?" level.
+
+       For  each empty component _\bp_\br_\bo_\bm_\bp_\bt_\be_\br finds in the draft, the
+       user is prompted for a response; A <RETURN> will cause the
+       whole  component to be left out.  Otherwise, a `\' preced-
+       ing a <RETURN> will continue  the  response  on  the  next
+       line,  allowing  for  multiline  components.  Continuation
+       lines m\bmu\bus\bst\bt begin with a space or tab.
+
+       Each non-empty component is copied to the draft  and  dis-
+       played on the terminal.
+
+       The  start  of the message body is denoted by a blank line
+       or a line of  dashes.   If  the  body  is  non-empty,  the
+       prompt, which isn't written to the file, is
+
+           "--------Enter additional text",
+
+       or (if `-prepend' was given)
+
+           "--------Enter initial text".
+
+       Message-body  typing  is  terminated  with  an end-of-file
+       (usually CTRL-D).  With the `-doteof' switch, a period  on
+       a  line all by itself also signifies end-of-file.  At this
+       point control is returned to the  calling  program,  where
+       the  user is asked "What now?".  See _\bw_\bh_\ba_\bt_\bn_\bo_\bw for the valid
+       options to this query.
+
+
+
+[mh.6]                        MH.6.8                            1
+
+
+
+
+
+
+
+
+PROMPTER(1)            BSD Reference Manual           PROMPTER(1)
+
+
+       By using the `-prepend' switch, the user can  add  type-in
+       to  the beginning of the message body and have the rest of
+       the body follow.  This is useful for the _\bf_\bo_\br_\bw command.
+
+       By using the `-rapid' switch, if the  draft  already  con-
+       tains text in the message-body, it is not displayed on the
+       user's terminal.  This is useful for low-speed  terminals.
+
+       The  line  editing  characters  for  kill and erase may be
+       specified by the user via the  arguments  `-kill chr'  and
+       `-erase chr',  where  chr  may  be a character; or `\nnn',
+       where "nnn" is the octal value for the character.
+
+       An interrupt (usually CTRL-C) during component typing will
+       abort  _\bp_\br_\bo_\bm_\bp_\bt_\be_\br  and  the  _\bM_\bH command that invoked it.  An
+       interrupt during  message-body  typing  is  equivalent  to
+       CTRL-D,  for historical reasons.  This means that _\bp_\br_\bo_\bm_\bp_\bt_\be_\br
+       should finish up and exit.
+
+       The first non-flag argument to _\bp_\br_\bo_\bm_\bp_\bt_\be_\br is  taken  as  the
+       name  of the draft file, and subsequent non-flag arguments
+       are ignored.
+
+F\bFI\bIL\bLE\bES\bS
+       $HOME/.mh_profile                         The user profile
+       /tmp/prompter*                            Temporary copy of message
+
+P\bPR\bRO\bOF\bFI\bIL\bLE\bE C\bCO\bOM\bMP\bPO\bON\bNE\bEN\bNT\bTS\bS
+       prompter-next:       To name the editor to be used on exit from _\bp_\br_\bo_\bm_\bp_\bt_\be_\br
+       Msg-Protect:         To set mode when creating a new draft
+
+S\bSE\bEE\bE A\bAL\bLS\bSO\bO
+       comp(1), dist(1), forw(1), repl(1), whatnow(1)
+
+D\bDE\bEF\bFA\bAU\bUL\bLT\bTS\bS
+       `-prepend'
+       `-norapid'
+       `-nodoteof'
+
+C\bCO\bON\bNT\bTE\bEX\bXT\bT
+       None
+
+H\bHE\bEL\bLP\bPF\bFU\bUL\bL H\bHI\bIN\bNT\bTS\bS
+       The `-rapid' option is particularly useful with _\bf_\bo_\br_\bw,  and
+       `-noprepend' is useful with _\bc_\bo_\bm_\bp _\b-_\bu_\bs_\be.
+
+       The  user  may  wish  to link _\bp_\br_\bo_\bm_\bp_\bt_\be_\br under several names
+       (e.g., "rapid") and give appropriate switches in the  pro-
+       file  entries  under  these names (e.g., "rapid: -rapid").
+       This facilitates invoking prompter differently for differ-
+       ent _\bM_\bH commands (e.g., "forw: -editor rapid").
+
+
+
+[mh.6]                        MH.6.8                            2
+
+
+
+
+
+
+
+
+PROMPTER(1)            BSD Reference Manual           PROMPTER(1)
+
+
+B\bBU\bUG\bGS\bS
+       _\bP_\br_\bo_\bm_\bp_\bt_\be_\br uses _\bs_\bt_\bd_\bi_\bo (3), so it will lose if you edit files
+       with nulls in them.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[mh.6]                        MH.6.8                            3
+
+
+
+
+
diff --git a/usr/src/contrib/mh-6.8.3a/doc/rcvstore.man b/usr/src/contrib/mh-6.8.3a/doc/rcvstore.man
new file mode 100644 (file)
index 0000000..77e727f
--- /dev/null
@@ -0,0 +1,132 @@
+
+
+
+RCVSTORE(1)            BSD Reference Manual           RCVSTORE(1)
+
+
+N\bNA\bAM\bME\bE
+       rcvstore - incorporate new mail asynchronously
+
+S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
+       /usr/contrib/mh-6.8/lib/rcvstore    [+folder]    [-create]
+            [-nocreate]      [-sequence name ...]       [-public]
+            [-nopublic] [-zero] [-nozero] [-help]
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+       _\bR_\bc_\bv_\bs_\bt_\bo_\br_\be  incorporates  a  message from the standard input
+       into an _\bM_\bH folder.  If `+folder' isn't specified, a folder
+       in the user's _\bM_\bH directory will be used, either that spec-
+       ified by the "Inbox:" entry in the user's profile, or  the
+       folder  named "inbox".  The new message being incorporated
+       is assigned the next highest number in the folder.  If the
+       specified  (or default) folder doesn't exist, then it will
+       be created if the `-create' option is specified, otherwise
+       _\br_\bc_\bv_\bs_\bt_\bo_\br_\be will exit.
+
+       If the user's profile contains a "Msg-Protect: nnn" entry,
+       it will be used as the protection  on  the  newly  created
+       messages,  otherwise  the _\bM_\bH default of 0644 will be used.
+       During all operations on messages, this initially assigned
+       protection will be preserved for each message, so _\bc_\bh_\bm_\bo_\bd(1)
+       may be used to set a protection on an individual  message,
+       and its protection will be preserved thereafter.
+
+       _\bR_\bc_\bv_\bs_\bt_\bo_\br_\be will incorporate anything except zero length mes-
+       sages into the user's MH folder.
+
+       If the profile  entry  "Unseen-Sequence"  is  present  and
+       non-empty,  then  _\br_\bc_\bv_\bs_\bt_\bo_\br_\be will add the newly incorporated
+       message to each sequence named by the profile entry.  This
+       is  similar  to the "Previous-Sequence" profile entry sup-
+       ported by all _\bM_\bH commands which take `msgs' or `msg' argu-
+       ments.   Note  that  _\br_\bc_\bv_\bs_\bt_\bo_\br_\be  will not zero each sequence
+       prior to adding messages.
+
+       Furthermore, the incoming messages may be added  to  user-
+       defined sequences as they arrive by appropriate use of the
+       `-sequence' option.  As with _\bp_\bi_\bc_\bk, use of the `-zero'  and
+       `-nozero'  switches can also be used to zero old sequences
+       or not.  Similarly, use of the  `-public'  and  `-nopublic
+       switches may be used to force additions to public and pri-
+       vate sequences.
+
+F\bFI\bIL\bLE\bES\bS
+       $HOME/.mh_profile                         The user profile
+
+P\bPR\bRO\bOF\bFI\bIL\bLE\bE C\bCO\bOM\bMP\bPO\bON\bNE\bEN\bNT\bTS\bS
+       Path:                To determine the user's MH directory
+
+
+
+[mh.6]                        MH.6.8                            1
+
+
+
+
+
+
+
+
+RCVSTORE(1)            BSD Reference Manual           RCVSTORE(1)
+
+
+       Folder-Protect:      To set mode when creating a new folder
+       Inbox:               To find the default inbox
+       Msg-Protect:         To set mode when creating a new message
+       Unseen-Sequence:     To name sequences denoting unseen messages
+
+S\bSE\bEE\bE A\bAL\bLS\bSO\bO
+       inc(1), pick(1), mh-mail(5)
+
+D\bDE\bEF\bFA\bAU\bUL\bLT\bTS\bS
+       `+folder' defaults to "inbox"
+       `-create'
+       `-nopublic' if the folder is read-only, `-public' otherwise
+       `-nozero'
+
+C\bCO\bON\bNT\bTE\bEX\bXT\bT
+       No context changes will be attempted, with  the  exception
+       of sequence manipulation.
+
+B\bBU\bUG\bGS\bS
+       If  you  use the "Unseen-Sequence" profile entry, _\br_\bc_\bv_\bs_\bt_\bo_\br_\be
+       could try to update the context while another  _\bM_\bH  process
+       is  also  trying  to do so.  This can cause the context to
+       become corrupted.  To avoid this, do not use  _\br_\bc_\bv_\bs_\bt_\bo_\br_\be  if
+       you use the "Unseen-Sequence" profile entry.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[mh.6]                        MH.6.8                            2
+
+
+
+
+
diff --git a/usr/src/contrib/mh-6.8.3a/doc/refile.man b/usr/src/contrib/mh-6.8.3a/doc/refile.man
new file mode 100644 (file)
index 0000000..400fac8
--- /dev/null
@@ -0,0 +1,132 @@
+
+
+
+REFILE(1)              BSD Reference Manual             REFILE(1)
+
+
+N\bNA\bAM\bME\bE
+       refile - file message in other folders
+
+S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
+       refile   [msgs]  [-draft]  [-link]  [-nolink]  [-preserve]
+            [-nopreserve] [-src +folder]  [-file file]  [-rmmproc
+            program] [-normmproc] +folder ...  [-help]
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+       _\bR_\be_\bf_\bi_\bl_\be  moves  (_\bm_\bv (1))  or links (_\bl_\bn (1)) messages from a
+       source folder into one or more  destination  folders.   If
+       you think of a message as a sheet of paper, this operation
+       is not unlike filing the sheet of  paper  (or  copies)  in
+       file  cabinet  folders.   When  a  message is filed, it is
+       linked into the destination folder(s) if possible, and  is
+       copied  otherwise.  As long as the destination folders are
+       all on the same file system, multiple filing causes little
+       storage  overhead.   This  facility provides a good way to
+       cross-file or multiply-index messages.  For example, if  a
+       message is received from Jones about the ARPA Map Project,
+       the command
+
+            refile cur +jones +Map
+
+       would allow the message to be found in either of  the  two
+       folders `jones' or `Map'.
+
+       The  option  `-file file' directs _\br_\be_\bf_\bi_\bl_\be to use the speci-
+       fied file as the source message to be filed, rather than a
+       message  from  a  folder.   Note that the file should be a
+       validly formatted message, just like any other _\bM_\bH message.
+       It should N\bNO\bOT\bT be in mail drop format (to convert a file in
+       mail drop format to a folder of _\bM_\bH messages, see _\bi_\bn_\bc (1)).
+
+       If  a destination folder doesn't exist, _\br_\be_\bf_\bi_\bl_\be will ask if
+       you want to create it.  A negative response will abort the
+       file operation.  If the standard input for _\br_\be_\bf_\bi_\bl_\be is _\bn_\bo_\bt a
+       tty, then _\br_\be_\bf_\bi_\bl_\be will not ask any questions and will  pro-
+       ceed as if the user answered "yes" to all questions.
+
+       The option `-link' preserves the source folder copy of the
+       message (i.e., it does  a  _\bl_\bn(1)  rather  than  a  _\bm_\bv(1)),
+       whereas,  `-nolink'  deletes  the  filed messages from the
+       source folder.  Normally, when a message is filed,  it  is
+       assigned  the next highest number available in each of the
+       destination folders.  Use of the `-preserve'  switch  will
+       override  this  message  renaming,  but name conflicts may
+       occur, so use this switch cautiously.
+
+       If `-link' is not specified (or `-nolink'  is  specified),
+       the filed messages will be removed from the source folder,
+
+
+
+[mh.6]                        MH.6.8                            1
+
+
+
+
+
+
+
+
+REFILE(1)              BSD Reference Manual             REFILE(1)
+
+
+       by renaming them with a site-dependent prefix  (usually  a
+       comma).
+
+       If the user has a profile component such as
+
+            rmmproc:  /bin/rm
+
+       then  _\br_\be_\bf_\bi_\bl_\be will instead call the named program to delete
+       the message files.  The user may  specify  `-rmmproc  pro-
+       gram'  on the command line to override this profile speci-
+       fication.  The  `-normmproc'  option  forces  the  message
+       files to be deleted by renaming them as described above.
+
+       The   `-draft'   switch   tells   _\br_\be_\bf_\bi_\bl_\be   to   file   the
+       <mh-dir>/draft.
+
+F\bFI\bIL\bLE\bES\bS
+       $HOME/.mh_profile                         The user profile
+
+P\bPR\bRO\bOF\bFI\bIL\bLE\bE C\bCO\bOM\bMP\bPO\bON\bNE\bEN\bNT\bTS\bS
+       Path:                To determine the user's MH directory
+       Current-Folder:      To find the default current folder
+       Folder-Protect:      To set mode when creating a new folder
+       rmmproc:             Program to delete the message
+
+S\bSE\bEE\bE A\bAL\bLS\bSO\bO
+       folder(1)
+
+D\bDE\bEF\bFA\bAU\bUL\bLT\bTS\bS
+       `-src +folder' defaults to the current folder
+       `msgs' defaults to cur
+       `-nolink'
+       `-nopreserve'
+
+C\bCO\bON\bNT\bTE\bEX\bXT\bT
+       If `-src +folder' is given, it  will  become  the  current
+       folder.   If  neither  `-link' nor `all' is specified, the
+       current message in the source folder will be  set  to  the
+       last  message  specified;  otherwise,  the current message
+       won't be changed.
+
+       If the Previous-Sequence profile entry is set, in addition
+       to  defining  the  named sequences from the source folder,
+       _\br_\be_\bf_\bi_\bl_\be will also define those sequences for  the  destina-
+       tion  folders.   See  _\bm_\bh_\b-_\bs_\be_\bq_\bu_\be_\bn_\bc_\be (5) for information con-
+       cerning the previous sequence.
+
+B\bBU\bUG\bGS\bS
+       Since _\br_\be_\bf_\bi_\bl_\be uses your _\br_\bm_\bm_\bp_\br_\bo_\bc to delete the message,  the
+       _\br_\bm_\bm_\bp_\br_\bo_\bc  must  N\bNO\bOT\bT call _\br_\be_\bf_\bi_\bl_\be without specifying `-normm-
+       proc', or you will create an infinte loop.
+
+
+
+[mh.6]                        MH.6.8                            2
+
+
+
+
+
diff --git a/usr/src/contrib/mh-6.8.3a/doc/repl.man b/usr/src/contrib/mh-6.8.3a/doc/repl.man
new file mode 100644 (file)
index 0000000..8ba28fe
--- /dev/null
@@ -0,0 +1,264 @@
+
+
+
+REPL(1)                BSD Reference Manual               REPL(1)
+
+
+N\bNA\bAM\bME\bE
+       repl - reply to a message
+
+S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
+       repl    [+folder]    [msg]    [-annotate]    [-noannotate]
+            [-cc all/to/cc/me]               [-nocc all/to/cc/me]
+            [-draftfolder +folder]            [-draftmessage msg]
+            [-nodraftfolder]      [-editor editor]      [-noedit]
+            [-fcc +folder]  [-filter filterfile] [-form formfile]
+            [-inplace]    [-noinplace]    [-query]     [-noquery]
+            [-width columns]               [-whatnowproc program]
+            [-nowhatnowproc] [-help]
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+       _\bR_\be_\bp_\bl aids a user in producing a reply to an existing  mes-
+       sage.   _\bR_\be_\bp_\bl  uses  a  reply template to guide its actions
+       when constructing the message draft of the reply.  In  its
+       simplest  form  (with no arguments), it will set up a mes-
+       sage-form skeleton in reply to the current message in  the
+       current folder, and invoke the whatnow shell.  The default
+       reply template will direct _\br_\be_\bp_\bl to construct the  composed
+       message as follows:
+
+          To: <Reply-To> or <From>
+          cc: <cc>, <To>, and yourself
+          Subject: Re: <Subject>
+          In-reply-to: Your message of <Date>.
+                       <Message-Id>
+
+     where  field names enclosed in angle brackets (< >) indicate
+     the contents of the named field from the  message  to  which
+     the  reply is being made.  A reply template is simply a for-
+     mat file.  See _\bm_\bh_\b-_\bf_\bo_\br_\bm_\ba_\bt (5) for the details.
+
+     The `-cc type' switch takes an argument which specifies  who
+     gets  placed  on  the "cc:" list of the reply.  The `-query'
+     switch modifies the action of `-cc type' switch by  interac-
+     tively  asking  you  if  each address that normally would be
+     placed in the "To:" and "cc:" list should actually be sent a
+     copy.   (This  is useful for special-purpose replies.)  Note
+     that the position of the `-cc' and  `-nocc'  switches,  like
+     all  other switches which take a positive and negative form,
+     is important.
+
+     Lines beginning with the fields  "To:",  "cc:",  and  "Bcc:"
+     will  be  standardized and have duplicate addresses removed.
+     In addition, the `-width columns' switch will  guide  _\br_\be_\bp_\bl's
+     formatting of these fields.
+
+     If the file named "replcomps" exists in the user's MH direc-
+     tory, it will be used  instead  of  the  default  form.   In
+
+
+
+[mh.6]                        MH.6.8                            1
+
+
+
+
+
+
+
+
+REPL(1)                BSD Reference Manual               REPL(1)
+
+
+     either  case, the file specified by `-form formfile' will be
+     used if given.
+
+     If the draft already exists, _\br_\be_\bp_\bl will ask  you  as  to  the
+     disposition  of the draft.  A reply of q\bqu\bui\bit\bt will abort _\br_\be_\bp_\bl,
+     leaving the draft intact; r\bre\bep\bpl\bla\bac\bce\be will replace the  existing
+     draft  with  a  blank  skeleton;  and  l\bli\bis\bst\bt will display the
+     draft.
+
+     See  _\bc_\bo_\bm_\bp (1)  for  a  description  of  the  `-editor'   and
+     `-noedit' switches.  Note that while in the editor, the mes-
+     sage being replied to is available through a link named  "@"
+     (assuming  the  default  _\bw_\bh_\ba_\bt_\bn_\bo_\bw_\bp_\br_\bo_\bc ).   In  addition,  the
+     actual pathname of the message is stored in  the  envariable
+     $\b$e\bed\bdi\bit\bta\bal\blt\bt, and the pathname of the folder containing the mes-
+     sage is stored in the envariable $\b$m\bmh\bhf\bfo\bol\bld\bde\ber\br.
+
+     Although _\br_\be_\bp_\bl uses the `-form formfile' switch to direct  it
+     how   to   construct   the   beginning  of  the  draft,  the
+     `-filter filterfile' switch directs _\br_\be_\bp_\bl as to how the  mes-
+     sage being replied-to should be formatted in the body of the
+     draft.  If `-filter' is  not  specified,  then  the  message
+     being  replied-to  is not included in the body of the draft.
+     If `-filter filterfile' is specified, then the message being
+     replied-to  is filtered (re-formatted) prior to being output
+     to the body of the draft.  The filter file for  _\br_\be_\bp_\bl  should
+     be  a standard form file for _\bm_\bh_\bl, as _\br_\be_\bp_\bl will invoke _\bm_\bh_\bl to
+     format the message being replied-to.  There  is  no  default
+     message  filter (`-filter' must be followed by a file name).
+     A filter file that is commonly used is:
+
+          :
+          body:nocomponent,compwidth=9,offset=9
+
+     which says to output a blank line and then the body  of  the
+     message being replied-to, indented by one tab-stop.  Another
+     format popular on USENET is:
+
+
+          message-id:nocomponent,nonewline,\
+          formatfield="In message %{text}, "
+          from:nocomponent,formatfield="%(friendly{text}) writes:"
+          body:component=">",overflowtext=">",overflowoffset=0
+
+     Which cites the Message-ID and author of the  message  being
+     replied-to,  and then outputs each line of the body prefaced
+     with the ">" character.
+
+     If the  `-annotate'  switch  is  given,  the  message  being
+     replied-to will be annotated with the lines
+
+
+
+
+[mh.6]                        MH.6.8                            2
+
+
+
+
+
+
+
+
+REPL(1)                BSD Reference Manual               REPL(1)
+
+
+          Replied: date
+          Replied: addrs
+
+     where the address list contains one line for each addressee.
+     The annotation will be done only  if  the  message  is  sent
+     directly  from _\br_\be_\bp_\bl.  If the message is not sent immediately
+     from _\br_\be_\bp_\bl, "comp -use" may be used to re-edit and  send  the
+     constructed  message,  but the annotations won't take place.
+     The `-inplace' switch causes annotation to be done in  place
+     in order to preserve links to the annotated message.
+
+     The `-fcc +folder' switch can be used to automatically spec-
+     ify a folder to receive Fcc:s.  More than one  folder,  each
+     preceeded by `-fcc' can be named.
+
+     In addition to the standard _\bm_\bh_\b-_\bf_\bo_\br_\bm_\ba_\bt (5) escapes, _\br_\be_\bp_\bl also
+     recognizes the following additional _\bc_\bo_\bm_\bp_\bo_\bn_\be_\bn_\bt escape:
+
+     _\bE_\bs_\bc_\ba_\bp_\be  _\bR_\be_\bt_\bu_\br_\bn_\bs  _\bD_\be_\bs_\bc_\br_\bi_\bp_\bt_\bi_\bo_\bn
+     _\bf_\bc_\bc     string   Any folders specified with `-fcc folder'
+
+     To avoid reiteration, _\br_\be_\bp_\bl strips any leading `Re: ' strings
+     from the _\bs_\bu_\bb_\bj_\be_\bc_\bt component.
+
+     The  `-draftfolder +folder' and `-draftmessage msg' switches
+     invoke the _\bM_\bH draft folder facility.  This  is  an  advanced
+     (and  highly useful) feature.  Consult the A\bAd\bdv\bva\ban\bnc\bce\bed\bd F\bFe\bea\bat\btu\bur\bre\bes\bs
+     section of the _\bM_\bH manual for more information.
+
+     Upon exiting from the editor, _\br_\be_\bp_\bl will invoke  the  _\bw_\bh_\ba_\bt_\bn_\bo_\bw
+     program.   See  _\bw_\bh_\ba_\bt_\bn_\bo_\bw (1)  for  a  discussion of available
+     options.  The invocation of this program can be inhibited by
+     using the `-nowhatnowproc' switch.  (In truth of fact, it is
+     the _\bw_\bh_\ba_\bt_\bn_\bo_\bw program which starts the initial  edit.   Hence,
+     `-nowhatnowproc' will prevent any edit from occurring.)
+
+F\bFI\bIL\bLE\bES\bS
+       /usr/contrib/mh-6.8/lib/replcomps         The reply template
+       or <mh-dir>/replcomps                     Rather than the standard template
+       $HOME/.mh_profile                         The user profile
+       <mh-dir>/draft                            The draft file
+
+P\bPR\bRO\bOF\bFI\bIL\bLE\bE C\bCO\bOM\bMP\bPO\bON\bNE\bEN\bNT\bTS\bS
+       Path:                To determine the user's MH directory
+       Alternate-Mailboxes: To determine the user's mailboxes
+       Current-Folder:      To find the default current folder
+       Draft-Folder:        To find the default draft-folder
+       Editor:              To override the default editor
+       Msg-Protect:         To set mode when creating a new message (draft)
+       fileproc:            Program to refile the message
+       mhlproc:             Program to filter message being replied-to
+
+
+
+[mh.6]                        MH.6.8                            3
+
+
+
+
+
+
+
+
+REPL(1)                BSD Reference Manual               REPL(1)
+
+
+       whatnowproc:         Program to ask the "What now?" questions
+
+S\bSE\bEE\bE A\bAL\bLS\bSO\bO
+       comp(1),    dist(1),    forw(1),    send(1),   whatnow(1),
+       mh-format(5)
+
+D\bDE\bEF\bFA\bAU\bUL\bLT\bTS\bS
+       `+folder' defaults to the current folder
+       `msg' defaults to cur
+       `-nocc all' at ATHENA sites, `-cc all' otherwise
+       `-noannotate'
+       `-nodraftfolder'
+       `-noinplace'
+       `-noquery'
+       `-width 72'
+
+C\bCO\bON\bNT\bTE\bEX\bXT\bT
+       If a folder is given, it will become the  current  folder.
+       The message replied-to will become the current message.
+
+H\bHI\bIS\bST\bTO\bOR\bRY\bY
+       Prior  to  using  the format string mechanism, `-noformat'
+       used to cause address headers to be output as-is.  Now all
+       address  fields  are  formatted  using  Internet  standard
+       guidelines.
+
+B\bBU\bUG\bGS\bS
+       If any addresses occur in the reply template, addresses in
+       the  template  that  do  not  contain  hosts are defaulted
+       incorrectly.  Instead  of  using  the  localhost  for  the
+       default, _\br_\be_\bp_\bl uses the sender's host.  Moral of the story:
+       if you're going to include addresses in a reply  template,
+       include the host portion of the address.
+
+       The  `-width  columns'  switch is only used to do address-
+       folding; other headers are not line-wrapped.
+
+       If _\bw_\bh_\ba_\bt_\bn_\bo_\bw_\bp_\br_\bo_\bc is _\bw_\bh_\ba_\bt_\bn_\bo_\bw, then _\br_\be_\bp_\bl uses a built-in _\bw_\bh_\ba_\bt_\b-
+       _\bn_\bo_\bw, it does not actually run the _\bw_\bh_\ba_\bt_\bn_\bo_\bw program.  Hence,
+       if you define your own _\bw_\bh_\ba_\bt_\bn_\bo_\bw_\bp_\br_\bo_\bc, don't call it  _\bw_\bh_\ba_\bt_\bn_\bo_\bw
+       since _\br_\be_\bp_\bl won't run it.
+
+       If  your  current  working  directory is not writable, the
+       link named "@" is not available.
+
+
+
+
+
+
+
+
+
+
+[mh.6]                        MH.6.8                            4
+
+
+
+
+
diff --git a/usr/src/contrib/mh-6.8.3a/doc/rmf.man b/usr/src/contrib/mh-6.8.3a/doc/rmf.man
new file mode 100644 (file)
index 0000000..25c5668
--- /dev/null
@@ -0,0 +1,132 @@
+
+
+
+RMF(1)                 BSD Reference Manual                RMF(1)
+
+
+N\bNA\bAM\bME\bE
+       rmf - remove an MH folder
+
+S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
+       rmf [+folder] [-interactive] [-nointeractive] [-help]
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+       _\bR_\bm_\bf  removes all of the messages (files) within the speci-
+       fied (or default) folder,  and  then  removes  the  folder
+       (directory)  itself.   If  there  are any files within the
+       folder which are not a  part  of  _\bM_\bH,  they  will  _\bn_\bo_\bt  be
+       removed,  and an error will be produced.  If the folder is
+       given explicitly or the `-nointeractive' option is  given,
+       then  the  folder  will  be  removed without confirmation.
+       Otherwise, the user will be asked  for  confirmation.   If
+       _\br_\bm_\bf  can't  find  the current folder, for some reason, the
+       folder to be removed defaults to `+inbox' (unless overrid-
+       den by user's profile entry "Inbox") with confirmation.
+
+       _\bR_\bm_\bf  irreversibly  deletes  messages that don't have other
+       links, so use it with caution.
+
+       If the folder being removed is  a  subfolder,  the  parent
+       folder  will  become  the new current folder, and _\br_\bm_\bf will
+       produce a message telling  the  user  this  has  happened.
+       This  provides  an  easy  mechanism for selecting a set of
+       messages, operating on the list, then  removing  the  list
+       and  returning  to  the current folder from which the list
+       was extracted.
+
+       _\bR_\bm_\bf of a read-only folder will delete the private sequence
+       and  cur information (i.e., "atr-_\bs_\be_\bq-_\bf_\bo_\bl_\bd_\be_\br" entries) from
+       the profile without affecting the folder itself.
+
+F\bFI\bIL\bLE\bES\bS
+       $HOME/.mh_profile                         The user profile
+
+P\bPR\bRO\bOF\bFI\bIL\bLE\bE C\bCO\bOM\bMP\bPO\bON\bNE\bEN\bNT\bTS\bS
+       Path:                To determine the user's MH directory
+       Current-Folder:      To find the default current folder
+       Inbox:               To find the default inbox
+
+S\bSE\bEE\bE A\bAL\bLS\bSO\bO
+       rmm(1)
+
+D\bDE\bEF\bFA\bAU\bUL\bLT\bTS\bS
+       `+folder' defaults to the current folder, usually with confirmation
+       `-interactive' if +folder' not given, `-nointeractive' otherwise
+
+C\bCO\bON\bNT\bTE\bEX\bXT\bT
+       _\bR_\bm_\bf will set the current folder to the parent folder if  a
+
+
+
+[mh.6]                        MH.6.8                            1
+
+
+
+
+
+
+
+
+RMF(1)                 BSD Reference Manual                RMF(1)
+
+
+       subfolder is removed; or if the current folder is removed,
+       it will  make  "inbox"  current.   Otherwise,  it  doesn't
+       change the current folder or message.
+
+B\bBU\bUG\bGS\bS
+       Although  intuitively  one  would  suspect  that _\br_\bm_\bf works
+       recursively, it does not.  Hence if you have a  sub-folder
+       within  a  folder,  in  order  to _\br_\bm_\bf the parent, you must
+       first _\br_\bm_\bf each of the children.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[mh.6]                        MH.6.8                            2
+
+
+
+
+
diff --git a/usr/src/contrib/mh-6.8.3a/doc/rmm.man b/usr/src/contrib/mh-6.8.3a/doc/rmm.man
new file mode 100644 (file)
index 0000000..2731344
--- /dev/null
@@ -0,0 +1,132 @@
+
+
+
+RMM(1)                 BSD Reference Manual                RMM(1)
+
+
+N\bNA\bAM\bME\bE
+       rmm - remove messages
+
+S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
+       rmm [+folder] [msgs] [-help]
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+       _\bR_\bm_\bm removes the specified messages by renaming the message
+       files with preceding commas.  Many  sites  consider  files
+       that  start  with  a  comma  to be a temporary backup, and
+       arrange for _\bc_\br_\bo_\bn (8) to remove such files once a day.
+
+       If the user has a profile component such as
+
+            rmmproc:  /bin/rm
+
+       then instead of simply renaming the message file, _\br_\bm_\bm will
+       call  the  named program to delete the file.  Note that at
+       most installations, _\bc_\br_\bo_\bn (8) is told to remove files  that
+       begin with a comma once a night.
+
+       Some users of csh prefer the following:
+
+            alias rmm 'refile +d'
+
+       where folder +d is a folder for deleted messages, and
+
+            alias mexp 'rm `mhpath +d all`'
+
+       is used to "expunge" deleted messages.
+
+       The current message is not changed by _\br_\bm_\bm, so a _\bn_\be_\bx_\bt  will
+       advance to the next message in the folder as expected.
+
+F\bFI\bIL\bLE\bES\bS
+       $HOME/.mh_profile                         The user profile
+
+P\bPR\bRO\bOF\bFI\bIL\bLE\bE C\bCO\bOM\bMP\bPO\bON\bNE\bEN\bNT\bTS\bS
+       Path:                To determine the user's MH directory
+       Current-Folder:      To find the default current folder
+       rmmproc:             Program to delete the message
+
+S\bSE\bEE\bE A\bAL\bLS\bSO\bO
+       rmf(1)
+
+D\bDE\bEF\bFA\bAU\bUL\bLT\bTS\bS
+       `+folder' defaults to the current folder
+       `msgs' defaults to cur
+
+C\bCO\bON\bNT\bTE\bEX\bXT\bT
+       If a folder is given, it will become the current folder.
+
+
+
+[mh.6]                        MH.6.8                            1
+
+
+
+
+
+
+
+
+RMM(1)                 BSD Reference Manual                RMM(1)
+
+
+B\bBU\bUG\bGS\bS
+       Since _\br_\be_\bf_\bi_\bl_\be uses your _\br_\bm_\bm_\bp_\br_\bo_\bc to delete the message,  the
+       _\br_\bm_\bm_\bp_\br_\bo_\bc  must  N\bNO\bOT\bT call _\br_\be_\bf_\bi_\bl_\be without specifying `-normm-
+       proc', or you will create an infinte loop.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[mh.6]                        MH.6.8                            2
+
+
+
+
+
diff --git a/usr/src/contrib/mh-6.8.3a/doc/scan.man b/usr/src/contrib/mh-6.8.3a/doc/scan.man
new file mode 100644 (file)
index 0000000..3fa336a
--- /dev/null
@@ -0,0 +1,198 @@
+
+
+
+SCAN(1)                BSD Reference Manual               SCAN(1)
+
+
+N\bNA\bAM\bME\bE
+       scan - produce a one line per message scan listing
+
+S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
+       scan  [+folder]  [msgs] [-clear] [-noclear] [-form format-
+            file]    [-format string]    [-header]    [-noheader]
+            [-width columns] [-reverse] [-noreverse] [-file file-
+            name] [-help]
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+       _\bS_\bc_\ba_\bn produces a one-line-per-message listing of the speci-
+       fied messages.  Each _\bs_\bc_\ba_\bn line contains the message number
+       (name), the date, the "From:" field, the "Subject"  field,
+       and, if room allows, some of the body of the message.  For
+       example:
+
+            15+  7/ 5  Dcrocker  nned  Last week I asked some of
+            16 - 7/ 5  dcrocker  message id format  I recommend
+            18   7/ 6  Obrien    Re: Exit status from mkdir
+            19   7/ 7  Obrien    "scan" listing format in MH
+
+       The `+' on message 15 indicates that  it  is  the  current
+       message.  The `-' on message 16 indicates that it has been
+       replied to, as indicated by a  "Replied:"  component  pro-
+       duced by an `-annotate' switch to the _\br_\be_\bp_\bl command.
+
+       If  there  is  sufficient room left on the _\bs_\bc_\ba_\bn line after
+       the subject, the line will be filled with  text  from  the
+       body,  preceded by <<, and terminated by >> if the body is
+       sufficiently short.  _\bS_\bc_\ba_\bn actually reads each of the spec-
+       ified  messages  and  parses  them  to extract the desired
+       fields.  During parsing, appropriate error  messages  will
+       be  produced if there are format errors in any of the mes-
+       sages.
+
+       The `-header' switch produces a header line prior  to  the
+       _\bs_\bc_\ba_\bn  listing.   Currently, the name of the folder and the
+       current date and time are output (see the H\bHI\bIS\bST\bTO\bOR\bRY\bY  section
+       for more information).
+
+       If  the  `-clear'  switch  is  used  and  _\bs_\bc_\ba_\bn_\b'_\bs output is
+       directed to a terminal, then _\bs_\bc_\ba_\bn will consult  the  $\b$T\bTE\bER\bRM\bM
+       and  $\b$T\bTE\bER\bRM\bMC\bCA\bAP\bP  envariables to determine your terminal type
+       in order to find out how to  clear  the  screen  prior  to
+       exiting.  If the `-clear' switch is used and _\bs_\bc_\ba_\bn_\b'_\bs output
+       is not directed to a terminal (e.g., a pipe  or  a  file),
+       then _\bs_\bc_\ba_\bn will send a formfeed prior to exiting.
+
+       For example, the command:
+
+            (scan -clear -header; show all -show pr -f) | lpr
+
+
+
+[mh.6]                        MH.6.8                            1
+
+
+
+
+
+
+
+
+SCAN(1)                BSD Reference Manual               SCAN(1)
+
+
+       produces a scan listing of the current folder, followed by
+       a formfeed, followed by a formatted listing  of  all  mes-
+       sages in the folder, one per page.  Omitting `-show pr -f'
+       will cause the messages to be concatenated, separated by a
+       one-line header and two blank lines.
+
+       If  _\bs_\bc_\ba_\bn  encounters  a  message  without a "Date:" field,
+       rather than leaving  that  portion  of  the  scan  listing
+       blank,  the  date is filled-in with the last write date of
+       the message, and post-fixed with a `*'.  This is  particu-
+       larly handy for scanning a _\bd_\br_\ba_\bf_\bt _\bf_\bo_\bl_\bd_\be_\br, as message drafts
+       usually aren't allowed to have dates in them.
+
+       To  override  the  output  format  used   by   _\bs_\bc_\ba_\bn,   the
+       `-format string'  or `-form file' switches are used.  This
+       permits individual  fields  of  the  scan  listing  to  be
+       extracted with ease.  The string is simply a format string
+       and the file is simply a format file.   See  _\bm_\bh_\b-_\bf_\bo_\br_\bm_\ba_\bt (5)
+       for the details.
+
+       In  addition  to  the standard _\bm_\bh_\b-_\bf_\bo_\br_\bm_\ba_\bt (5) escapes, _\bs_\bc_\ba_\bn
+       also  recognizes  the   following   additional   _\bc_\bo_\bm_\bp_\bo_\bn_\be_\bn_\bt
+       escapes:
+
+       _\bE_\bs_\bc_\ba_\bp_\be    _\bR_\be_\bt_\bu_\br_\bn_\bs  _\bD_\be_\bs_\bc_\br_\bi_\bp_\bt_\bi_\bo_\bn
+       body      string   the (compressed) first part of the body
+       dtimenow  date     the current date
+       folder    string   the name of the current folder
+
+       Also,  if  no  date header was present in the message, the
+       _\bf_\bu_\bn_\bc_\bt_\bi_\bo_\bn escapes which operate on {_\bd_\ba_\bt_\be} will return  val-
+       ues  for the date of last modification of the message file
+       itself.
+
+       _\bs_\bc_\ba_\bn will update the _\bM_\bH  context  prior  to  starting  the
+       listing, so interrupting a long _\bs_\bc_\ba_\bn listing preserves the
+       new context.  _\bM_\bH purists hate this idea.
+
+F\bFI\bIL\bLE\bES\bS
+       $HOME/.mh_profile                         The user profile
+
+P\bPR\bRO\bOF\bFI\bIL\bLE\bE C\bCO\bOM\bMP\bPO\bON\bNE\bEN\bNT\bTS\bS
+       Path:                To determine the user's MH directory
+       Alternate-Mailboxes: To determine the user's mailboxes
+       Current-Folder:      To find the default current folder
+
+S\bSE\bEE\bE A\bAL\bLS\bSO\bO
+       inc(1), pick(1), show(1), mh-format(5)
+
+D\bDE\bEF\bFA\bAU\bUL\bLT\bTS\bS
+       `+folder' defaults to the folder current
+
+
+
+[mh.6]                        MH.6.8                            2
+
+
+
+
+
+
+
+
+SCAN(1)                BSD Reference Manual               SCAN(1)
+
+
+       `msgs' defaults to all
+       `-format' defaulted as described above
+       `-noheader'
+       `-width' defaulted to the width of the terminal
+
+C\bCO\bON\bNT\bTE\bEX\bXT\bT
+       If a folder is given, it will become the current folder.
+
+H\bHI\bIS\bST\bTO\bOR\bRY\bY
+       Prior to using the format string mechanism, `-header' used
+       to generate a heading saying what each column in the list-
+       ing was.  Format strings prevent this from happening.
+
+B\bBU\bUG\bGS\bS
+       The argument to the `-format' switch must  be  interpreted
+       as  a single token by the shell that invokes _\bs_\bc_\ba_\bn.  There-
+       fore, one must usually place the argument to  this  switch
+       inside double-quotes.
+       The  value  of each _\bc_\bo_\bm_\bp_\bo_\bn_\be_\bn_\bt escape is set by _\bs_\bc_\ba_\bn to the
+       contents of the first message header _\bs_\bc_\ba_\bn encounters  with
+       the  corresponding  component  name; any following headers
+       with the same component name are ignored.
+
+       The switch `-reverse', makes _\bs_\bc_\ba_\bn  list  the  messages  in
+       reverse order; this should be considered a bug.
+
+       The  `-file  filename'  switch allows the user to obtain a
+       _\bs_\bc_\ba_\bn listing of a maildrop  file  as  produced  by  _\bp_\ba_\bc_\bk_\bf.
+       This listing includes every message in the file.  The user
+       should use _\bm_\bs_\bh for more selective processing of the  file.
+       `-reverse' is ignored with this option.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[mh.6]                        MH.6.8                            3
+
+
+
+
+
diff --git a/usr/src/contrib/mh-6.8.3a/doc/send.man b/usr/src/contrib/mh-6.8.3a/doc/send.man
new file mode 100644 (file)
index 0000000..747005b
--- /dev/null
@@ -0,0 +1,264 @@
+
+
+
+SEND(1)                BSD Reference Manual               SEND(1)
+
+
+N\bNA\bAM\bME\bE
+       send - send a message
+
+S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
+       send  [-alias aliasfile]  [-draft]  [-draftfolder +folder]
+            [-draftmessage msg] [-nodraftfolder] [-filter filter-
+            file]  [-nofilter]  [-format]  [-noformat] [-forward]
+            [-noforward] [-mime]  [-nomime]  [-msgid]  [-nomsgid]
+            [-push]    [-nopush]    [-split seconds]   [-verbose]
+            [-noverbose]  [-watch]  [-nowatch]   [-width columns]
+            [file ...]  [-help]
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+       _\bS_\be_\bn_\bd  will  cause each of the specified files to be deliv-
+       ered (via _\bp_\bo_\bs_\bt (8)) to each of  the  destinations  in  the
+       "To:",  "cc:",  "Bcc:",  and "Fcc:" fields of the message.
+       If _\bs_\be_\bn_\bd is re-distributing  a  message,  as  invoked  from
+       _\bd_\bi_\bs_\bt, then the corresponding "Resent-xxx" fields are exam-
+       ined instead.
+
+       If `-push' is specified, _\bs_\be_\bn_\bd will detach itself from  the
+       user's terminal and perform its actions in the background.
+       If _\bp_\bu_\bs_\bh 'd and the draft can't be sent,  then  the  `-for-
+       ward'  switch says that draft should be forwarded with the
+       failure notice  sent  to  the  user.   This  differs  from
+       putting  _\bs_\be_\bn_\bd  in  the  background  because  the output is
+       trapped and analyzed by _\bM_\bH.
+
+       If `-verbose' is specified, _\bs_\be_\bn_\bd will indicate the  inter-
+       actions  occurring  with  the  transport  system, prior to
+       actual delivery.  If `-watch' is specified _\bs_\be_\bn_\bd will moni-
+       tor  the  delivery  of  local and network mail.  Hence, by
+       specifying both switches, a large  detail  of  information
+       can  be  gathered  about  each step of the message's entry
+       into the transport system.
+
+       The   `-draftfolder +folder'    and    `-draftmessage msg'
+       switches  invoke the _\bM_\bH draft folder facility.  This is an
+       advanced  (and  highly  useful)  feature.    Consult   the
+       A\bAd\bdv\bva\ban\bnc\bce\bed\bd F\bFe\bea\bat\btu\bur\bre\bes\bs section of the _\bM_\bH manual for more infor-
+       mation.
+
+       If `-split' is specified, _\bs_\be_\bn_\bd will split the  draft  into
+       one or more partial messages prior to sending.  This makes
+       use of the multi-media content feature in MH.   Note  how-
+       ever  that  if  _\bs_\be_\bn_\bd  is invoked under _\bd_\bi_\bs_\bt (1), then this
+       switch is ignored -- it makes no sense to  redistribute  a
+       message in this fashion.  Sometimes you want _\bs_\be_\bn_\bd to pause
+       after posting a partial message.  This is usually the case
+       when you are running _\bs_\be_\bn_\bd_\bm_\ba_\bi_\bl and expect to generate a lot
+       of partial messages.  The argument to  `-split'  tells  it
+
+
+
+[mh.6]                        MH.6.8                            1
+
+
+
+
+
+
+
+
+SEND(1)                BSD Reference Manual               SEND(1)
+
+
+       how long to pause between postings.
+
+       _\bS_\be_\bn_\bd with no _\bf_\bi_\bl_\be argument will query whether the draft is
+       the intended file, whereas  `-draft'  will  suppress  this
+       question.   Once  the  transport  system  has successfully
+       accepted custody of the message, the file will be  renamed
+       with  a  leading  comma,  which  allows it to be retrieved
+       until the next draft message is sent.  If there are errors
+       in  the  formatting of the message, _\bs_\be_\bn_\bd will abort with a
+       (hopefully) helpful error message.
+
+       If a "Bcc:" field is encountered, its  addresses  will  be
+       used  for  delivery,  and the "Bcc:" field will be removed
+       from the message sent to sighted  recipients.   The  blind
+       recipients  will  receive  an  entirely new message with a
+       minimal set of headers.  Included in the body of the  mes-
+       sage  will  be  a  copy of the message sent to the sighted
+       recipients.  If `-filter filterfile'  is  specified,  then
+       this  copy  is filtered (re-formatted) prior to being sent
+       to the blind recipients.  Otherwise, to use the MIME rules
+       for encapsulation, specify the `-mime' switch.
+
+       Prior    to    sending    the    message,    the    fields
+       "From: user@local", and "Date: now" will  be  appended  to
+       the  headers in the message.  If the envariable $\b$S\bSI\bIG\bGN\bNA\bAT\bTU\bUR\bRE\bE
+       is set, then its value is used as your personal name  when
+       constructing  the  "From:"  line  of the message.  If this
+       envariable is not set, then _\bs_\be_\bn_\bd will consult the  profile
+       entry "Signature" for this information.  On hosts where _\bM_\bH
+       was configured with the UCI option, if $\b$S\bSI\bIG\bGN\bNA\bAT\bTU\bUR\bRE\bE  is  not
+       set and the "Signature" profile entry is not present, then
+       the file $\b$H\bHO\bOM\bME\bE/.signature is consulted.   If  `-msgid'  is
+       specified,  then  a "Message-ID:" field will also be added
+       to the message.
+
+       If _\bs_\be_\bn_\bd is re-distributing  a  message  (when  invoked  by
+       _\bd_\bi_\bs_\bt ),  then "Resent-" will be prepended to each of these
+       fields: "From:", "Date:", and "Message-ID:".  If the  mes-
+       sage  already  contains  a  "From:" field, then a "Sender:
+       user@local" field will be  added  as  well.   (An  already
+       existing "Sender:" field is an error!)
+
+       By  using the `-format' switch, each of the entries in the
+       "To:" and "cc:" fields will be  replaced  with  "standard"
+       format  entries.   This  standard format is designed to be
+       usable by all of the message handlers on the various  sys-
+       tems  around  the Internet.  If `-noformat' is given, then
+       headers are output exactly as they appear in  the  message
+       draft.
+
+       If  an  "Fcc: folder"  is encountered, the message will be
+
+
+
+[mh.6]                        MH.6.8                            2
+
+
+
+
+
+
+
+
+SEND(1)                BSD Reference Manual               SEND(1)
+
+
+       copied to the specified folder for the sender in the  for-
+       mat  in  which  it will appear to any non-Bcc receivers of
+       the message.  That is, it will have  the  appended  fields
+       and field reformatting.  The "Fcc:" fields will be removed
+       from all outgoing copies of the message.
+
+       By using the `-width columns' switch, the user can  direct
+       _\bs_\be_\bn_\bd as to how long it should make header lines containing
+       addresses.
+
+       The files specified by the profile entry "Aliasfile:"  and
+       any additional alias files given by the `-alias aliasfile'
+       switch will be read (more than one file,  each   preceeded
+       by  `-alias',  can  be  named).  See _\bm_\bh_\b-_\ba_\bl_\bi_\ba_\bs (5) for more
+       information.
+
+F\bFI\bIL\bLE\bES\bS
+       $HOME/.mh_profile                         The user profile
+
+P\bPR\bRO\bOF\bFI\bIL\bLE\bE C\bCO\bOM\bMP\bPO\bON\bNE\bEN\bNT\bTS\bS
+       Path:                To determine the user's MH directory
+       Draft-Folder:        To find the default draft-folder
+       Aliasfile:           For a default alias file
+       Signature:           To determine the user's mail signature
+       mailproc:            Program to post failure notices
+       postproc:            Program to post the message
+
+S\bSE\bEE\bE A\bAL\bLS\bSO\bO
+       comp(1), dist(1), forw(1), repl(1), mh-alias(5), post(8)
+
+D\bDE\bEF\bFA\bAU\bUL\bLT\bTS\bS
+       `file' defaults to <mh-dir>/draft
+       `-alias /usr/contrib/mh-6.8/lib/MailAliases'
+       `-nodraftfolder'
+       `-nofilter'
+       `-format'
+       `-forward'
+       `-nomime'
+       `-nomsgid'
+       `-nopush'
+       `-noverbose'
+       `-nowatch'
+       `-width 72'
+
+C\bCO\bON\bNT\bTE\bEX\bXT\bT
+       None
+
+B\bBU\bUG\bGS\bS
+       Under some configurations, it is not possible  to  mointor
+       the  mail  delivery  transaction;  `-watch'  is a no-op on
+       those systems.
+
+
+
+[mh.6]                        MH.6.8                            3
+
+
+
+
+
+
+
+
+SEND(1)                BSD Reference Manual               SEND(1)
+
+
+       Using `-split 0' doesn't work correctly.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[mh.6]                        MH.6.8                            4
+
+
+
+
+
diff --git a/usr/src/contrib/mh-6.8.3a/doc/show.man b/usr/src/contrib/mh-6.8.3a/doc/show.man
new file mode 100644 (file)
index 0000000..a12a812
--- /dev/null
@@ -0,0 +1,198 @@
+
+
+
+SHOW(1)                BSD Reference Manual               SHOW(1)
+
+
+N\bNA\bAM\bME\bE
+       show - show (list) messages
+
+S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
+       show   [+folder]  [msgs]  [-draft]  [-header]  [-noheader]
+            [-showproc program] [-noshowproc] [switches for _\bs_\bh_\bo_\bw_\b-
+            _\bp_\br_\bo_\bc] [-help]
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+       _\bS_\bh_\bo_\bw  lists each of the specified messages to the standard
+       output (typically, the terminal).  Typically, the messages
+       are  listed  exactly as they are, with no reformatting.  A
+       program named by the _\bs_\bh_\bo_\bw_\bp_\br_\bo_\bc profile component is invoked
+       to do the listing, and any switches not recognized by _\bs_\bh_\bo_\bw
+       are passed along to that program.  The default program  is
+       known  as _\bm_\bo_\br_\be (1).  To override the default and the _\bs_\bh_\bo_\bw_\b-
+       _\bp_\br_\bo_\bc  profile  component,  use   the   `-showproc program'
+       switch.   For  example,  `-show pr'  will cause the _\bp_\br (1)
+       program to list the messages.  The _\bM_\bH command _\bm_\bh_\bl  can  be
+       used as a _\bs_\bh_\bo_\bw_\bp_\br_\bo_\bc to show messages in a more uniform for-
+       mat.  Normally, this program is specified as the  _\bs_\bh_\bo_\bw_\bp_\br_\bo_\bc
+       is  the  user's .mh_profile.  See _\bm_\bh_\bl (1) for the details.
+       If the `-noshowproc' option is  specified,  `/bin/cat'  is
+       used instead of _\bs_\bh_\bo_\bw_\bp_\br_\bo_\bc.
+
+       If  you  have messages with multi-media contents, the pro-
+       file entry _\bm_\bh_\bn_\bp_\br_\bo_\bc defines the name of a program to manip-
+       ulate  multi-media  messages.  (The _\bm_\bh_\bn (1) program, which
+       is suitable for this purpose, is  the  default.)   If  the
+       `-noshowproc'  option is NOT specified, and if one or more
+       named messages has a multi-media content, then the program
+       indicated by _\bm_\bh_\bn_\bp_\br_\bo_\bc will be run instead of _\bs_\bh_\bo_\bw_\bp_\br_\bo_\bc.  The
+       use of the _\bm_\bh_\bn_\bp_\br_\bo_\bc can also be disabled if the environment
+       variable  $\b$N\bNO\bOM\bMH\bHN\bNP\bPR\bRO\bOC\bC is set.  Note that the _\bm_\bh_\bn_\bp_\br_\bo_\bc may be
+       invoked even for textual contents, depending on the  char-
+       acter  set involved.  The environment variable $MM_CHARSET
+       should be set to the terminal's  character  set  to  avoid
+       gratuitous invocations of the _\bm_\bh_\bn_\bp_\br_\bo_\bc.
+
+       The  `-header'  switch  tells  _\bs_\bh_\bo_\bw  to display a one-line
+       description of the message being shown.  This  description
+       includes the folder and the message number.
+
+       If  no  `msgs' are specified, the current message is used.
+       If more than one message is specified,  _\bm_\bo_\br_\be  will  prompt
+       for  a  <RETURN> prior to listing each message.  _\bm_\bo_\br_\be will
+       list each message, a page at a time.  When the end of page
+       is reached, _\bm_\bo_\br_\be will ring the bell and wait for a <SPACE>
+       or <RETURN>.  If a <RETURN> is entered,  _\bm_\bo_\br_\be  will  print
+       the next line, whereas <SPACE> will print the next screen-
+       ful.  To exit _\bm_\bo_\br_\be, type "q".
+
+
+
+[mh.6]                        MH.6.8                            1
+
+
+
+
+
+
+
+
+SHOW(1)                BSD Reference Manual               SHOW(1)
+
+
+       If the standard output is not a terminal, no  queries  are
+       made,  and  each file is listed with a one-line header and
+       two lines of separation.
+
+       "show -draft" will list  the  file  <mh-dir>/draft  if  it
+       exists.
+
+       If  the  profile  entry  "Unseen-Sequence"  is present and
+       non-empty, then _\bs_\bh_\bo_\bw will  remove  each  of  the  messages
+       shown from each sequence named by the profile entry.  This
+       is similar to the "Previous-Sequence" profile  entry  sup-
+       ported by all _\bM_\bH commands which take `msgs' or `msg' argu-
+       ments.
+
+F\bFI\bIL\bLE\bES\bS
+       $HOME/.mh_profile                         The user profile
+
+P\bPR\bRO\bOF\bFI\bIL\bLE\bE C\bCO\bOM\bMP\bPO\bON\bNE\bEN\bNT\bTS\bS
+       Path:                To determine the user's MH directory
+       Current-Folder:      To find the default current folder
+       Unseen-Sequence:     To name sequences denoting unseen messages
+       showproc:            Program to show messages
+       mhnproc:             Program to show messages with multi-media content
+
+S\bSE\bEE\bE A\bAL\bLS\bSO\bO
+       mhl(1), more(1), next(1), pick(1), prev(1), scan(1)
+
+D\bDE\bEF\bFA\bAU\bUL\bLT\bTS\bS
+       `+folder' defaults to the current folder
+       `msgs' defaults to cur
+       `-header'
+
+C\bCO\bON\bNT\bTE\bEX\bXT\bT
+       If a folder is given, it will become the  current  folder.
+       The last message shown will become the current message.
+
+B\bBU\bUG\bGS\bS
+       The  `-header'  switch doesn't work when `msgs' expands to
+       more than one message.  If the _\bs_\bh_\bo_\bw_\bp_\br_\bo_\bc is  _\bm_\bh_\bl,  then  is
+       problem  can  be circumvented by referencing the "message-
+       name" field in the _\bm_\bh_\bl format file.
+
+       _\bS_\bh_\bo_\bw updates the user's context before  showing  the  mes-
+       sage.   Hence _\bs_\bh_\bo_\bw will mark messages as seen prior to the
+       user actually seeing them.  This is generally not a  prob-
+       lem, unless the user relies on the "unseen" messages mech-
+       anism, and interrupts _\bs_\bh_\bo_\bw while it  is  showing  "unseen"
+       messages.
+
+       If _\bs_\bh_\bo_\bw_\bp_\br_\bo_\bc is _\bm_\bh_\bl, then _\bs_\bh_\bo_\bw uses a built-in _\bm_\bh_\bl: it does
+       not actually run the _\bm_\bh_\bl program.  Hence,  if  you  define
+
+
+
+[mh.6]                        MH.6.8                            2
+
+
+
+
+
+
+
+
+SHOW(1)                BSD Reference Manual               SHOW(1)
+
+
+       your  own _\bs_\bh_\bo_\bw_\bp_\br_\bo_\bc, don't call it _\bm_\bh_\bl since _\bs_\bh_\bo_\bw won't run
+       it.
+
+       If _\bm_\bo_\br_\be (1) is your showproc  (the  default),  then  avoid
+       running _\bs_\bh_\bo_\bw in the background with only its standard out-
+       put piped to another process, as in
+
+            show | imprint &
+
+       Due to a bug in _\bm_\bo_\br_\be, show will  go  into  a  "tty  input"
+       state.  To avoid this problem, re-direct _\bs_\bh_\bo_\bw's diagnostic
+       output as well.  For users of _\bc_\bs_\bh:
+
+            show |& imprint &
+
+       For users of _\bs_\bh:
+
+            show 2>&1 | imprint &
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[mh.6]                        MH.6.8                            3
+
+
+
+
+
diff --git a/usr/src/contrib/mh-6.8.3a/doc/slocal.man b/usr/src/contrib/mh-6.8.3a/doc/slocal.man
new file mode 100644 (file)
index 0000000..975cde5
--- /dev/null
@@ -0,0 +1,396 @@
+
+
+
+SLOCAL(1)              BSD Reference Manual             SLOCAL(1)
+
+
+N\bNA\bAM\bME\bE
+       slocal - special local mail delivery
+
+S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
+       /usr/contrib/mh-6.8/lib/slocal [address info sender]
+            [-addr address] [-info data] [-sender sender]
+            [-user username] [-mailbox mbox] [-file file]
+            [-maildelivery deliveryfile] [-verbose] [-noverbose]
+            [-debug] [-help]
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+       _\bS_\bl_\bo_\bc_\ba_\bl is a program designed to allow  you  to  have  your
+       inbound  mail  processed  according  to  a  complex set of
+       selection criteria.  You do  not  normally  invoke  _\bs_\bl_\bo_\bc_\ba_\bl
+       yourself,  rather _\bs_\bl_\bo_\bc_\ba_\bl is invoked on your behalf by your
+       system's Message Transfer Agent.
+
+       The message selection criteria used by _\bs_\bl_\bo_\bc_\ba_\bl is specified
+       in  the  file  _\b._\bm_\ba_\bi_\bl_\bd_\be_\bl_\bi_\bv_\be_\br_\by in the user's home directory.
+       The format of this file is given below.
+
+       The message delivery address and message sender are deter-
+       mined  from  the  Message Transfer Agent envelope informa-
+       tion,  if  possible.   Under  _\bS_\be_\bn_\bd_\bM_\ba_\bi_\bl,  the  sender  will
+       obtained from the UUCP "From " line, if present.  The user
+       may override these values with command line arguments,  or
+       arguments to the `-addr' and `-sender' switches.
+
+       The message is normally read from the standard input.  The
+       `-file' switch sets the name of the file  from  which  the
+       message  should  be  read,  instead of reading stdin.  The
+       `-user' switch tells _\bs_\bl_\bo_\bc_\ba_\bl the name of the user for  whom
+       it is delivering mail.  The `-mailbox' switch tells _\bs_\bl_\bo_\bc_\ba_\bl
+       the name of the user's maildrop file.
+
+       The `-info' switch may be used to pass an arbitrary  argu-
+       ment  to  sub-processes  which  _\bs_\bl_\bo_\bc_\ba_\bl  may invoke on your
+       behalf.  The  `-verbose'  switch  causes  _\bs_\bl_\bo_\bc_\ba_\bl  to  give
+       information  on  stdout  about its progress.  The `-debug'
+       switch produces more verbose debugging output on stderr.
+
+
+   M\bMe\bes\bss\bsa\bag\bge\be T\bTr\bra\ban\bns\bsf\bfe\ber\br A\bAg\bge\ben\bnt\bts\bs
+       If your MTA is _\bS_\be_\bn_\bd_\bM_\ba_\bi_\bl, you should include the line
+
+                "| /usr/contrib/mh-6.8/lib/slocal -user username"
+
+       in your .forward file in your home directory.   This  will
+       cause _\bS_\be_\bn_\bd_\bM_\ba_\bi_\bl to invoke _\bs_\bl_\bo_\bc_\ba_\bl on your behalf.
+
+       If  your  MTA  is  _\bM_\bM_\bD_\bF_\b-_\bI,  you should (symbolically) link
+
+
+
+[mh.6]                        MH.6.8                            1
+
+
+
+
+
+
+
+
+SLOCAL(1)              BSD Reference Manual             SLOCAL(1)
+
+
+       /usr/contrib/mh-6.8/lib/slocal to the file bin/rcvmail  in
+       your  home  directory.   This  will cause _\bM_\bM_\bD_\bF_\b-_\bI to invoke
+       _\bs_\bl_\bo_\bc_\ba_\bl    on    your    behalf    with     the     correct
+       "_\ba_\bd_\bd_\br_\be_\bs_\bs _\bi_\bn_\bf_\bo _\bs_\be_\bn_\bd_\be_\br" arguments.
+
+       If  your  MTA  is _\bM_\bM_\bD_\bF_\b-_\bI_\bI, then you should not use _\bs_\bl_\bo_\bc_\ba_\bl.
+       An equivalent functionality is already provided  by  _\bM_\bM_\bD_\bF_\b-
+       _\bI_\bI; see maildelivery(5) for details.
+
+
+   T\bTh\bhe\be M\bMa\bai\bil\bld\bde\bel\bli\biv\bve\ber\bry\by F\bFi\bil\ble\be
+       The _\b._\bm_\ba_\bi_\bl_\bd_\be_\bl_\bi_\bv_\be_\br_\by file controls how local delivery is per-
+       formed.  Each line of this file consists of  five  fields,
+       separated  by  white-space  or comma.  Since double-quotes
+       are honored, these characters may be included in a  single
+       argument  by  enclosing  the  entire  argument  in double-
+       quotes.  A double-quote can be included  by  preceding  it
+       with  a  backslash.  Lines beginning with `#' are ignored.
+       The format of each line in the _\b._\bm_\ba_\bi_\bl_\bd_\be_\bl_\bi_\bv_\be_\br_\by file is:
+
+
+            h\bhe\bea\bad\bde\ber\br    p\bpa\bat\btt\bte\ber\brn\bn   a\bac\bct\bti\bio\bon\bn    r\bre\bes\bsu\bul\blt\bt    s\bst\btr\bri\bin\bng\bg
+
+       h\bhe\bea\bad\bde\ber\br:
+            The name of a header field that is to be searched for
+            a  pattern.   This is any field in the headers of the
+            message that might be present.  The following special
+            fields are also defined:
+
+            _\bs_\bo_\bu_\br_\bc_\be    the out-of-band sender information
+            _\ba_\bd_\bd_\br      the address that was used to cause delivery
+                      to the recipient
+            _\bd_\be_\bf_\ba_\bu_\bl_\bt   this matches _\bo_\bn_\bl_\by  if  the  message  hasn't
+                      been delivered yet
+            _\b*         this always matches
+
+       p\bpa\bat\btt\bte\ber\brn\bn:
+            The  sequence of characters to match in the specified
+            header field.  Matching is case-insensitive, but does
+            not use regular expressions.
+
+       a\bac\bct\bti\bio\bon\bn:
+            The action to take to deliver the message:
+
+            _\bd_\be_\bs_\bt_\br_\bo_\by   This action always succeeds.
+
+            _\bf_\bi_\bl_\be  or  > Append  the  message to the file named by
+                      s\bst\btr\bri\bin\bng\bg.  The message  is  appended  to  the
+                      file  in  the maildrop format which is used
+                      by your message transport system.   If  the
+                      message  can  be appended to the file, then
+
+
+
+[mh.6]                        MH.6.8                            2
+
+
+
+
+
+
+
+
+SLOCAL(1)              BSD Reference Manual             SLOCAL(1)
+
+
+                      this action succeeds.  When writing to  the
+                      file,  a  "Delivery-Date: date"  header  is
+                      added which indicates  the  date  and  time
+                      that message was appended to the file.
+
+            _\bm_\bb_\bo_\bx      Identical  to  _\bf_\bi_\bl_\be, but always appends the
+                      message using the format used by _\bp_\ba_\bc_\bk_\bf (the
+                      MMDF mailbox format).
+
+            _\bp_\bi_\bp_\be  or  | Pipe the message as the standard input to
+                      the command  named  by  s\bst\btr\bri\bin\bng\bg,  using  the
+                      Bourne shell _\bs_\bh(1) to interpret the string.
+                      Prior to giving the string to the shell, it
+                      is  expanded  with  the  following built-in
+                      variables:
+
+                      $(sender) the out-of-band  sender  informa-
+                                tion
+                      $(address)  the  address  that  was used to
+                                cause delivery to the recipient
+                      $(size)   the size of the message in bytes
+                      $(reply-to)  either  the   "Reply-To:"   or
+                                "From:" field of the message
+                      $(info)   the out-of-band information spec-
+                                ified
+            _\bq_\bp_\bi_\bp_\be or
+            _\b<_\bc_\ba_\br_\be_\bt_\b>   Similar to _\bp_\bi_\bp_\be, but executes  the  command
+                      directly,  after  built-in  variable expan-
+                      sion, without assistance  from  the  shell.
+                      This  action  can  be used to avoid quoting
+                      special characters which your  shell  might
+                      interpret.
+
+       r\bre\bes\bsu\bul\blt\bt:
+            Indicates how the action should be performed:
+
+            _\bA         Perform  the  action.   If  the action suc-
+                      ceeds,  then  the  message  is   considered
+                      delivered.
+
+            _\bR         Perform the action.  Regardless of the out-
+                      come of the action, the message is not con-
+                      sidered delivered.
+
+            _\b?         Perform  the action only if the message has
+                      not been delivered.   If  the  action  suc-
+                      ceeds,   then  the  message  is  considered
+                      delivered.
+
+            _\bN         Perform the action only if the message  has
+                      not  been delivered and the previous action
+
+
+
+[mh.6]                        MH.6.8                            3
+
+
+
+
+
+
+
+
+SLOCAL(1)              BSD Reference Manual             SLOCAL(1)
+
+
+                      succeeded.  If this action  succeeds,  then
+                      the message is considered delivered.
+
+       To summarize, here's an example:
+
+       #_\bf_\bi_\be_\bl_\bd   _\bp_\ba_\bt_\bt_\be_\br_\bn   _\ba_\bc_\bt_\bi_\bo_\bn  _\br_\be_\bs_\bu_\bl_\bt    _\bs_\bt_\br_\bi_\bn_\bg
+       # lines starting with a '#' are ignored, as are blank lines
+       #
+       # file mail with mmdf2 in the "To:" line into file mmdf2.log
+       _\bT_\bo       _\bm_\bm_\bd_\bf_\b2      _\bf_\bi_\bl_\be      _\bA      _\bm_\bm_\bd_\bf_\b2_\b._\bl_\bo_\bg
+       # Messages from mmdf pipe to the program err-message-archive
+       _\bF_\br_\bo_\bm     _\bm_\bm_\bd_\bf       _\bp_\bi_\bp_\be      _\bA      _\b/_\bb_\bi_\bn_\b/_\be_\br_\br_\b-_\bm_\be_\bs_\bs_\ba_\bg_\be_\b-_\ba_\br_\bc_\bh_\bi_\bv_\be
+       # Anything with the "Sender:" address "mh-workers"
+       # file in mh.log if not filed already
+       _\bS_\be_\bn_\bd_\be_\br   _\bm_\bh_\b-_\bw_\bo_\br_\bk_\be_\br_\bs _\bf_\bi_\bl_\be      _\b?      _\bm_\bh_\b._\bl_\bo_\bg
+       # "To:" unix - put in file unix-news
+       _\bT_\bo       _\bU_\bn_\bi_\bx         _\b>       _\bA      _\bu_\bn_\bi_\bx_\b-_\bn_\be_\bw_\bs
+       # if the address is jpo=ack - send an acknowledgement copy back
+       _\ba_\bd_\bd_\br     _\bj_\bp_\bo_\b=_\ba_\bc_\bk      |       _\bR      _\b"_\b/_\bb_\bi_\bn_\b/_\br_\be_\bs_\be_\bn_\bd _\b-_\br _\b$_\b(_\br_\be_\bp_\bl_\by_\b-_\bt_\bo_\b)_\b"
+       # anything from steve - destroy!
+       _\bF_\br_\bo_\bm     _\bs_\bt_\be_\bv_\be     _\bd_\be_\bs_\bt_\br_\bo_\by    _\bA      _\b-
+       # anything not matched yet - put into mailbox
+       _\bd_\be_\bf_\ba_\bu_\bl_\bt  _\b-            _\b>       _\b?      _\bm_\ba_\bi_\bl_\bb_\bo_\bx
+       # always run rcvtty
+       _\b*        _\b-            |       _\bR      _\b/_\bm_\bh_\b/_\bl_\bi_\bb_\b/_\br_\bc_\bv_\bt_\bt_\by
+
+       The  file  is  always  read  completely,  so  that several
+       matches can be made and several actions can be taken.  The
+       _\b._\bm_\ba_\bi_\bl_\bd_\be_\bl_\bi_\bv_\be_\br_\by  file must be owned either by the user or by
+       root, and must be writable only  by  the  owner.   If  the
+       _\b._\bm_\ba_\bi_\bl_\bd_\be_\bl_\bi_\bv_\be_\br_\by file cannot be found, or does not perform an
+       action  which  delivers  the  message,   then   the   file
+       /usr/contrib/mh-6.8/lib/maildelivery  is read according to
+       the same rules.  This file must be owned by the  root  and
+       must be writable only by the root.  If this file cannot be
+       found or does not perform an  action  which  delivers  the
+       message,  then standard delivery to the user's maildrop is
+       performed.
+
+
+   S\bSu\bub\bb-\b-p\bpr\bro\boc\bce\bes\bss\bs e\ben\bnv\bvi\bir\bro\bon\bnm\bme\ben\bnt\bt
+       When  a  process  is  invoked,  its  environment  is:  the
+       user/group-ids  are  set  to  recipient's ids; the working
+       directory is the recipient's home directory; the umask  is
+       0077;  the  process has no /dev/tty; the standard input is
+       set to the message; the  standard  output  and  diagnostic
+       output  are  set  to /dev/null; all other file-descriptors
+       are closed; the envariables $\b$U\bUS\bSE\bER\bR, $\b$H\bHO\bOM\bME\bE, $\b$S\bSH\bHE\bEL\bLL\bL  are  set
+       appropriately, and no other envariables exist.
+
+       The  process is given a certain amount of time to execute.
+
+
+
+[mh.6]                        MH.6.8                            4
+
+
+
+
+
+
+
+
+SLOCAL(1)              BSD Reference Manual             SLOCAL(1)
+
+
+       If the process does not exit within this limit,  the  pro-
+       cess  will  be  terminated  with  extreme  prejudice.  The
+       amount of time is calculated as ((size x 60) +  300)  sec-
+       onds, where size is the number of bytes in the message.
+
+       The exit status of the process is consulted in determining
+       the success of the action.  An exit status of  zero  means
+       that  the  action  succeeded.   Any  other exit status (or
+       abnormal termination) means that the action failed.
+
+       In order to avoid any time limitations, you  might  imple-
+       ment  a  process  that began by _\bf_\bo_\br_\bk_\bi_\bn_\bg.  The parent would
+       return the appropriate value immediately,  and  the  child
+       could continue on, doing whatever it wanted for as long as
+       it wanted.  This approach is somewhat risky if the  parent
+       is  going to return an exit status of zero.  If the parent
+       is going to return  a  non-zero  exit  status,  then  this
+       approach  can lead to quicker delivery into your maildrop.
+
+F\bFI\bIL\bLE\bES\bS
+       /usr/contrib/mh-6.8/lib/mtstailor         MH tailor file
+       $HOME/.maildelivery                       The file controlling local delivery
+       /usr/contrib/mh-6.8/lib/maildelivery      Rather than the standard file
+       /var/mail/$USER                           The default maildrop
+
+S\bSE\bEE\bE A\bAL\bLS\bSO\bO
+       rcvstore(1), mhook(1), mh-format(5)
+
+D\bDE\bEF\bFA\bAU\bUL\bLT\bTS\bS
+       `-noverbose'
+       `-maildelivery .maildelivery'
+       `-mailbox /var/mail/$USER'
+       `-file' defaults to stdin
+       `-user' defaults to the current user
+
+C\bCO\bON\bNT\bTE\bEX\bXT\bT
+       None
+
+H\bHI\bIS\bST\bTO\bOR\bRY\bY
+       _\bS_\bl_\bo_\bc_\ba_\bl is designed  to  be  backward-compatible  with  the
+       _\bm_\ba_\bi_\bl_\bd_\be_\bl_\bi_\bv_\be_\br_\by  facility  provided  by  _\bM_\bM_\bD_\bF_\b-_\bI_\bI.   Thus, the
+       _\b._\bm_\ba_\bi_\bl_\bd_\be_\bl_\bi_\bv_\be_\br_\by file syntax is limited, as is the  function-
+       ality of _\bs_\bl_\bo_\bc_\ba_\bl.
+
+       In  addition  to  an  exit status of zero, the _\bM_\bM_\bD_\bF values
+       _\bR_\bP_\b__\bM_\bO_\bK (32) and _\bR_\bP_\b__\bO_\bK (9) mean that the message  has  been
+       fully  delivered.  Any other non-zero exit status, includ-
+       ing abnormal termination, is interpreted as the _\bM_\bM_\bD_\bF value
+       _\bR_\bP_\b__\bM_\bE_\bC_\bH  (200),  which  means  "use  an  alternate  route"
+       (deliver the message to the maildrop).
+
+
+
+
+[mh.6]                        MH.6.8                            5
+
+
+
+
+
+
+
+
+SLOCAL(1)              BSD Reference Manual             SLOCAL(1)
+
+
+B\bBU\bUG\bGS\bS
+       Only two return codes are meaningful, others should be.
+
+       _\bS_\bl_\bo_\bc_\ba_\bl is designed to  be  backwards-compatible  with  the
+       _\bm_\ba_\bi_\bl_\bd_\be_\bl_\bi_\bv_\be_\br_\by functionality provided by M\bMM\bMD\bDF\bF-\b-I\bII\bI.
+
+       Versions  of  _\bM_\bM_\bD_\bF  with the _\bm_\ba_\bi_\bl_\bd_\be_\bl_\bi_\bv_\be_\br_\by mechanism aren't
+       entirely backwards-compatible  with  earlier  versions  of
+       _\bM_\bM_\bD_\bF.   If you have an _\bM_\bM_\bD_\bF_\b-_\bI old-style hook, the best you
+       can do is to have a one-line _\b._\bm_\ba_\bi_\bl_\bd_\be_\bl_\bi_\bv_\be_\br_\by file:
+
+            default -  pipe  A  "bin/rcvmail  $(address)  $(info)
+       $(sender)"
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[mh.6]                        MH.6.8                            6
+
+
+
+
+
diff --git a/usr/src/contrib/mh-6.8.3a/doc/sortm.man b/usr/src/contrib/mh-6.8.3a/doc/sortm.man
new file mode 100644 (file)
index 0000000..1d9da22
--- /dev/null
@@ -0,0 +1,132 @@
+
+
+
+SORTM(1)               BSD Reference Manual              SORTM(1)
+
+
+N\bNA\bAM\bME\bE
+       sortm - sort messages
+
+S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
+       sortm       [+folder]       [msgs]      [-datefield field]
+            [-textfield field]   [-notextfield]   [-limit   days]
+            [-nolimit] [-verbose] [-noverbose] [-help]
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+       _\bS_\bo_\br_\bt_\bm  sorts  the  specified  messages in the named folder
+       according to the chronological order of the "Date:"  field
+       of each message.
+
+       The  `-verbose'  switch directs _\bs_\bo_\br_\bt_\bm to tell the user the
+       general actions that it is taking to place the  folder  in
+       sorted order.
+
+       The  `-datefield field' switch tells _\bs_\bo_\br_\bt_\bm the name of the
+       field to use when making the date comparison.  If the user
+       has  a special field in each message, such as "BB-Posted:"
+       or "Delivery-Date:", then the `-datefield' switch  can  be
+       used to direct _\bs_\bo_\br_\bt_\bm which field to examine.
+
+       The  `-textfield field'  switch  causes _\bs_\bo_\br_\bt_\bm to sort mes-
+       sages by the specified text field.  If this field is "sub-
+       ject",  any  leading  "re:" is stripped off.  In any case,
+       all characters except letters and numbers are stripped and
+       the   resulting   strings   are   sorted  datefield-major,
+       textfield-minor, using a case insensitive comparison.
+
+       With `-textfield field', if  `-limit days'  is  specified,
+       messages  with  similar  textfields  that are dated within
+       `days'  of  each  other   appear   together.    Specifying
+       `-nolimit' makes the limit infinity.  With `-limit 0', the
+       sort is instead made textfield-major, date-minor.
+
+       For example, to order a  folder  by  date-major,  subject-
+       minor, use:
+
+            sortm -textfield subject +folder
+
+
+F\bFI\bIL\bLE\bES\bS
+       $HOME/.mh_profile                         The user profile
+
+P\bPR\bRO\bOF\bFI\bIL\bLE\bE C\bCO\bOM\bMP\bPO\bON\bNE\bEN\bNT\bTS\bS
+       Path:                To determine the user's MH directory
+       Current-Folder:      To find the default current folder
+
+S\bSE\bEE\bE A\bAL\bLS\bSO\bO
+       folder (1)
+
+
+
+[mh.6]                        MH.6.8                            1
+
+
+
+
+
+
+
+
+SORTM(1)               BSD Reference Manual              SORTM(1)
+
+
+D\bDE\bEF\bFA\bAU\bUL\bLT\bTS\bS
+       `+folder' defaults to the current folder
+       `msgs' defaults to all
+       `-datefield date'
+       `-notextfield'
+       `-noverbose'
+       `-nolimit'
+
+C\bCO\bON\bNT\bTE\bEX\bXT\bT
+       If  a  folder is given, it will become the current folder.
+       If the current message is moved, _\bs_\bo_\br_\bt_\bm will  preserve  its
+       status as current.
+
+H\bHI\bIS\bST\bTO\bOR\bRY\bY
+       Timezones  used  to  be ignored when comparing dates: they
+       aren't any more.
+
+       Messages which were in the folder, but  not  specified  by
+       `msgs',  used  to  be  moved to the end of the folder; now
+       such messages are left untouched.
+
+       _\bS_\bo_\br_\bt_\bm sometimes did not preserve the message numbering  in
+       a  folder  (e.g.,  messages  1,  3, and 5, might have been
+       renumbered to 1, 2, 3 after sorting).  This was a bug, and
+       has  been  fixed.   To compress the message numbering in a
+       folder, use "_\bf_\bo_\bl_\bd_\be_\br _\b-_\bp_\ba_\bc_\bk" as always.
+
+B\bBU\bUG\bGS\bS
+       If _\bs_\bo_\br_\bt_\bm encounters a message without a date-field, or  if
+       the message has a date-field that _\bs_\bo_\br_\bt_\bm cannot parse, then
+       _\bs_\bo_\br_\bt_\bm attempts to keep the message in  the  same  relative
+       position.   This  does  not always work.  For instance, if
+       the first message encountered lacks a date  which  can  be
+       parsed,  then  it will usually be placed at the end of the
+       messages being sorted.
+
+       When _\bs_\bo_\br_\bt_\bm complains about a message which it can't tempo-
+       rally  order,  it complains about the message number _\bp_\br_\bi_\bo_\br
+       to sorting.  It should indicate what  the  message  number
+       will be _\ba_\bf_\bt_\be_\br sorting.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[mh.6]                        MH.6.8                            2
+
+
+
+
+
diff --git a/usr/src/contrib/mh-6.8.3a/doc/vmh.man b/usr/src/contrib/mh-6.8.3a/doc/vmh.man
new file mode 100644 (file)
index 0000000..dc2701c
--- /dev/null
@@ -0,0 +1,132 @@
+
+
+
+VMH(1)                 BSD Reference Manual                VMH(1)
+
+
+N\bNA\bAM\bME\bE
+       vmh - visual front-end to MH
+
+S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
+       vmh   [-prompt string]   [-vmhproc program]   [-novmhproc]
+            [switches for _\bv_\bm_\bh_\bp_\br_\bo_\bc] [-help]
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+       _\bv_\bm_\bh is a program which implements the server side  of  the
+       _\bM_\bH window management protocol and uses _\bc_\bu_\br_\bs_\be_\bs (3) routines
+       to maintain a split-screen interface to any program  which
+       implements  the  client side of the protocol.  This latter
+       program,  called  the  _\bv_\bm_\bh_\bp_\br_\bo_\bc,  is  specified  using  the
+       `-vmhproc program' switch.
+
+       The  upshot  of all this is that one can run _\bm_\bs_\bh on a dis-
+       play terminal and get a  nice  visual  interface.   To  do
+       this, for example, just add the line
+
+            mshproc: vmh
+
+       to  your  .mh_profile.   (This takes advantage of the fact
+       that _\bm_\bs_\bh is the default _\bv_\bm_\bh_\bp_\br_\bo_\bc for _\bv_\bm_\bh.)
+
+       In order to facilitate things, if the `-novmhproc'  switch
+       is  given,  and  _\bv_\bm_\bh can't run on the user's terminal, the
+       _\bv_\bm_\bh_\bp_\br_\bo_\bc is run directly without the window management pro-
+       tocol.
+
+       After  initializing the protocol, _\bv_\bm_\bh prompts the user for
+       a command to  be  given  to  the  client.   Usually,  this
+       results in output being sent to one or more windows.  If a
+       output to a window would cause it to scroll,  _\bv_\bm_\bh  prompts
+       the user for instructions, roughly permitting the capabil-
+       ities of _\bl_\be_\bs_\bs or _\bm_\bo_\br_\be (e.g., the ability to  scroll  back-
+       wards and forwards):
+
+            SPACE      advance to the next windowful
+            RETURN  *  advance to the next line
+            y       *  retreat to the previous line
+            d       *  advance to the next ten lines
+            u       *  retreat to the previous ten lines
+            g       *  go to an arbitrary line
+                       (preceed g with the line number)
+            G       *  go to the end of the window
+                       (if a line number is given, this acts like `g')
+            CTRL-L     refresh the entire screen
+            h          print a help message
+            q          abort the window
+
+       (A  `*'  indicates that a numeric prefix is meaningful for
+
+
+
+[mh.6]                        MH.6.8                            1
+
+
+
+
+
+
+
+
+VMH(1)                 BSD Reference Manual                VMH(1)
+
+
+       this command.)
+
+       Note that if a command resulted in more than one  window's
+       worth  of  information  being displayed, and you allow the
+       command which is generating information for the window  to
+       gracefully  finish (i.e., you don't use the `q' command to
+       abort information being sent to the window), then _\bv_\bm_\bh will
+       give  you  one  last change to peruse the window.  This is
+       useful for scrolling back and forth.  Just type  `q'  when
+       you're done.
+
+       To  abnormally  terminate  _\bv_\bm_\bh  (without  core  dump), use
+       <QUIT> (usually CTRL-\).   For  instance,  this  does  the
+       "right" thing with _\bb_\bb_\bc and _\bm_\bs_\bh.
+
+F\bFI\bIL\bLE\bES\bS
+       $HOME/.mh_profile                         The user profile
+
+P\bPR\bRO\bOF\bFI\bIL\bLE\bE C\bCO\bOM\bMP\bPO\bON\bNE\bEN\bNT\bTS\bS
+       Path:                To determine the user's MH directory
+
+S\bSE\bEE\bE A\bAL\bLS\bSO\bO
+       msh(1)
+
+D\bDE\bEF\bFA\bAU\bUL\bLT\bTS\bS
+       `-prompt (vmh) '
+       `-vmhproc msh'
+
+C\bCO\bON\bNT\bTE\bEX\bXT\bT
+       None
+
+B\bBU\bUG\bGS\bS
+       The  argument  to the `-prompt' switch must be interpreted
+       as a single token by the shell that invokes  _\bv_\bm_\bh.   There-
+       fore,  one  must usually place the argument to this switch
+       inside double-quotes.
+
+       At present, there is no way to pass signals (e.g.,  inter-
+       rupt,  quit) to the client.  However, generating QUIT when
+       _\bv_\bm_\bh is reading a command from the terminal  is  sufficient
+       to tell the client to go away quickly.
+
+       Acts  strangely  (loses  peer or botches window management
+       protocol with peer) on random occasions.
+
+
+
+
+
+
+
+
+
+
+[mh.6]                        MH.6.8                            2
+
+
+
+
+
diff --git a/usr/src/contrib/mh-6.8.3a/doc/whatnow.man b/usr/src/contrib/mh-6.8.3a/doc/whatnow.man
new file mode 100644 (file)
index 0000000..5df1034
--- /dev/null
@@ -0,0 +1,198 @@
+
+
+
+WHATNOW(1)             BSD Reference Manual            WHATNOW(1)
+
+
+N\bNA\bAM\bME\bE
+       whatnow - prompting front-end for send
+
+S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
+       whatnow     [-draftfolder +folder]     [-draftmessage msg]
+            [-nodraftfolder]      [-editor editor]      [-noedit]
+            [-prompt string] [file] [-help]
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+       _\bW_\bh_\ba_\bt_\bn_\bo_\bw is the default program that queries the user about
+       the disposition of  a  composed  draft.   It  is  normally
+       invoked by one of _\bc_\bo_\bm_\bp, _\bd_\bi_\bs_\bt, _\bf_\bo_\br_\bw, or _\br_\be_\bp_\bl after the ini-
+       tial edit.
+
+       When started, the editor is started on the  draft  (unless
+       `-noedit' is given, in which case the initial edit is sup-
+       pressed).  Then, _\bw_\bh_\ba_\bt_\bn_\bo_\bw  repetitively  prompts  the  user
+       with  "What  now?"  and  awaits  a  response.   The  valid
+       responses are:
+
+     d\bdi\bis\bsp\bpl\bla\bay\by         to list the message being distributed/replied-to on
+                     the terminal
+     e\bed\bdi\bit\bt            to re-edit using the same editor that was used on the
+                     preceding round unless a profile entry
+                     "<lasteditor>-next: <editor>" names an alternate editor
+     e\bed\bdi\bit\bt <\b<e\bed\bdi\bit\bto\bor\br>\b>   to invoke <editor> for further editing
+     l\bli\bis\bst\bt            to list the draft on the terminal
+     p\bpu\bus\bsh\bh            to send the message in the background
+     q\bqu\bui\bit\bt            to terminate the session and preserve the draft
+     q\bqu\bui\bit\bt -\b-d\bde\bel\ble\bet\bte\be    to terminate, then delete the draft
+     r\bre\bef\bfi\bil\ble\be +\b+f\bfo\bol\bld\bde\ber\br  to refile the draft into the given folder
+     s\bse\ben\bnd\bd            to send the message
+     s\bse\ben\bnd\bd -\b-w\bwa\bat\btc\bch\bh     to cause the delivery process to be monitored
+     w\bwh\bho\bom\bm            to list the addresses that the message will go to
+     w\bwh\bho\bom\bm -\b-c\bch\bhe\bec\bck\bk     to list the addresses and verify that they are
+                     acceptable to the transport service
+
+     For the e\bed\bdi\bit\bt response, any valid switch  to  the  editor  is
+     valid.   Similarly,  for  the  s\bse\ben\bnd\bd  and w\bwh\bho\bom\bm responses, any
+     valid switch to  _\bs_\be_\bn_\bd (1)  and  _\bw_\bh_\bo_\bm (1)  commands,  respec-
+     tively,  are valid.  For the p\bpu\bus\bsh\bh response, any valid switch
+     to _\bs_\be_\bn_\bd (1) is valid (as this merely invokes _\bs_\be_\bn_\bd  with  the
+     `-push'  option).  For the _\br_\be_\bf_\bi_\bl_\be response, any valid switch
+     to  the  _\bf_\bi_\bl_\be_\bp_\br_\bo_\bc  is  valid.   For  the  d\bdi\bis\bsp\bpl\bla\bay\by  and  l\bli\bis\bst\bt
+     responses, any valid argument to the _\bl_\bp_\br_\bo_\bc is valid.  If any
+     non-switch arguments are present, then the pathname  of  the
+     draft  will  be excluded from the argument list given to the
+     _\bl_\bp_\br_\bo_\bc (this is useful for listing another _\bM_\bH message).
+
+     See _\bm_\bh_\b-_\bp_\br_\bo_\bf_\bi_\bl_\be (5) for further information about how editors
+     are  used  by MH.  It also discusses how complex envariables
+
+
+
+[mh.6]                        MH.6.8                            1
+
+
+
+
+
+
+
+
+WHATNOW(1)             BSD Reference Manual            WHATNOW(1)
+
+
+     can be used to direct _\bw_\bh_\ba_\bt_\bn_\bo_\bw's actions.
+
+     The `-prompt string' switch sets the  prompting  string  for
+     _\bw_\bh_\ba_\bt_\bn_\bo_\bw.
+
+     The  `-draftfolder +folder' and `-draftmessage msg' switches
+     invoke the _\bM_\bH draft folder facility.  This  is  an  advanced
+     (and  highly useful) feature.  Consult the A\bAd\bdv\bva\ban\bnc\bce\bed\bd F\bFe\bea\bat\btu\bur\bre\bes\bs
+     section of the _\bM_\bH manual for more information.
+
+F\bFI\bIL\bLE\bES\bS
+       $HOME/.mh_profile                         The user profile
+       <mh-dir>/draft                            The draft file
+
+P\bPR\bRO\bOF\bFI\bIL\bLE\bE C\bCO\bOM\bMP\bPO\bON\bNE\bEN\bNT\bTS\bS
+       Path:                To determine the user's MH directory
+       Draft-Folder:        To find the default draft-folder
+       Editor:              To override the default editor
+       <lasteditor>-next:   To name an editor to be used after exit from <lasteditor>
+       automhnproc:         Program to automatically run prior to sending
+                            if the draft is an _\bm_\bh_\bn composition file
+       fileproc:            Program to refile the message
+       lproc:               Program to list the contents of a message
+       sendproc:            Program to use to send the message
+       whomproc:            Program to determine who a message would go to
+
+S\bSE\bEE\bE A\bAL\bLS\bSO\bO
+       send(1), whom(1)
+
+D\bDE\bEF\bFA\bAU\bUL\bLT\bTS\bS
+       `-prompt "What Now? "'
+
+C\bCO\bON\bNT\bTE\bEX\bXT\bT
+       None
+
+B\bBU\bUG\bGS\bS
+       The argument to the `-prompt' switch must  be  interpreted
+       as  a  single  token  by  the  shell that invokes _\bw_\bh_\ba_\bt_\bn_\bo_\bw.
+       Therefore, one must usually place  the  argument  to  this
+       switch inside double-quotes.
+
+       If  the initial edit fails, _\bw_\bh_\ba_\bt_\bn_\bo_\bw deletes your draft (by
+       renaming it with a leading comma); failure of a later edit
+       preverves the draft.
+
+       If _\bw_\bh_\ba_\bt_\bn_\bo_\bw_\bp_\br_\bo_\bc is _\bw_\bh_\ba_\bt_\bn_\bo_\bw, then _\bc_\bo_\bm_\bp, _\bd_\bi_\bs_\bt, _\bf_\bo_\br_\bw, and _\br_\be_\bp_\bl
+       use a built-in _\bw_\bh_\ba_\bt_\bn_\bo_\bw, and do not actually run the  _\bw_\bh_\ba_\bt_\b-
+       _\bn_\bo_\bw  program.   Hence, if you define your own _\bw_\bh_\ba_\bt_\bn_\bo_\bw_\bp_\br_\bo_\bc,
+       don't call it _\bw_\bh_\ba_\bt_\bn_\bo_\bw since it won't be run.
+
+       If _\bs_\be_\bn_\bd_\bp_\br_\bo_\bc is _\bs_\be_\bn_\bd, then _\bw_\bh_\ba_\bt_\bn_\bo_\bw uses a built-in _\bs_\be_\bn_\bd, it
+
+
+
+[mh.6]                        MH.6.8                            2
+
+
+
+
+
+
+
+
+WHATNOW(1)             BSD Reference Manual            WHATNOW(1)
+
+
+       does  not  actually  run  the _\bs_\be_\bn_\bd program.  Hence, if you
+       define your own _\bs_\be_\bn_\bd_\bp_\br_\bo_\bc, don't call it _\bs_\be_\bn_\bd since _\bw_\bh_\ba_\bt_\bn_\bo_\bw
+       won't run it.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[mh.6]                        MH.6.8                            3
+
+
+
+
+
diff --git a/usr/src/contrib/mh-6.8.3a/doc/whom.man b/usr/src/contrib/mh-6.8.3a/doc/whom.man
new file mode 100644 (file)
index 0000000..51f7d20
--- /dev/null
@@ -0,0 +1,132 @@
+
+
+
+WHOM(1)                BSD Reference Manual               WHOM(1)
+
+
+N\bNA\bAM\bME\bE
+       whom - report to whom a message would go
+
+S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
+       whom   [-alias aliasfile]   [-check]  [-nocheck]  [-draft]
+            [-draftfolder +folder]            [-draftmessage msg]
+            [-nodraftfolder] [file] [-help]
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+       _\bW_\bh_\bo_\bm is used to expand the headers of a message into a set
+       of addresses and optionally verify  that  those  addresses
+       are deliverable at that time (if `-check' is given).
+
+       The    `-draftfolder +folder'    and   `-draftmessage msg'
+       switches invoke the _\bM_\bH draft folder facility.  This is  an
+       advanced   (and   highly  useful)  feature.   Consult  the
+       A\bAd\bdv\bva\ban\bnc\bce\bed\bd F\bFe\bea\bat\btu\bur\bre\bes\bs section of the _\bM_\bH manual for more infor-
+       mation.
+
+       The  files specified by the profile entry "Aliasfile:" and
+       any additional alias files given by the `-alias aliasfile'
+       switch  will  be read (more than one file, each  preceeded
+       by `-alias', can be named).   See  _\bm_\bh_\b-_\ba_\bl_\bi_\ba_\bs (5)  for  more
+       information.
+
+F\bFI\bIL\bLE\bES\bS
+       $HOME/.mh_profile                         The user profile
+
+P\bPR\bRO\bOF\bFI\bIL\bLE\bE C\bCO\bOM\bMP\bPO\bON\bNE\bEN\bNT\bTS\bS
+       Path:                To determine the user's MH directory
+       Draft-Folder:        To find the default draft-folder
+       Aliasfile:           For a default alias file
+       postproc:            Program to post the message
+
+S\bSE\bEE\bE A\bAL\bLS\bSO\bO
+       mh-alias(5), post(8)
+
+D\bDE\bEF\bFA\bAU\bUL\bLT\bTS\bS
+       `file' defaults to <mh-dir>/draft
+       `-nocheck'
+       `-alias /usr/contrib/mh-6.8/lib/MailAliases'
+
+C\bCO\bON\bNT\bTE\bEX\bXT\bT
+       None
+
+B\bBU\bUG\bGS\bS
+       With  the  `-check'  option, _\bw_\bh_\bo_\bm makes no guarantees that
+       the addresses listed as being ok are  really  deliverable,
+       rather,  an  address  being listed as ok means that at the
+       time that _\bw_\bh_\bo_\bm was run  the  address  was  thought  to  be
+       deliverable   by   the   transport   service.   For  local
+
+
+
+[mh.6]                        MH.6.8                            1
+
+
+
+
+
+
+
+
+WHOM(1)                BSD Reference Manual               WHOM(1)
+
+
+       addresses, this is absolute;  for  network  addresses,  it
+       means  that  the  host  is  known;  for uucp addresses, it
+       (often) means that the _\bU_\bU_\bC_\bP network is available for  use.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+[mh.6]                        MH.6.8                            2
+
+
+
+
+