22 years agoadded lint targets for Makefiles and a configure test to find whether lclint or lint...
Doug Morris [Wed, 31 May 2000 05:48:06 +0000 (05:48 +0000)]
added lint targets for Makefiles and a configure test to find whether lclint or lint is installed on the system.

22 years agoApplied Alec Wolman <>'s dropsbr.c patch:
Dan Harkless [Wed, 31 May 2000 02:27:40 +0000 (02:27 +0000)]
Applied Alec Wolman <>'s dropsbr.c patch:

  In the map_write routine, a call is made to map_open and this call is supposed
  to set the "clear" variable to 0 or 1, depending on whether the map file is
  empty or not.  In mh6.8.3, this worked because map_open would set "clear" by
  calling the mbx_Xopen routine.  In nmh, the code for mbx_Xopen was merged into
  mbx_open, but the interface for mbx_open doesn't support the clear variable,
  so that functionality was lost.  The map_open interface still contains "int
  *clear" in the prototype, but never sets it.

  My patch eliminates "clear" from the map_open interface (I checked to make
  sure that map_write is the only client of map_open).  Furthermore, my patch
  also sets the "clear" variable properly at the beginning of map_write by
  calling fstat().  This eliminates the bug in that the value of "clear" being
  used later in the routine was just stack garbage.

  Having a bad value of clear causes this next bug to be triggered: The fp file
  pointer was being opened with fdopen, but in two of the three switch cases it
  wasn't being closed.  In certain cases, this was causing packf to run out of
  file descriptors if you attempted to pack a large folder.

22 years agoA couple more tweaks to etc/
Dan Harkless [Wed, 31 May 2000 02:13:57 +0000 (02:13 +0000)]
A couple more tweaks to etc/

    Generated sendfiles script was not a dependency of the `all' target, and was
    incorrectly included in the distribution.

22 years agoINSTALL never documented the etc/*.old thing. Documented the new etc/*.prev
Dan Harkless [Wed, 31 May 2000 00:53:20 +0000 (00:53 +0000)]
INSTALL never documented the etc/*.old thing.  Documented the new etc/*.prev
thing (including a note to watch for diff output).

22 years agoReworded my last entry a bit.
Dan Harkless [Wed, 31 May 2000 00:28:14 +0000 (00:28 +0000)]
Reworded my last entry a bit.

22 years agoetc/ was incorrectly installing and --
Dan Harkless [Wed, 31 May 2000 00:22:05 +0000 (00:22 +0000)]
etc/ was incorrectly installing and --
fixed.  Changed the suffix for the backed-up previous versions of the etc files
from the ambiguous .old to .prev.  Use diff and only keep the .prev file around
if different.

22 years agoChangeLog: I think we should use a uniform style in this file. Reformatted
Dan Harkless [Tue, 30 May 2000 22:52:43 +0000 (22:52 +0000)]
ChangeLog:  I think we should use a uniform style in this file.  Reformatted
            Ruud's recent entries.

configure:  Weird.  There's some timestamp screwup somewhere, perhaps in the way
   is written, that caused autoconf to get run after I did
            a `cvs update'.  It regenerated configure, and apparently I'm using
            a different version of autoconf, with a different order of awk

22 years agoAdded entry for new lexing function and moving from zotnet/tws to sbr
Shantonu Sen [Mon, 29 May 2000 08:00:33 +0000 (08:00 +0000)]
Added entry for new lexing function and moving from zotnet/tws to sbr

22 years agoUpdating root-level files so that zotnet/tws/Makefile is not generated.
Shantonu Sen [Mon, 29 May 2000 07:48:14 +0000 (07:48 +0000)]
Updating root-level files so that zotnet/tws/Makefile is not generated.

22 years agoSynchronizing Makefiles that had gotten out of sync with directory
Shantonu Sen [Mon, 29 May 2000 07:44:51 +0000 (07:44 +0000)]
Synchronizing Makefiles that had gotten out of sync with directory

22 years agoUpdated sbr functions to include <h/tws.h> instead of <zotnet/tws/tws.h>.
Shantonu Sen [Mon, 29 May 2000 07:43:29 +0000 (07:43 +0000)]
Updated sbr functions to include <h/tws.h> instead of <zotnet/tws/tws.h>.
Also, update Makefile to include new functions dtime.c and dtimep.c

22 years agoUpdating user programs to use <h/tws> instead of <zotnet/tws/tws.h>
Shantonu Sen [Mon, 29 May 2000 07:35:32 +0000 (07:35 +0000)]
Updating user programs to use <h/tws> instead of <zotnet/tws/tws.h>

22 years agoMoved date/time functions from zotnet/tws to sbr. More importantly,
Shantonu Sen [Mon, 29 May 2000 07:29:08 +0000 (07:29 +0000)]
Moved date/time functions from zotnet/tws to sbr. More importantly,
wrote a new lexing function dparsetime (dtimep.lex) which
plays nicely with flex, needs no "sed hackery". It might work with
lex, but I haven't tried.

22 years ago* Added autoconf check for getutent().
Ruud de Rooij [Sun, 28 May 2000 16:17:49 +0000 (16:17 +0000)]
* Added autoconf check for getutent().
* Changed uip/rcvtty.c and uip/slocal.c to use getutent() and
  friends.  Since I can only check on Linux, please check if
  this works on other systems.

22 years agoAdded autoconf check for getutent().
Ruud de Rooij [Sun, 28 May 2000 16:15:58 +0000 (16:15 +0000)]
Added autoconf check for getutent().

22 years ago* Applied patch from Peter Maydell to uip/scansbr.c for more
Ruud de Rooij [Sun, 28 May 2000 14:42:01 +0000 (14:42 +0000)]
* Applied patch from Peter Maydell to uip/scansbr.c for more
  checks for write failures.
* Unlink temporary file properly in uip/rcvtty.c.
* Moved viamail from bindir to libdir.
* Changed sendfiles into, so that path to viamail
  is patched in.
* Added gzip support to sendfiles.
* Added References header to replcomps and replgroupcomps.

22 years agoFixed m_getfld bug which caused segmentation faults when
Ruud de Rooij [Sun, 28 May 2000 12:45:53 +0000 (12:45 +0000)]
Fixed m_getfld bug which caused segmentation faults when
incorporating messages which ended in multiple linefeeds crossing
a buffer boundary.

22 years agomsh has been unable to show MIME messages ever since 1.0. Alec Wolman
Dan Harkless [Fri, 26 May 2000 20:35:30 +0000 (20:35 +0000)]
msh has been unable to show MIME messages ever since 1.0.  Alec Wolman
<> tracked down the problem to the -show flag being
passed to mhshow.  mhshow is equivalent to the old mhn -show, so we don't need
the -show anymore.  Removed it.

22 years agoMoved zotnet/mf to sbr.
Shantonu Sen [Fri, 12 May 2000 05:19:14 +0000 (05:19 +0000)]
Moved zotnet/mf to sbr.

22 years agozotnet/bboards no longer built by default.
Shantonu Sen [Fri, 12 May 2000 04:16:46 +0000 (04:16 +0000)]
zotnet/bboards no longer built by default.

22 years agozotnet/bboards is no longer built by default.
Shantonu Sen [Fri, 12 May 2000 02:55:36 +0000 (02:55 +0000)]
zotnet/bboards is no longer built by default.

22 years agoRemoved zotnet/bboards from default build.
Shantonu Sen [Fri, 12 May 2000 02:51:21 +0000 (02:51 +0000)]
Removed zotnet/bboards from default build.

22 years agoChange to MACHINES to include what platforms nmh *does* compile on.
Shantonu Sen [Thu, 11 May 2000 02:55:11 +0000 (02:55 +0000)]
Change to MACHINES to include what platforms nmh *does* compile on.

22 years agoAdded on whish platforms nmh is known to compile, as polled from
Shantonu Sen [Thu, 11 May 2000 02:53:07 +0000 (02:53 +0000)]
Added on whish platforms nmh is known to compile, as polled from
recent mailings to nmh-workers. Please add liberally.

22 years agoEntered minor change to sbr/
Shantonu Sen [Thu, 11 May 2000 02:24:59 +0000 (02:24 +0000)]
Entered minor change to sbr/

22 years agoRemoved explicit definition of both SRCS *and* OBJS, and made OBJS simple
Shantonu Sen [Thu, 11 May 2000 02:21:34 +0000 (02:21 +0000)]
Removed explicit definition of both SRCS *and* OBJS, and made OBJS simple
a pattern substitution of SRCS, with suffix .c -> .o

22 years agoAdded my getpass() addition to ChangeLog (after the fact, but at least
Shantonu Sen [Thu, 11 May 2000 02:14:21 +0000 (02:14 +0000)]
Added my getpass() addition to ChangeLog (after the fact, but at least
it's in now).

22 years agoAdded mts.conf.5 page per Neil W Rickert <>'s report:
Dan Harkless [Wed, 10 May 2000 03:39:46 +0000 (03:39 +0000)]
Added mts.conf.5 page per Neil W Rickert <>'s report:

    This happens on solaris:

     % man mts.conf
     windex entry incorrect:  mts.conf(5) not found.
     No manual entry for mts.conf.

    It is fixed by

     % echo ".so man5/mh-tailor.5" > mts.conf.5

    done in the man5 directory.  We need to add 'mts.conf.5' as a reference
    sourcing mh-tailor.5.

22 years agoPrepended "Portions of this code are" to the copyright message in ruserpass.c
Dan Harkless [Wed, 10 May 2000 00:02:53 +0000 (00:02 +0000)]
Prepended "Portions of this code are" to the copyright message in ruserpass.c

22 years ago* Changed to use gcc -Wall even without --enable-debug, to prevent
Dan Harkless [Tue, 9 May 2000 21:44:15 +0000 (21:44 +0000)]
* Changed to use gcc -Wall even without --enable-debug, to prevent
  developers compiling optimized from introducing warnings, and to give
  end-users a warm, fuzzy feeling as they (hopefully) see no warnings come out
  (except perhaps on the lex output file) even with -Wall.

* Renamed getpass() to nmh_getpass() since the prototype for getpass() varies
  from OS to OS, and we want to _always_ use our version of the function.  Fixed
  all the callers to use nmh_getpass() and added it to prototypes.h.
  Semi-arbitrarily upped MAX_PASSWORD_LEN from 128 to 256.  buf was being
  calloc()'d and the memory leaked -- should have just been declared as static
  char array.  Prepended "Portions of this code are" to the copyright message,
  as this version has been changed significantly from the BSD version.

* Added "nmh-local functions to use in preference to OS versions" section to
  README.developers (currently just says to use nmh_getpass() instead of system

22 years agoOops. Forgot to commit this when I made configure changes yesterday.
Dan Harkless [Tue, 9 May 2000 19:56:57 +0000 (19:56 +0000)]
Oops.  Forgot to commit this when I made configure changes yesterday.

22 years agoAdded steps to README.developers saying to change the version number to
Dan Harkless [Tue, 9 May 2000 08:16:18 +0000 (08:16 +0000)]
Added steps to README.developers saying to change the version number to
X.Y.Z+dev.  Did a little rearranging and changed the FTP dir from /home/ftp to
/var/ftp to reflect Doug's new machine.

22 years agoGot rid of four warnings in Shantonu's new getpass.c. Needed to #include
Dan Harkless [Tue, 9 May 2000 07:55:58 +0000 (07:55 +0000)]
Got rid of four warnings in Shantonu's new getpass.c.  Needed to #include
<stdlib.h> for calloc(), <unistd.h> for ttyname(), and "h/mh.h" for adios().
Also changed ch from char to int to get rid of "comparison is always 1 due to
limited range of data type" on EOF.

22 years agoAlphabetized Shantonu's $pop_kinds output on configure's "pop is enabled" line.
Dan Harkless [Tue, 9 May 2000 07:13:59 +0000 (07:13 +0000)]
Alphabetized Shantonu's $pop_kinds output on configure's "pop is enabled" line.
If POP3 is the only kind of POP enabled, say so, rather than just saying "yes"
(which is ambiguous).

22 years agoShantonu updated the DIFFERENCES file to no longer say that APOP isn't
Dan Harkless [Tue, 9 May 2000 06:53:21 +0000 (06:53 +0000)]
Shantonu updated the DIFFERENCES file to no longer say that APOP isn't
supported, but in so doing, he removed the note that RPOP isn't supported.  Put
it back.

22 years ago* I had alphabetized the --configure options in the --help output
Dan Harkless [Tue, 9 May 2000 06:47:50 +0000 (06:47 +0000)]
* I had alphabetized the --configure options in the --help output
awhile back, but Shantonu added --enable-apop just under --enable-pop.  Put it
in alphabetical order and clarified what --enable-apop does vs. --enable-pop and
--with-krb4.  Also changed --with-mts help line from "mail transport agent" to
"mail transport agent/service" so the 's' in "mts" doesn't seem to come out of

* Added two steps to "releasing nmh" in README.developers.  After
making the tarball, it's a good idea to diff the tree vs. the CVS tree to make
sure no files got left out, and then to chown the files so that they're owned by
root, preventing a Trojaning attack by a malicious remote user with a UID
matching yours.

22 years agoUpdated POP capability to include APOP.
Shantonu Sen [Tue, 9 May 2000 06:27:38 +0000 (06:27 +0000)]
Updated POP capability to include APOP.

22 years agoRemoved unnecessary comments, such as "*This warning no longer applies*"
Shantonu Sen [Tue, 9 May 2000 06:16:52 +0000 (06:16 +0000)]
Removed unnecessary comments, such as "*This warning no longer applies*"

22 years agoFix some compile-time warnings.
Shantonu Sen [Tue, 9 May 2000 06:09:05 +0000 (06:09 +0000)]
Fix some compile-time warnings.

22 years agoDoug informed me that the way I had restored the "lost" version histories was
Dan Harkless [Tue, 9 May 2000 04:52:55 +0000 (04:52 +0000)]
Doug informed me that the way I had restored the "lost" version histories was
wrong, because `cvs checkout's of old versions of nmh wouldn't work properly.
It occurs to me that this could be fixed by simply deleting those tags in the
new-location *,v files, but oh well.  I'm putting everything back to the way
Doug originally had it.  To get the old version history for a file that used to
be in the top directory, you'll need to "blindly" do a `cvs log' there (even
though you won't have a local copy of the file in that directory).  `cvs diff'
will no longer be able to diff pre-move versions vs. post-move versions --
you'll have to do a lot of manual gyrations with `cvs checkout' and then use

22 years agoOkay, now that the old revisions have been recreated, deleting the file. The
Dan Harkless [Tue, 9 May 2000 04:08:55 +0000 (04:08 +0000)]
Okay, now that the old revisions have been recreated, deleting the file.  The
new version is in the 'docs' subdirectory.

22 years agoThis is the nmh-1.0.4 version from 2000-03-15 (I see that I was the one that nmh-1_0_4
Dan Harkless [Tue, 9 May 2000 04:07:15 +0000 (04:07 +0000)]
This is the nmh-1.0.4 version from 2000-03-15 (I see that I was the one that
originally made this change).

22 years agoThis is the nmh-1.0.3 version from 2000-01-18 (1.0.2 had no changes). nmh-1_0_3
Dan Harkless [Tue, 9 May 2000 04:05:46 +0000 (04:05 +0000)]
This is the nmh-1.0.3 version from 2000-01-18 (1.0.2 had no changes).

22 years agoThis is the nmh-1.0.1 version from 1999-05-17. nmh-1_0_2
Dan Harkless [Tue, 9 May 2000 04:03:55 +0000 (04:03 +0000)]
This is the nmh-1.0.1 version from 1999-05-17.

22 years agoFor reasons explained better elsewhere (e.g. Attic/README.developers), the nmh-1_0
Dan Harkless [Tue, 9 May 2000 03:58:04 +0000 (03:58 +0000)]
For reasons explained better elsewhere (e.g. Attic/README.developers), the
version history for this file got lost.  Recreating it.  This version is from
1998-05-08 -- it's the original nmh-1.0 version.

22 years agoAfter nmh 1.0.4, moved from top-level 'nmh' directory to 'nmh/docs'.
Dan Harkless [Tue, 9 May 2000 03:29:37 +0000 (03:29 +0000)]
After nmh 1.0.4, moved from top-level 'nmh' directory to 'nmh/docs'.

22 years agoOkay. Removing it now. New location is in 'docs' subdirectory.
Dan Harkless [Tue, 9 May 2000 03:27:53 +0000 (03:27 +0000)]
Okay.  Removing it now.  New location is in 'docs' subdirectory.

22 years agoIn the hullaballoo with moving stuff back and forth out of the docs/ directory,
Dan Harkless [Tue, 9 May 2000 03:25:24 +0000 (03:25 +0000)]
In the hullaballoo with moving stuff back and forth out of the docs/ directory,
and trying to figure out the right way to preserve the old version history, this
file's version history prior to the first move into docs/ got wiped.  I
introduced this file into the project after 1.0.3 was released, and was the only
one to modify it until after the 1.0.4 release.  The post-1.0.4 changes have
survived in docs/README.developers, so I just need to check in the 1.0.4 version
and tag it as such, then remove it again, to make a `cvs checkout' of nmh 1.0.4
work again.

22 years agoMan, I'm a retard. Lemme try that again:
Dan Harkless [Tue, 9 May 2000 03:18:50 +0000 (03:18 +0000)]
Man, I'm a retard.  Lemme try that again:

Just a silly note 'cause I'm vain -- below where it currently says:

    Someone ("ssen" -- looks like Doug forgot to update a chroot() passwd file

It originally said " u i d 6 0 0 0 4 " (or a different number), but minus the
spaces.  I guess after Doug added ssen into the chroot() passwd, he did a
search-and-replace for the UID, which changed my comment as well, making it look
like I had no way of determining who ssen was, which is silly.  ;^>

22 years agoJust a silly note 'cause I'm vain --
Dan Harkless [Tue, 9 May 2000 03:12:59 +0000 (03:12 +0000)]
Just a silly note 'cause I'm vain --

22 years agoAfter nmh 1.0.4, moved from top-level 'nmh' directory to 'nmh/docs'.
Dan Harkless [Tue, 9 May 2000 02:43:54 +0000 (02:43 +0000)]
After nmh 1.0.4, moved from top-level 'nmh' directory to 'nmh/docs'.

22 years agoAfter nmh 1.0.4, moved from top-level 'nmh' directory to 'nmh/docs'.
Dan Harkless [Tue, 9 May 2000 02:36:42 +0000 (02:36 +0000)]
After nmh 1.0.4, moved from top-level 'nmh' directory to 'nmh/docs'.

22 years agoUpdated pop instructions and indicated use of standard "./configure"
Shantonu Sen [Sun, 7 May 2000 06:59:15 +0000 (06:59 +0000)]
Updated pop instructions and indicated use of standard "./configure"
instead of "sh configure"

22 years agoAn nmh-specific getpass, to remove dependency on system
Shantonu Sen [Sun, 7 May 2000 06:16:43 +0000 (06:16 +0000)]
An nmh-specific getpass, to remove dependency on system
getpass()es, which may or may not do what we want (including
flushing input streams, and taking input from stdin in the
absence of a controlling tty).

22 years agoAdded getpass to SRCS and OBJS.
Shantonu Sen [Sun, 7 May 2000 06:14:31 +0000 (06:14 +0000)]
Added getpass to SRCS and OBJS.

22 years agoRemoved "installing nmh" section. Moved its note about the DIFFERENCES file up
Dan Harkless [Sat, 6 May 2000 15:53:40 +0000 (15:53 +0000)]
Removed "installing nmh" section.  Moved its note about the DIFFERENCES file up
next to the other MH discussion.  Changed out-of-date "README" title (should
have been "README.history") to "README.about -- about nmh".  After committing,
I'll rename the file to README.about inside the CVSROOT.

22 years agoRestored lost version histories for those moved files by doing a manual `mv' in
Dan Harkless [Sat, 6 May 2000 15:29:19 +0000 (15:29 +0000)]
Restored lost version histories for those moved files by doing a manual `mv' in
the CVSROOT on mhost.  CVS badly needs a `cvs mv' command so that you can move
files (without having physical access to the CVSROOT) without losing versioning.
Put MACHINES back at the top level as it needs to be read before building.
Fixed DIST variable in {.,docs}/ to reflect that and to add missing
entry for "INSTALL" file.

22 years agoFixed DIST targets to reflect that INSTALL and MACHINES are back at the top
Dan Harkless [Sat, 6 May 2000 15:05:02 +0000 (15:05 +0000)]
Fixed DIST targets to reflect that INSTALL and MACHINES are back at the top

22 years agoFiles that must be read before building nmh should not go in the docs
Dan Harkless [Sat, 6 May 2000 14:54:25 +0000 (14:54 +0000)]
Files that must be read before building nmh should not go in the docs
directory.  Moved this file back to the top level (and made a couple of
stylistic and grammar tweaks while I was at it).

22 years agoDeleting the versions Doug moved in with `cvs add', erasing the version history,
Dan Harkless [Sat, 6 May 2000 14:19:23 +0000 (14:19 +0000)]
Deleting the versions Doug moved in with `cvs add', erasing the version history,
in preparation for moving the original versions in the cvsroot.

22 years agoreorganized documentation to make it bit neater again
Doug Morris [Sat, 6 May 2000 11:34:02 +0000 (11:34 +0000)]
reorganized documentation to make it bit neater again

22 years agoCorrected status printout when kpop is enabled
uid1005 [Fri, 21 Apr 2000 17:36:37 +0000 (17:36 +0000)]
Corrected status printout when kpop is enabled

22 years agoOne final tweak to the configure --help output for --enable-masquerade.
Dan Harkless [Tue, 18 Apr 2000 00:17:50 +0000 (00:17 +0000)]
One final tweak to the configure --help output for --enable-masquerade.

22 years agoAPOP supprt: Added info to ChangLog.
Shantonu Sen [Mon, 17 Apr 2000 22:49:39 +0000 (22:49 +0000)]
APOP supprt: Added info to ChangLog.

22 years agoThe syntax I gave in the --help output for --enable-masquerade incorrectly
Dan Harkless [Mon, 17 Apr 2000 22:09:00 +0000 (22:09 +0000)]
The syntax I gave in the --help output for --enable-masquerade incorrectly
implied that the earlier options were prerequisites for the later options
(pointed out by Scott Blachowicz).  No compact, non-confusing way to specify the
real syntax that I can see, so I'll just remove the []s and leave the explaining
about it being okay to specify a subset to the INSTALL file.

Also added a TODO item to put in proper parsing of the masquerade: line and/or
--enable-masquerade so if you misspell an option you find out about it, rather
than just having it silently fail (this weakness was currently only documented
in comments in the mts.conf-handling code).

22 years agoSomeone (unfortunately original version history has been lost so I don't know
Dan Harkless [Mon, 17 Apr 2000 22:04:33 +0000 (22:04 +0000)]
Someone (unfortunately original version history has been lost so I don't know
who) changed "danh" to "your-id".  That makes my introductory comment "we'll use
version 1.0.4 and my account, danh, as examples here" make no sense,

If danh is going to be "parameterized", then 1.0.4 should be too.  Doesn't make
sense to parameterize one of the changing items and not the other one.  If it's
going to be done, danh should be changed to YOUR-ID or something and 1.0.4 (and
1_0_4) should be changed to X.Y.Z (and X_Y_Z).  I just thought it'd be clearer
to use real values and disclaim that fact up front.  Anyhow, putting danh back
until such time as someone wants to parameterize both items (and change the
introductory text appropriately).

22 years agoI had left out aclocal.m4 on the "use this order" line as I didn't think it'd
Dan Harkless [Mon, 17 Apr 2000 21:25:23 +0000 (21:25 +0000)]
I had left out aclocal.m4 on the "use this order" line as I didn't think it'd
ever need to be changed.  Someone ("ssen" -- looks like Doug forgot to update
a chroot() passwd file again) added it, but in a separate sentence.  That
doesn't really make sense -- added it to the main sentence.

Also changed my note that none of the mailing lists require you to be subscribed
to post -- not true.  As I originally thought, the exmh ones do require that --
the bounce messages were just slow in coming.

22 years agoUndeleted all the stuff Doug deleted at the top level for now. I think it's bad
Dan Harkless [Mon, 17 Apr 2000 19:02:11 +0000 (19:02 +0000)]
Undeleted all the stuff Doug deleted at the top level for now.  I think it's bad
to lose the CVS revision history, and I don't agree that all of these files
should go in the docs/ directory.  Unfortunately Doug made modifications to FAQ
and README.developers after moving them, and I didn't want to lose his changes,
so I just mv'd the ones in the new directory to the top level.  This lost the
old version history for those two files -- I know there wasn't much to lose for
README.developers (I originated the file and was the only one to make
modifications to it until Doug's recent change), but I have no idea what
information was lost in the FAQ's version history.  The right thing to do on
those two files probably would have been to re-make Doug's changes in the
undeleted old versions and credit them to him in the CVS log.

22 years agoPut a note saying that the paths this file refers to (stuff in docs/) are
Dan Harkless [Mon, 17 Apr 2000 18:48:03 +0000 (18:48 +0000)]
Put a note saying that the paths this file refers to (stuff in docs/) are
currently wrong.

22 years agoUndeleting everything at the top level for now. Doug's comment:
Dan Harkless [Mon, 17 Apr 2000 18:36:59 +0000 (18:36 +0000)]
Undeleting everything at the top level for now.  Doug's comment:

Sat Apr 15 10:33:00 2000 Doug Morris <>

        * moved the documentation into a "docs" subdirectory. The
        top-level directory was becoming messy. I also created another
        file MAILING-LISTS describing the various nmh lists and the
        archival system, and updated the FAQ to refer to it. I also
        created a new README in the top level that is basically a list
        of pointers to the various documentation. The old README I've
        moved to docs/README.history, since that seemed like the right
        thing to call it.

will be lost, but he can put back a modified version when we agree on what
should really go in docs/.

22 years agoUndeleting everything at the top level for now.
Dan Harkless [Mon, 17 Apr 2000 18:34:40 +0000 (18:34 +0000)]
Undeleting everything at the top level for now.

22 years agoAdded note that user questions are acceptable on nmh-workers.
Dan Harkless [Mon, 17 Apr 2000 16:56:57 +0000 (16:56 +0000)]
Added note that user questions are acceptable on nmh-workers.

22 years agoAdded that you should check in aclocal.m4 after acconfig.h, if you change it.
Shantonu Sen [Mon, 17 Apr 2000 05:29:49 +0000 (05:29 +0000)]
Added that you should check in aclocal.m4 after acconfig.h, if you change it.

22 years agoAPOP support: Making the apop option appear after pop in ./configure --help
Shantonu Sen [Mon, 17 Apr 2000 05:25:18 +0000 (05:25 +0000)]
APOP support: Making the apop option appear after pop in ./configure --help
   and committing in the right order to avoid unnecessary autoconfing.

22 years agoDon't try to figure out ruserpass - just use version from sbr/
Shantonu Sen [Mon, 17 Apr 2000 05:12:14 +0000 (05:12 +0000)]
Don't try to figure out ruserpass - just use version from sbr/

22 years agoAPOP support: Use the ruserpass function in this directory for
Shantonu Sen [Mon, 17 Apr 2000 05:09:46 +0000 (05:09 +0000)]
APOP support: Use the ruserpass function in this directory for
    all password prompts, instead of using system functions.

22 years agoAPOP support: If APOP is enabled, build it into inc and msgchk
Shantonu Sen [Mon, 17 Apr 2000 05:08:32 +0000 (05:08 +0000)]
APOP support: If APOP is enabled, build it into inc and msgchk
    using $(APOPLIB).

22 years agoAPOP support: Making APOP a ./configure option with --enable-apop,
Shantonu Sen [Mon, 17 Apr 2000 05:07:03 +0000 (05:07 +0000)]
APOP support: Making APOP a ./configure option with --enable-apop,
   and giving more information about the types of POP support
   in the configuration summary.

22 years agoAdding APOP #defines
Shantonu Sen [Mon, 17 Apr 2000 05:04:05 +0000 (05:04 +0000)]
Adding APOP #defines

22 years agoChanged some string terminations from NULL to \0.
Shantonu Sen [Sun, 16 Apr 2000 13:28:12 +0000 (13:28 +0000)]
Changed some string terminations from NULL to \0.

22 years agoMoved most of the documentation into a new "docs" subdirectory. Added a MAILING-LISTS...
Doug Morris [Sat, 15 Apr 2000 04:28:27 +0000 (04:28 +0000)]
Moved most of the documentation into a new "docs" subdirectory. Added a MAILING-LISTS file talking about the lists and archives, and updated the FAQ to refer to it.

22 years agoAdded a "releasing nmh" section to README.developers, while the process was
Dan Harkless [Sat, 15 Apr 2000 02:00:43 +0000 (02:00 +0000)]
Added a "releasing nmh" section to README.developers, while the process was
fresh in my mind.

22 years agoOkay, got that tag stuff straightened out. Now upping the version to 1.0.4+dev.
Dan Harkless [Fri, 14 Apr 2000 21:38:37 +0000 (21:38 +0000)]
Okay, got that tag stuff straightened out.  Now upping the version to 1.0.4+dev.

22 years agoOops. Had a duplicate entry.
Dan Harkless [Fri, 14 Apr 2000 21:26:56 +0000 (21:26 +0000)]
Oops.  Had a duplicate entry.

22 years agoOops. Didn't do a `cvs rtag` before changing the version to 1.0.4+dev. Putting
Dan Harkless [Fri, 14 Apr 2000 21:05:34 +0000 (21:05 +0000)]
Oops.  Didn't do a `cvs rtag` before changing the version to 1.0.4+dev.  Putting
it back.

22 years agoUpped the version number to 1.0.4+dev.
Dan Harkless [Fri, 14 Apr 2000 20:47:32 +0000 (20:47 +0000)]
Upped the version number to 1.0.4+dev.

22 years ago* Added new files README.developers, ChangeLog_MH-3_to_MH-6.6, and
Dan Harkless [Fri, 14 Apr 2000 20:40:31 +0000 (20:40 +0000)]
* Added new files README.developers, ChangeLog_MH-3_to_MH-6.6, and
ChangeLog_MH-6.7.0_to_MH-6.8.4.html to DIST target in

* Released nmh-1.0.4.

22 years agoJust reworded the bit about '%s' being safe not to quote (it's only safe not to
Dan Harkless [Wed, 12 Apr 2000 00:54:54 +0000 (00:54 +0000)]
Just reworded the bit about '%s' being safe not to quote (it's only safe not to
quote on the -charset- line).

22 years agoApplied Brian Campbell <>'s patch:
Dan Harkless [Wed, 12 Apr 2000 00:25:23 +0000 (00:25 +0000)]
Applied Brian Campbell <>'s patch:

    It appears that there shouldn't be quotes around the %s in the iso-8859-1
    charset entry; xterm passes the remaining arguments to the program, quoting
    them means that xterm thinks they're part of the program's name.

%s doesn't come from MIME headers, so not quoting it is safe.

22 years agobug fix - prevents core-dumping on scan -format '1'
Doug Morris [Sun, 9 Apr 2000 07:04:24 +0000 (07:04 +0000)]
bug fix - prevents core-dumping on scan -format '1'

22 years agoRichard Coleman threw out a lot of old MH-specific files in nmh. Much of the
Dan Harkless [Fri, 7 Apr 2000 00:42:55 +0000 (00:42 +0000)]
Richard Coleman threw out a lot of old MH-specific files in nmh.  Much of the
stuff, indeed, is not worth saving, but there are nuggets that are very
worthwhile, and should probably be added back in.  Most important, IMHO, are the
MH change logs, as they can help answer questions like "Why is this code like
this?" or "How long has this been broken?" or "What was this ever used for?"

I've added a new file to the nmh tree called ChangeLog_MH-3_to_MH-6.6.  It's
cobbled together from the mh-6.8.4/papers/mh*/MHCHANGES files.  I've re-ordered
the entries to go from newest at the top to oldest at the bottom to match the
ChangeLog convention.  Unfortunately there are no change logs for versions of MH
prior to 3 in the MH tar files available at <>.
Also, it appears to me that there are MH-6.6 changes that aren't documented in
the logs.

I've also added ChangeLog_MH-6.7.0_to_MH-6.8.4.html.  This is based on
mh-6.8.4/papers/changes/  The nroff format and its "catman"-type
output are a pain to deal with, but I was loath to throw away the formatting, so
I converted the file to HTML.  The only actual markup in the body are the "<B>"
and "<U>" tags, and "&lt;" and "&gt;" instead of '<' and '>', so it's quite
doable to view the file in plain ASCII mode as well.  Note that some of the
changes this file documents as having been made in MH-6.8.4 may not be present
in nmh -- Richard started with 6.8.3 and later put in certain 6.8.4 stuff.

22 years agoWhoah, this should have been changed a long time ago. For one thing, Richard
Dan Harkless [Thu, 6 Apr 2000 19:56:35 +0000 (19:56 +0000)]
Whoah, this should have been changed a long time ago.  For one thing, Richard
forgot to update the copyright date when he made modifications in 1999, but more
significantly, this COPYRIGHT notice hasn't been changed since Richard ceded
control of nmh development and it became an open-source project.

Changed the COPYRIGHT notice to a BSD License, with a couple of minor wording
tweaks.  Copyright is assigned to "the authors of nmh", which is anyone who
writes code, whether they have CVS accounts or not.

22 years ago* Add some way to configure whether you prefer to see text/plain or text/html
Dan Harkless [Thu, 6 Apr 2000 00:22:06 +0000 (00:22 +0000)]
* Add some way to configure whether you prefer to see text/plain or text/html
  parts of multipart/alternative messages.

22 years agoApplied Eric Schnoebelen <>'s mhshowsbr.c patch fixing apparent
Dan Harkless [Thu, 6 Apr 2000 00:11:50 +0000 (00:11 +0000)]
Applied Eric Schnoebelen <>'s mhshowsbr.c patch fixing apparent
bugs in Dan Winship's new security quoting code:

    Since upgrading, I've been getting the following errors while attempting to
    process some MIME messages:

        (1) Syntax error: Unterminated quoted string
            exit 2


        (2) line 1/10 (END)Segmentation fault (core dumped)

    (2) appears to be due to the testing of an unset pointer in
    mhshowsbr.c:show_multi_aux().  (1) appears to be caused by mis-quoting a
    filename being handed to the shell in mhshowsbr.c:show_content_aux().

    Resolving the pointer reference issue in mhshowsbr.c:show_multi_aux() turned
    up a similar mis-quoting problem in the routine.

22 years agoTerran Melconian pointed out that my theory as to why -help was printed as
Dan Harkless [Fri, 31 Mar 2000 04:25:26 +0000 (04:25 +0000)]
Terran Melconian pointed out that my theory as to why -help was printed as
"-(help)" in the -help output was probably not the most likely scenario.  Added
his.  ;^>

22 years agoadded Todd Miller's packf patch
Doug Morris [Tue, 28 Mar 2000 14:42:36 +0000 (14:42 +0000)]
added Todd Miller's packf patch

22 years agoWhen I applied Wesley Craig's original KPOP patch, I made a change directly to
Dan Harkless [Fri, 17 Mar 2000 20:19:43 +0000 (20:19 +0000)]
When I applied Wesley Craig's original KPOP patch, I made a change directly to  That's a no-no since that file is automatically generated.  Now
that I've applied Wesley's second patch that makes things work as I had
originally documented, I'm re-making the change here, but this time by properly
modifying acconfig.h and then generating from that.

22 years did not document his previous KPOP patch, so I did so,
Dan Harkless [Fri, 17 Mar 2000 20:11:03 +0000 (20:11 +0000)] did not document his previous KPOP patch, so I did so,
and asked him to check what I wrote.  Unfortunately he didn't notice my
misunderstanding of his patch.  I wrote that if you #define POPSERVICE "kpop",
inc and msgchk will use KPOP exclusively, but if you leave it as "pop3", you can
use Wesley's new -kpop switch on a given invocation.  Instead, however, -kpop
turned out to be necessary on every invocation, and a KPOP user complained.
Applied Wesley's new patch, which makes things work like I thought his original
patch did.  After that, did one more clarifying pass to the documentation in and

22 years agoAdded a new README.developers file. From the file:
Dan Harkless [Thu, 16 Mar 2000 02:40:42 +0000 (02:40 +0000)]
Added a new README.developers file.  From the file:

    This file is intended to provide a few tips for anyone doing development on
    nmh.  Developers who learn things "the hard way" about the nmh codebase (as
    opposed to local info best encoded in a comment) are encouraged to share
    their wisdom here.

Currently the topics are "autoconf files" and "directory structure".

22 years agoWhen I added my --enable-masquerade option, you'll note that I didn't make it
Dan Harkless [Wed, 15 Mar 2000 23:37:30 +0000 (23:37 +0000)]
When I added my --enable-masquerade option, you'll note that I didn't make it
--enable-nmh-masquerade.  I find the --enable-nmh-* options too wordy and I'm
not sure why Richard went that route.  I've renamed them to just --enable-*, but
the old versions will still work as well (they just aren't advertised).

Added a line to the "nmh configuration" output saying whether POP is enabled.