339c875980e29a6825bd10a7873624b898884b54
[mmh] / ChangeLog
1 Fri Apr 14 18:50:11 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
2
3         * Upped the version number to 1.0.4+dev for further development.
4         
5 Fri Apr 14 18:21:34 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
6
7         * Added new files README.developers, ChangeLog_MH-3_to_MH-6.6, and
8         ChangeLog_MH-6.7.0_to_MH-6.8.4.html to DIST target in Makefile.in.
9         
10         * Released nmh-1.0.4.
11
12 Tue Apr 11 21:37:03 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
13
14         * Applied Brian Campbell <bacam@tardis.ed.ac.uk>'s mhn.defaults.sh
15         patch:
16
17             It appears that there shouldn't be quotes around the %s in the
18             iso-8859-1 charset entry; xterm passes the remaining arguments
19             to the program, quoting them means that xterm thinks they're
20             part of the program's name.
21
22         This %s isn't the same as the "Insert content subtype" one from
23         mhshow-show-* -- it doesn't come from MIME headers and is safe not
24         to quote.
25
26 Sun Apr 09 13:03:59 2000 Doug Morris <doug@mhost.com>
27
28         * added check in fmt_compile() to handle a single-character
29         format string. fmt_compile() depends on having an array of
30         format characters with an empty item at the end. A
31         single-character format would cause programs using this
32         function to segfault because the algorithm used to decide on
33         the length of the array mistakenly created a single-item array
34         when the format string was one character. This eventually
35         caused problems when the program attempted to test item+1
36         in the array.
37
38 Thu Apr 06 21:53:50 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
39
40         * Richard Coleman threw out a lot of old MH-specific files in nmh.
41         Much of the stuff, indeed, is not worth saving, but there are
42         nuggets that are very worthwhile, and should probably be added
43         back in.  Most important, IMHO, are the MH change logs, as they
44         can help answer questions like "Why is this code like this?" or
45         "How long has this been broken?" or "What was this ever used for?"
46
47         I've added a new file to the nmh tree called
48         ChangeLog_MH-3_to_MH-6.6.  It's cobbled together from the
49         mh-6.8.4/papers/mh*/MHCHANGES files.  I've re-ordered the entries
50         to go from newest at the top to oldest at the bottom to match the
51         ChangeLog convention.  Unfortunately there are no change logs for
52         versions of MH prior to 3 in the MH tar files available at
53         <ftp://ftp.ics.uci.edu/pub/mh>.  Also, it appears to me that there
54         are MH-6.6 changes that aren't documented in the logs.
55
56         I've also added ChangeLog_MH-6.7.0_to_MH-6.8.4.html.  This is
57         based on mh-6.8.4/papers/changes/mh-changes.ms.  The nroff format
58         and its "catman"-type output are a pain to deal with, but I was
59         loath to throw away the formatting, so I converted the file to
60         HTML.  The only actual markup in the body are the "<B>" and "<U>"
61         tags, and "&lt;" and "&gt;" instead of '<' and '>', so it's quite
62         doable to view the file in plain ASCII mode as well.  Note that
63         some of the changes this file documents as having been made in
64         MH-6.8.4 may not be present in nmh -- Richard started with 6.8.3
65         and later put in certain 6.8.4 stuff.
66         
67 Wed Apr 05 21:09:28 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
68
69         * Applied Eric Schnoebelen <eric@cirr.com>'s mhshowsbr.c patch
70         fixing apparent bugs in Dan Winship's new security quoting code:
71         
72             Since upgrading, I've been getting the following errors
73             while attempting to process some MIME messages:
74
75                 (1) Syntax error: Unterminated quoted string
76                     exit 2
77         
78             and:
79
80                 (2) line 1/10 (END)Segmentation fault (core dumped)
81
82             (2) appears to be due to the testing of an unset pointer in
83             mhshowsbr.c:show_multi_aux().  (1) appears to be caused by
84             mis-quoting a filename being handed to the shell in
85             mhshowsbr.c:show_content_aux().
86
87             Resolving the pointer reference issue in
88             mhshowsbr.c:show_multi_aux() turned up a similar mis-quoting
89             problem in the routine.
90
91 Tue Mar 28 16:17:39 2000 Doug Morris <doug@mhost.com>
92
93         * Applied Todd.Miller@courtesan.com's patch to dropsbr.c to
94         prevent core dumping on packf. Here's the note from his message:
95
96             Since sizeof(buffer) == sizeof(tmpbuffer) packf will dump
97             core on a file w/o a From line with a line >= BUFSIZ.
98             I noticed this because I had a junk file in my mail
99             spool somehow.
100
101 Fri Mar 17 11:59:33 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
102
103         * wesley.craig@umich.edu did not document his previous KPOP patch,
104         so I did so, and asked him to check what I wrote.  Unfortunately
105         he didn't notice my misunderstanding of his patch.  I wrote that
106         if you #define POPSERVICE "kpop", inc and msgchk will use KPOP
107         exclusively, but if you leave it as "pop3", you can use Wesley's
108         new -kpop switch on a given invocation.  Instead, however, -kpop
109         turned out to be necessary on every invocation, and a KPOP user
110         complained.  Applied Wesley's new patch, which makes things work
111         like I thought his original patch did.  After that, did one more
112         clarifying pass to the documentation in inc.man and msgchk.man.
113
114 Wed Mar 15 18:45:45 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
115
116         * When I fixed the long-standing makedir() bugs in January, I had
117         the code call strtoul(..., 0), which I believed to be safe as all
118         modes specified as ASCII constants in the nmh code started with a
119         leading zero (signifying octal), which I did as it would work if
120         internal constants were ever changed to hex.  Unfortunately I was
121         unaware of the "Folder-Protect:" .mh_profile entry, which
122         mh-profile.man documents as an octal-only constant, with no
123         leading zero required.  I've changed the strtoul() call to an
124         atooi() call and removed the misleading leading zeroes on the
125         ASCII octal constants in the code and man pages.  Also changed the
126         "Folder-Protect:" example in the man page to something more
127         interesting than a duplication of the default.
128
129         * When I added my --enable-masquerade option, you'll note that I
130         didn't make it --enable-nmh-masquerade.  I find the --enable-nmh-*
131         options too wordy and I'm not sure why Richard went that route.
132         I've renamed them to just --enable-*, but the old versions will
133         still work as well (they just aren't advertised).
134
135         * Added a line to the "nmh configuration" output saying whether
136         POP is enabled.
137
138         * Added a new README.developers file.  From the file:
139
140             This file is intended to provide a few tips for anyone doing
141             development on nmh.  Developers who learn things "the hard
142             way" about the nmh codebase (as opposed to local info best
143             encoded in a comment) are encouraged to share their wisdom
144             here.
145
146         Currently the topics are "autoconf files" and "directory structure".
147
148 Tue Mar 14 12:41:48 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
149
150         * Applied, after some finessing,
151         Simon Burge <simonb@thistledown.com.au>'s --with-smtpservers patch:
152
153             Here's a patch that allows you to add
154
155                     --with-smtpservers=<some.host.name>
156
157             to the ./configure command line to set the "servers: " line in
158             etc/mts.conf.  Around here, we use "mailhost" so that all
159             machines in the current domain just talk to a central machine
160             and nothing else runs an MTA.  Now, I can use
161
162                     --with-smtpservers=mailhost
163
164             instead of having to remember to fix this by hand (and often
165             forgetting to do so!).
166
167         * Inspired by Simon's patch, added an --enable-masquerade option
168         to configure.  It will set the "masquerade:" line of mts.conf.
169         You may specify a subset of the three types of masquerading, like
170         --enable-masquerade="draft_from mmailid", or leave off explicit
171         arguments to enable all three types.
172
173         * Alphabetized the --enable and --with options in configure.in and
174         INSTALL and added documentation of the two new options to the latter.
175
176         * Added new dependency for mts.conf: Makefile.  If this isn't
177         done, then when you reconfigure nmh with new values for
178         --enable-masquerade or --with-smtpservers, you'll fail to get an
179         updated copy of mts.conf.
180
181         * Applied Simon Burge <simonb@thistledown.com.au>'s dtimep.lex patch:
182
183             It seems that some MUA's didn't handle y2k very well - ELM
184             seems to be one of them, and Ultrix's DXmail (based on MH!).
185             I've got a few emails this month that look like:
186
187                     575   Jan 00  Xxxxxx Xxxx       3603  ...
188             and
189                      22+  Jan 00  Xxx Xxxxx         1771  ...
190
191             The first has "15 Jan 100" as the date and the second has 
192             "19 Jan 00" as the date.  The following works around this so 
193             that scan, show, sortm, etc work ok.
194
195         I put Simon's patch under the control of a new #define called
196         FIX_NON_Y2K_COMPLIANT_MUA_DATES.  There's some commentary in
197         acconfig.h about when you might not want to #define it.
198
199         * Created new dtimep.c-lexed with Simon's change using dtimep.lex
200         lexed on Solaris 2.6.  Added missing dependency in
201         zotnet/tws/Makefile.in for dtimep.c: dtimep.c-lexed.
202
203         * Added scan.MMDDYY and scan.YYYYMMDD format files.
204
205 Mon Mar 13 21:32:00 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
206
207         * Applied Sullivan N. Beck <sbeck@cise.ufl.edu>'s mhshow-suffix patch:
208
209             With the patch below, you can add lines like:
210
211                 mhshow-suffix-application/msword: .doc
212                 mhshow-suffix-application/PostScript: .ps
213
214             to the mhn.defaults file to append the given suffix to a
215             scratch file.  This allows applications which require a
216             certain suffix to run properly.
217
218         * Removed -force_html from lynx entry in mhn.defaults.sh (I
219         believe older versions of lynx lack that option) and added
220         "mhshow-suffix-text/html: .html".
221                 
222         * Modified username_extension masquerading to only use the
223         extended address on generated [Resent-]From: lines and SMTP
224         envelope From:.  With Neil's original implementation, nmh's global
225         idea of the username was changed, which would result in inc lying
226         and saying you had no new mail because it was looking for a
227         mailbox called, for instance, "dan-nmh" (where username was "dan"
228         and $USERNAME_EXTENSION was "-nmh").
229                 
230         * Applied Simon Burge <simonb@thistledown.com.au>'s dtime.c patch:
231         
232             There's a wrap-around problem that affects the implementation
233             of Zeller's congruence in dtime.c.  This causes the day-of-week
234             calculations to fail for dates after Feb 29, 2000 (probably up
235             until some year far in the future).
236
237 Mon Mar 06 12:20:20 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
238
239         * Applied Neil W Rickert <rickert+nmh@cs.niu.edu>'s msh.c patch:
240
241             I finally tracked down the problem in msh that was causing
242             errors whenever I tried to examine a 'mmdf' style mailbox.
243
244             It turns out that not enough memory was being allocated with
245             calloc(), causing memory pointers to be overwritten and
246             corrupted.
247                 
248 Fri Mar 03 16:07:33 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
249
250         * Changed the new "plussed_user" option to mts.conf's
251         "masquerade:" to "username_extension" after getting feedback from
252         qmail users, who use '-' as a separator rather than '+'.  Removed
253         checking of $USERPLUS variable.  Now check $USERNAME_EXTENSION,
254         which needs to include the appropriate separator for your MTA
255         ('-', '+', or whatever) as its first character.
256                 
257 Thu Mar 02 23:04:30 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
258
259         * Added a new "boolean" type to mh.h and TRUE and FALSE constants.
260                 
261         * Added a note to DIFFERENCES stating that it's out-of-date
262         (Richard was the last one to update it) and that we should
263         consider only documenting incompatibilities with MH there.
264
265         * Implemented (and documented) a third kind of username
266         masquerading: "plussed user" masquerading.  This one was suggested
267         by Neil Rickert <rickert+nmh@cs.niu.edu>.  It's based on sendmail's
268         "plussed user" feature, where mail sent to <user>+<string> will be
269         delivered to <user>.  When it's enabled, it's controlled by the
270         $USERPLUS environment variable.  How is it enabled?  Well, that
271         leads me to:
272
273         * Renamed the "mmailid:" setting in mts.conf to "masquerade:", and
274         changed it so that rather than being a boolean, it can be set to
275         any combination of the three values "draft_from", "mmailid", and
276         "plussed_user".  Thus it is now possible to enable the three types
277         of masquerading individually.
278
279         * Fixed a bug with "mmailid" masquerading (dating back to MH?)
280         where if it was turned on, ','s would no longer be considered
281         GECOS field delimiters.
282         
283 Wed Mar 01 23:30:50 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
284
285         * Changed the GECOS-field '&' translation behavior to be
286         controlled by the BSD42 #define rather than GCOS_HACK, since it's
287         apparently always appropriate on OSes where BSD42 is #defined, and
288         never appropriate on any other OSes.  Thanks to Kimmo Suominen for
289         responding to my "What is this code here for?" comment in mts.c
290         and explaining the feature.
291         
292 Mon Feb 28 21:50:29 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
293
294         * Upped the version number to 1.0.3+dev (ideally this should be
295         done by whoever makes a release tar file, immediately after doing
296         so).
297         
298         * Applied Paul Fox <pgf-spam@foxharp.boston.ma.us>'s scansbr.c
299         patch, posted to comp.mail.mh, which he says prevents loss of mail
300         when inc'ing into a full filesystem.
301
302         * Changed "echo > stamp-h.in" in Makefile.in to "date > stamp-h.in"
303         so that stamp-h.in will be different each time configure.in and
304         related files are changed, making it easier to check it in (which
305         is necessary to prevent unnecessary autoconf calls).
306
307         * My declaration of initgroups() in slocal.c to eliminate the "no
308         prototype" warning wasn't portable (FreeBSD 3.[23] choked).  Now
309         use AC_EGREP_HEADER to see where initgroups() is declared, if
310         anywhere.
311
312 Sun Feb 20 12:17:15 2000 Ruud de Rooij <ruud@ruud.org>
313
314         * Fix security hole in mhshowsbr.c which allowed untrusted shell
315           code to be executed.
316         
317         * Released nmh 1.0.3.
318
319 Thu Feb 10 10:54:36 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
320
321         * Oops.  %-escapes on mhstore lines in mhn.defaults.sh should not
322         be surrounded by single quotes, as a shell is not spawned when
323         just saving files, and the filenames will end up with literal
324         quotes embedded in them.
325
326 Fri Feb 04 12:29:12 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
327
328         * Whoever originally added the -help switch to all the commands
329         got too cute and had the option itself print out as "-(help)" in
330         the -help output.  One theory is that they were making reference
331         to the fact that clearly you know about the -help option since
332         you're currently looking at its output.  I think it's a bad idea
333         to overload the meaning of the parentheses, however -- they're
334         supposed to indicate what abbreviated prefix of the switch you're
335         allowed to specify.
336
337         The other theory is that because you can say something like
338         "mhstore -" and get "mhstore: - ambiguous.  It matches" followed
339         by the same list of switches you get with -help, they were saying
340         you can "sorta" abbreviate "-help" as "-".  You don't get the
341         "Usage:" string, though, so it's not really the same thing.
342
343 Thu Feb 03 17:52:01 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
344
345         * Applied wesley.craig@umich.edu's KPOP patches.  According to him:
346
347               The following patch fixes a problem with requesting a
348               service key for a machine that has multiple 'A' records.  It
349               also makes "-kpop" a command line option, for users who
350               would like to use both "kpop" and "pop".
351
352         Did no testing of the new features, as I don't have access to a
353         KPOP server.
354
355         * Modified inc.man and msgchk.man to document Wesley's new -kpop.
356
357         * Modified INSTALL and config.h.in to reflect the new -kpop feature.
358
359 Fri Jan 28 17:39:24 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
360
361         * All %-escapes in mhn.defaults that actually expand to something
362         should be surrounded by single quotes.  Added quotes to the ones
363         in mhn.defaults.sh that were missing them.
364
365         * Added check for lynx to write mhshow-show-text/html line in
366         mhn.defaults.sh.
367
368 Thu Jan 27 12:22:25 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
369
370         * makedir() had multiple bugs dating back to MH.  An octal
371         constant was apparently being interpreted as decimal, resulting in
372         directories with no user read or execute permissions, making
373         nested directory creation fail.  And there wasn't even an
374         _attempt_ to set desired permissions (e.g. from "Folder-Protect:"
375         in .mh_profile) on the outer directories of a nested directory.
376
377         * A second `make install' would always fail because the check for
378         whether mh_profile.5 existed was written incorrectly.
379         
380 Wed Jan 26 02:22:00 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
381
382         * Added documentation on both types of masquerading to post's man
383         page.
384
385 Tue Jan 25 22:58:12 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
386
387         * Doug's portability fix of my setgid inc autodetection had a
388         caching bug -- if you re-ran configure, uip/Makefile would be
389         corrupted, and installation would bomb out on OSes where inc needs
390         to be setgid.
391
392         * Implemented a new kind of email address masquerading.  Usually,
393         when a user writes a custom "From:" header in a draft, nmh uses it
394         rather than generating one.  However, the user's true address is
395         used in the SMTP envelope "From:" and is revealed in the "Sender:"
396         header.  Now, when mmailid is set to non-zero, the envelope
397         "From:" uses the address specified in the draft "From:" header,
398         and there is no "Sender:" header.  This is useful when sending on
399         behalf of a remote POP3 account or when remote mail robots
400         incorrectly use the envelope "From:" in preference to the body
401         "From:".  This processing has only been implemented for post, not
402         for the undocumented spost (which was already missing some "From:"
403         processing that post has).
404
405 Mon Jan 24 22:26:06 2000 Dan Harkless <dan-nmh@dilvish.speed.net>
406
407         * Got rid of the rest of the gcc -Wall warnings that I didn't have
408         time for on 1999-07-15 (and, it would seem, some new ones people
409         introduced since then).  The primary ones were the warnings that
410         default prototypes were being used for [v]snprintf() and
411         str[n]casecmp().  As of right now, there are _no_ compilation
412         warnings except on dtimep.c-lexed (at least under AIX 4.1.5 and
413         Solaris 2.6).
414
415 Sun Jan 2 23:42:18 2000 Ruud de Rooij <ruud@ruud.org>
416
417         * Move mhtest from bindir to libdir.
418
419         * Move sendfiles from libdir to bindir.
420
421         * Updated sendfiles manpage to reflect this change.
422
423         * Added documentation for -build and -file switches to repl and 
424           forw manpages (patch from Peter Maydell).
425
426         * Fixed interaction between specifying -cc in profile and -group on 
427           command-line.
428
429 Tue Nov 1 13:48:10 1999 Dan Harkless <dan-nmh@dilvish.speed.net>
430
431         * Changed the version number from 1.0.3 to 1.0.2+dev.  There was
432         not unanimous support for my proposed even/odd release/developer
433         version number dichotomy.  1.0.2+dev implies release 1.0.2 plus
434         some development.
435
436 Fri Oct 29 13:42:51 1999 Dan Harkless <dan-nmh@dilvish.speed.net>
437
438         * Upped the version number to 1.0.3.  If we don't do this, then
439         when people report bugs against 1.0.2, we won't know "which" 1.0.2
440         they're talking about (since the development source is publically
441         available via CVS).  I think the Linux kernel version numbers are
442         a good model, so the next time we roll a tarball, it should be
443         version 1.0.4 (or higher -- anyhow, an even-numbered version).
444
445 Fri Oct 29 06:41:08 1999 Doug Morris <doug@mhost.com>
446
447         * Released nmh-1.0.2.
448
449 Tue Oct 26 22:57:00 1999 Doug Morris <doug@mhost.com>
450         
451         * Added check for whether "libtool" is in fact gnu libtool. If
452         it is, it is not used. This is the wrong behavior. If vendor
453         XYZ later on decides to create yet another libtool, we'll be
454         caught again. This works for now.
455
456         * Minor updates to MACHINES refering to Mac OS X.
457
458 Thu Oct 21 20:45:37 1999 Doug Morris <doug@mhost.com>
459
460         * Added check for "libtool" (a ranlib type tool for Mac OS X)
461         and modified Makefiles so that nmh will build under Mac OS X.
462
463 Sun Oct 17 08:28:56 1999 Ruud de Rooij <ruud@ruud.org>
464
465         * Changed repl defaults to partly revert to MH behaviour,
466           "-cc all" is now only implied with -group.
467
468         * The replcomps template includes cc: header again (as in MH).
469
470         * Updated repl man page to reflect these changes.
471
472 Sat Oct 16 02:57:47 1999 Doug Morris <doug@mhost.com>
473
474         * Tweaked configure to handle Solaris and SunOS after the BIND
475         changes. Both need more cleanup.
476
477 Sat Oct 16 00:17:36 1999 Doug Morris <doug@mhost.com>
478
479         * Removed BIND define and replaced it with a check for
480         gethostbyname (to determine if the host is DNS aware) and a
481         check for sethostent. This appears to be the right thing to
482         do, but there is no explanation of the reasoning behind the
483         BIND define in the code and it appears to have been used for
484         multiple purposes. 
485
486 Wed Oct 13 15:53:53 1999 Doug Morris <doug@mhost.com>
487
488         * Updated manpages Makefile to link mh-profile.5 to
489         mh_profile.5 after installation. Suggestion from Richard Cohen
490         <richard@jubjub.demon.co.uk>.
491
492         * Modified configure.in to check for _IO_write_ptr and libio.h
493         to determine whether to define LINUX_STDIO instead of using 
494         config.guess.
495
496 Mon Oct 4 15:22:46 1999 Dan Harkless <dan-nmh@dilvish.speed.net>
497
498         * Added '-L' to the calls of 'ls' in configure.in -- I have seen
499         multiple machines in the past where the mail spool was a symlink
500         to a directory on another device with more free space.
501
502 Fri Oct 1 22:36:56 1999 Dan Harkless <dan-nmh@dilvish.speed.net>
503
504         * Fixed a portability problem in Doug's fix of a portability
505         problem in my MAILGROUP autoconf support ('ls -l' vs. 'ls -lg'). 
506
507 Sat Sep 25 18:40:43 1999 Ruud de Rooij <ruud@ruud.org>
508
509         * Added config.sub and config.guess to the list of files to be
510         distributed.
511
512         * Fixed bug in sbr/fmt_scan.c where an extra newline would be
513         added if a list of addresses was split over several header lines.
514
515         * In mts/smtp/smtp.c, undefine strlen and strcpy if they are
516         macros, regardless of platform.
517
518         * Allow q to quit mhshow, and n to skip to next part.  Patch from
519         Kimmo Suominen <kim@tac.nyc.ny.us>.
520
521         * Modified mhstore to recognize attachments created by sendfiles
522         with x-conversions=gzip.
523
524 Mon Sep 13 21:20:10 1999 Doug Morris <doug@mhost.com>
525
526         * added explicit cast to long from time_t for tclock in
527         post.c.
528
529         * Commented out #ifdefs for <sys/ioctl.h> in termsbr.c since
530         it's needed for ioctl() anyway. This prevents a warning about
531         implicit definition of ioctl().
532
533         * Moved guesses performed by AC_CANONICAL_SYSTEM back into the
534         "User Configuration" section of config.h (moved @TOP@ in
535         acconfig.h) so they're easier to find, should someone actually
536         want to mess with them.
537
538 Sun Sep 12 15:50:34 1999 Doug Morris <doug@mhost.com>
539
540         * updated Makefile.in so it recognized COMPLETION-TCSH and
541         COMPLETION-ZSH (only used in make nmhdist). 
542
543         * added prototype for ruserpas to <h/prototypes.h>. Fixes
544         warnings in mhparse.c and mhbuildsbr.c.
545
546         * added include checks for <time.h> and <sys/time.h> to
547         prevent warnings in fmt_compile.c, fmt_scan.c, lock_file.c,
548         sendsbr.c, mhbuildsbr.c, mhcachesbr.c, picksbr.c, and post.c.
549
550         * added include for <zotnet/mts/mts.h> to ali.c, scan.c, ap.c,
551         rcvdist.c, rcvstore.c, rcvtty.c, and spost.c to remove
552         warnings about implicit definition of mts_init().
553
554         * added <grps.h> to slocal.c to prevent warnings about
555         function initgroups.
556
557         * added <h/signals.h> to prevent warning about missing SIGNAL
558         function.
559
560         * added function prototypes to smtp.c, whatnowproc.c,
561         mhbuildsbr.c, mhparse.c, mshcmds.c, show.c, whatnow.c, mhl.c
562         to fix warnings.
563
564         * explicitly declared mbx_style in mshcmds.c and lused in
565         fmtdump.c as type static int instead of just static to
566         prevent warnings.
567         
568         * various code cleanups to prevent ambiguous statements
569         (brackets for if/thens and parens for complicated if
570         statements).
571
572
573 Sun Sep 12 09:19:27 1999 Doug Morris <doug@mhost.com>
574
575         * commented out _cleanup() in mf.c because it's the only
576         location in all of the source code where it exists. It was
577         preventing compilation on at least linux.
578
579         * Added check for <db1/ndbm.h> which is the new location where
580         linux systems appear to be stuffing this header file.
581
582 Thu Sep 09 23:15:49 1999 Doug Morris <doug@mhost.com>
583
584         * fixed varous mkstmep bugs introduced in 1.0.1 by me. Whups!
585
586         * added mh_profile SEGV patch from Richard Cohen
587         <richard@jubjub.demon.co.uk> that prevents crashing when
588         mh_profile doesn't end in a newline. A similar patch was
589         previously sent in by Andrew Bettison <andrewb@zip.com.au>.
590
591         * fixed bug in associated with MAILGROUP #define (group "mail"
592         is not universal) -- hard to believe, but true.
593
594 Tue Sep 7 16:47:03 1999 Dan Harkless <dan-nmh@dilvish.speed.net>
595
596         * Renamed ZSH.COMPLETION to COMPLETION-ZSH and added COMPLETION-TCSH.
597
598 Tue Aug 17 16:06:29 1999 Dan Harkless <dan-nmh@dilvish.speed.net>
599
600         * Automated #define of MAILGROUP and installation of inc as setgid mail
601         when the mail spool directory isn't world-writable.
602
603 Thu Jul 15 18:37:07 1999 Dan Harkless <dan-nmh@dilvish.speed.net>
604
605         * slocal -debug used to leave a file in /tmp for each message
606         processed.  Very bad for folks with slocal -debug in their .forward!
607
608         * Got rid of a ton of compilation warnings.  Most were "junk"
609         warnings due to the use of gcc -Wall (without -Wno-parentheses),
610         but a few represented real bugs.  There remain many warnings to be
611         tackled that are due to missing function prototypes (e.g. snprintf()).
612
613         * Default rcvdistcomps no longer puts a copy of all outgoing
614         messages in outbox.  Added an rcvdistcomps.outbox that does.
615
616 Sat Jun 09 12:22:47 1999 Doug Morris <doug@mhost.com>
617
618         * Updated configure to check for mkstemp (available on OpenBSD) and 
619         substitute it for mktemp if available. 
620
621 Thu May 13 16:40:19 1999  Doug Morris <doug@mhost.com>
622
623         * Added config.sub and config.guess and updated acconfig.h and
624         configure.in to automatically detect system type and set the
625         proper #defines.
626
627 Wed May 12 23:41:33 1999  Dan Winship  <danw@mit.edu>
628
629         * Released nmh-1.0.1.
630
631 Fri May  7 17:18:28 1999  Dan Winship  <danw@mit.edu>
632
633         * Fixed flist to properly deal with relative folder names.
634         Problem noted by Jerry Peek <jpeek@jpeek.com>.
635
636         * Fixed --with-krb4 to work with original Kerberos 4 libraries as
637         well as the Kerberos 5 compat libraries. Based on a patch from
638         Assar Westerlund <assar@sics.se>.
639
640         * Added a check in configure.in to test if modf is in libc and
641         link with libm if not. This is needed by at least Digital UNIX. 
642         Problem pointed out by Kevin Oberman <oberman@es.net>.
643
644         * Fix a bug from the "mhn -show" to "mhshow" renaming that
645         made the "list" command in whatnow not work for some users.
646         From Ruud de Rooij <r.c.m.derooij@twi.tudelft.nl>.
647
648         * Replaced "extern int errno" with "#include <errno.h>" in a
649         number of files. Suggested by Stephen Wilson Bailey
650         <swb@nconnect.net>.
651
652         * Fixed a problem in how "packf -mbox" translated "Return-Path:"
653         lines. From Kimmo Suominen <kim@tac.nyc.ny.us>.
654
655         * Fixed a segmentation fault in inc. Patch originally from Ruud de
656         Rooij <r.c.m.derooij@twi.tudelft.nl>.
657
658         * Allow display of 8bit encoded messages. From Kimmo Suominen
659         <kim@tac.nyc.ny.us>.
660
661         * Fixed repl to not add line breaks in the middle of long
662         addresses when building a reply. From Ruud de Rooij
663         <r.c.m.derooij@twi.tudelft.nl>.
664
665         * Added -library switch to spost so it can parse user aliases like
666         post does. From Ruud de Rooij <r.c.m.derooij@twi.tudelft.nl>.
667
668         * Changed configure.in's check for sigsetjmp to properly deal
669         with systems like Linux where it is a macro. From
670         <elleron@servtech.com>.
671
672         * Fixed a bug in whatnow that could cause it to sometimes exit
673         without prompting the user. Based on a patch by Richard Geiger
674         <rmg@netapp.com>.
675
676         * Added code to deal with SIGPIPE in mhl so it doesn't print
677         "Broken pipe" if you quit out of the moreproc.
678
679         * Documentation: Added a note to MACHINES about Irix make. Added a
680         pointer to the online copy of the MH book in INSTALL. Added
681         some additional information to the whatnow and packf man pages,
682         suggested by Jerry Peek <jpeek@jpeek.com>.
683
684         * Updated INSTALL, FAQ, etc to not refer to Richard as the
685         maintainer or math.gatech.edu as the home any more.
686
687 1999-02-06  Richard Coleman  <coleman@math.gatech.edu>
688
689         * Released nmh-1.0.
690
691         * Merged mbx_open and mbx_Xopen in dropsbr.c.  Fixed
692           mbx_open so that the mode of zero length maildrops
693           would not be changed.
694
695         * Replaced the substitute version of snprintf() with the
696           one from the Apache web server.
697
698         * Changed to default mode for creating new messages to 0600
699           (this should have been done a long time ago).
700
701         * Changed "flist" to handle searching for multiple sequences
702           for each folder.  Also flist will now correctly split
703           Unseen-Sequence if it consists of multiple sequences.
704
705         * Added new switches `-unlink' and `-nounlink' to "refile".
706
707         * Added new switches `-unlink' and `-nounlink' to "rmm".
708
709         * More cleanups of slocal output.  Changed adorn() to
710           send to stdout, instead of stderr (to match rest of
711           verbose printing).
712
713         * Merged mbx_create() into mbx_open, so that creating and
714           opening a nonexistent maildrop is done atomically.  This
715           removes a bad race condition.
716
717         * Fixed bug that caused slocal to be unable to save to MMDF
718           style drop file.
719
720         * Added new wrapper function usr_folder() to slocal.c to
721           handle adding message to folder (currently, it still uses
722           usr_pipe() to call rcvstore).
723
724         * seq_list() checks for empty folder before scanning for
725           sequence information.
726
727         * num_digits() in flist.c and folder.c now returns correct
728           value for 0.  Also added sanity check.
729
730         * folder_delmsgs() now correctly decrements internal message
731           count.
732
733         * Don't attempt to read sequence information if folder
734           is empty.
735
736         * Split seq_read into seq_public and seq_private.
737
738         * Small change to sigmsg.awk, since newer versions of gawk
739           interpret 034 as octal.
740
741         * In flist, don't scan for sequence information in empty folder.
742
743         * Updated mhn.defaults.sh to output profile entries for mhshow,
744           mhstore, and mhbuild.
745
746         * Changed configuration parameter "mhn-access-ftp" to
747           "nmh-access-ftp".  Updated man pages
748
749         * Moved the code in InitMultipart to reverse the order of the
750           parts in a multipart, into its own function "reverse_parts()".
751
752         * Changed code in mhbuildsbr.c to store unencoded content
753           in the c_cefile structure when building.
754
755         * Changed code in mhoutsbr.c to look for unencoded content
756           in the c_cefile structure when outputing message.
757
758         * Changed configuration parameter "mhn-cache" and
759           "mhn-private-cache", to "nmh-cache" and "nmh-private-cache",
760           since it is used in mhstore, mhlist, and mhshow.  Updated man pages
761
762         * Change configuration parameter "mhn-storage" to
763           "nmh-storage", since it is now used in mhstore, mhlist,
764           and mhshow.  Updated man pages
765
766         * Add autoconf support for KPOP (kerberized pop).
767
768         * Add autoconf support for Hesiod.
769
770         * Split routines to output a message given a Content structure
771           (output_message, output_content, write7Bit, etc..) to a new
772           file "mhoutsbr.c".
773
774         * Split output_content(), into output_content() and build_headers().
775
776         * Changed copy_some_headers() in mhstoresbr.c, to use the linked
777           list of header fields, rather than reopening the message.
778
779         * Added free_header() to mhfree.c to free structures containing
780           header field information.
781
782         * Changed get_content() to use the linked list of header fields
783           when parsing the various MIME headers (Content-XXX).
784
785         * Changed get_content() to store linked list of header field
786           values when parsing a content.
787
788         * Changed mhbuild, mhn, mhlist, mhshow, mhstore, to use the
789           routines in mhcachesbr.c to handle the content cache.
790
791         * Split various funtions (find_cache, find_cache_aux, find_cache_aux2,
792           cache_content) into new file mhcachesbr.c.
793
794         * More calls to sprintf/strcpy (primarily in mhparse.c
795           and mhbuildsbr.c) converted to snprintf/strncpy.
796
797         * When a message is displayed with `mhshow', it is now
798           removed from the "unseen" sequence.
799
800         * Change the default "showmimeproc" to "mhshow".
801
802         * Split "mhn -show" off into separate command "mhshow".
803
804         * Split "mhn -store" off into separate command "mhstore".
805
806         * Split "mhn -list" off into separate command "mhlist".
807
808         * Add sanity checks to context_find(), context_replace(),
809           and context_del(), to abort if context file hasn't been
810           read.
811
812         * Add calls to context_read(), to the beginning of all nmh
813           commands (instead of being called indirectly by context_find).
814
815         * Changes the "substitute" version of vsnprintf/snprintf for
816           operating systems without native versions, to just call the
817           native vsprintf(), and ignore the buffer length.   This is
818           faster, but less secure than the previous version that used
819           temporary files.  This should only be a problem for systems
820           which do not have a native snprintf(), and require `inc' to
821           be setuid/setgid.
822
823         * Lots more calls to sprintf/strcpy converted to snprintf/strncpy.
824
825         * Changes client() routine to take additional parameter, which is
826           the buffer length of the parameter "response".  Then added
827           buffer length checks for this parameter.
828
829         * Changed getws() to get_fields(), since that is apparently the
830           name of a wide character version of gets() on some archetitures.
831
832         * Lots of sprintf/strcpy calls converted to snprintf/strncpy.
833
834         * Change the code in most of the commands that take multiple
835           message names/sequences/ranges on the command, such that
836           the msgs array is expanded dynamically.  This removes most
837           of the limits on the length of command lines.
838
839         * Add additional parameter to copyip(), to specify the
840           maximum number of strings that can be copied (security
841           fix).
842
843         * Create new function getarguments(), to massage the argument
844           vector before parsing it (add any arguments from your
845           profile to the beginning of the argument vector).  This
846           also removed the general limit on the number of command line
847           arguments.
848
849 1998-07-04  Richard Coleman  <coleman@math.gatech.edu>
850
851         * Released nmh-0.27.
852
853         * Added a new command "delete", that is available during
854           a "whatnow" session.  It is equivalent to "quit -delete".
855
856         * Added another parameter to editfile (in whatnowsbr.c),
857           that controls whether editfile should remember the last
858           program that was exec'ed.  This way the whatnow command
859           "mime", will not be re-executed if "edit" is later given
860           with no arguments.
861
862         * Changed whatnowsbr.c, so that whatnow doesn't abort if
863           mhbuild returns an error.
864
865         * Added parameter to sendsbr(), so you may specify whether to
866           rename the draft file.
867
868         * Pass delay time to splitmsg() as a parameter, rather than
869           use a global variable.
870
871         * Moved code to rename draft file after sending message from
872           splitmsg and sendaux, to sendsbr.
873
874         * Removed all the code in viamail to split messages and then
875           mail them.  Replaced this with the standard sendsbr.c routines.
876
877         * Changed sendsbr(), so that when splitting messages into
878           messages of type "message/partial", the header fields that
879           are copied are more compliant with RFC-2046.
880
881         * Fixed mhbuild to track temporary files better.  They are
882           now correctly removed when mhbuild aborts.
883
884         * Created a new man page for "sendfiles".  The information
885           about "mhn -viamail" in the "mhn" man page was moved to
886           this new page.
887
888         * Changed the name of the "viamail" shell script to
889           "sendfiles".  Modified "sendfiles" to use the new
890           viamail program.
891
892         * Moved the functionality for "mhn -viamail" out of mhn,
893           and into a separate executable called "viamail".
894
895         * When storing MIME contents to a folder using mhn -store,
896           they are now accumulated in a temporary file, and then added
897           to the folder using folder_addmsg().
898
899         * Moved code to save content to a folder from store_content
900           to new function output_content_folder.
901
902         * Moved code to save content to file from store_content to
903           new function output_content_file.
904
905         * Moved code to parse storage format string from store_content
906           to new function parse_format_string.
907
908         * Fix copy_some_headers() in mhstoresbr.c, so that the
909           correct header fields in the first enclosing message/partial
910           will be copied (according to RFC2046), when using mhn -store
911           to reassemble messages of type message/partial.
912
913         * Fixed bug to openFTP() in mhparse.c, that caused the
914           tmp file to not be removed, when transferring a
915           message/external file from ftp.
916
917         * Moved the code in mhparse.c to process -auto switch (scan
918           contents for the attribute "name"), to a new function
919           "get_storeproc" in mhstoresbr.c.
920
921         * Moved routines to free data structures related to MIME
922           content from mhparse.c and mhbuildsbr.c, to new file
923           mhfree.c.
924
925         * Moved code to show/display MIME content into new
926           file mhshowsbr.c.
927
928         * Moved code to store MIME content from into
929           new file mhstoresbr.c
930
931         * Moved code to parse MIME content into new
932           file mhparse.c.
933
934         * Moved code to list information about MIME content
935           into new file mhlistsbr.c.
936
937         * Move part_ok(), type_ok(), content_error(), flush_errors(),
938           and set_endian() to new file mhmisc.c.
939
940         * Start to isolate the code to show, list, and store MIME
941           messages.  One side effect is that only one flag (-show,
942           -list, or -store) can be used at a time now.
943
944         * mhn -store -auto wasn't storing file in correct directory.
945
946         * Removed a few dead variables from sbr/ruserpass.c
947
948         * move code for creating tmp files, and renaming the
949           the composition draft in mhbuild, from build_mime()
950           to main().
951
952         * remove left-over code in mhbuild.c, mhbuildsbr.c, for
953           the -[no]auto switch (which isn't used in mhbuild).
954
955         * split mhn.c into mhn.c and mhnsbr.c (name later changed
956           to mhparse.c).
957
958         * split mhbuild.c into mhbuild.c and mhbuildsbr.c.
959
960 1998-05-25  Richard Coleman  <coleman@math.gatech.edu>
961
962         * Released nmh-0.26.
963
964         * Added (unlisted) options [no]dashstuffing to send, post,
965           and whatnow to determine whether to do RFC934 quoting
966           (dashstuffing) for encapsulated BCC messages.  The default
967           is still the same (dashstuffing).
968
969         * Changed the undocumented feature "nodashmunging" in forw
970           and mhl, into the documented feature "nodashstuffing".  The
971           default for forw, is still "dashstuffing" for backward
972           compatibility, although I don't believe that bursting
973           RFC934 digests is very common anymore.
974
975         * Added an option to define REALLYDUMB in the default config.h.
976           But it is not on by default.
977
978         * moved creation of config file mts.conf from zotnet/mts
979           to etc.  This simplified the Makefile in zotnet/mts.
980
981         * simplified directory support/general to etc.
982
983         * removed unneeded directory support/bboards.
984
985         * split getusername() into getusername() and getuserinfo().
986
987         * Changed getusr() routine to getusername().
988
989         * Slight cleanup in folder_pack.c on code that records the new
990           number of the "cur" message when packing.
991
992 1998-05-08  Richard Coleman  <coleman@math.gatech.edu>
993
994         * Released nmh-0.25.
995
996         * Change install process, so that hard linking the correct mts
997           library to libmts.a, is not necessary.  The final link process
998           uses the original name of the library.
999
1000         * Fixed bug in flist.c and folder.c, so that symbolic links which
1001           point to directories, will not decrement the number of directory
1002           links remaining.
1003
1004         * Split the function list_content (in mhn.c and mhbuild.c) into
1005           list_content and list_debug.
1006
1007         * Don't pack (folder -pack) an empty folder.
1008
1009         * Exit gracefully in flist.c, if no sequence is specified,
1010           and no "Unseen-Sequence" is given in nmh profile.
1011
1012 1998-02-27  Richard Coleman  <coleman@math.gatech.edu>
1013
1014         * Released nmh-0.24.
1015
1016         * Small clarification to the man page for `ali'.
1017
1018         * Fix bug in inc.c so that if both flags `-file' and `-truncate'
1019           are given, that order doesn't matter.
1020
1021         * Fix bug in seq_list.c when realloc'ing for
1022           large sequence line.
1023
1024 1998-02-23  Richard Coleman  <coleman@math.gatech.edu>
1025
1026         * Released nmh-0.23.
1027
1028         * Add new section on "Transfer Encodings" to man page for mhbuild.
1029
1030         * In mhbuild.c, split compose_content into compose_content
1031           (parse and execute composition string), and scan_content (scan
1032           content, decided transfer encoding, check for clash with boundary
1033           string).  I did a good amount of rearranging of this code.
1034
1035         * Moved definitions for data structures for parsing MIME
1036           messages from mhn.c and mhbuild.c to a new include
1037           file h/mhnsbr.h.
1038
1039         * Small amount of rearranging in sendsbr.c
1040
1041         * Small changes to MAIL.FILTERING file.
1042
1043         * Add the file MAIL.FILTERING to nmh distribution.
1044
1045         * Add line to packf so that if message begins with
1046           "X-Envelope-From:" field, it is converted to "From ".
1047
1048         * Fix packf to add "From " line to beginning of message,
1049           even if Return-Path doesn't exist.
1050
1051         * Add note to MACHINES file that on Linux, configure
1052           doesn't find the functions sigsetjmp/siglongjmp.
1053
1054         * Fix configuration for machines that don't have (or find)
1055           sigsetjmp/siglongjmp.
1056
1057 1998-02-11  Richard Coleman  <coleman@math.gatech.edu>
1058
1059         * Released nmh-0.22.
1060
1061         * Add a configure check for sigsetjmp.  Add some conditional
1062           #define's in h/signals.h in case it's not found.
1063
1064         * Added additional notes about -auto switch in mhn man page.
1065
1066         * Added note about MM_CHARSET environment variable to
1067           mh-profile(5) man page.
1068
1069         * Fix signal problem in mhn.c (change setjmp/longjmp to
1070           sigsetjmp/siglongjmp).
1071
1072 1998-02-09  Richard Coleman  <coleman@math.gatech.edu>
1073
1074         * Released nmh-0.22-pre1.
1075
1076         * Changed the first line in mhl.format from
1077           " -- using template mhl.format -- " to a blank line.
1078
1079         * Added note about automimeproc to mh-profile man page.
1080
1081         * Reorganize the main entry point for parsing a MIME message
1082           or file in mhn.  Add new function parse_file() as new main
1083           entry point for parsing MIME files.
1084
1085         * Add note to mhn man page, that "mhn -file -" will accept the
1086           source message on the standard input.
1087
1088         * Changed a sanity check in folder_realloc that was too strict.
1089
1090         * -norfc934mode is now the default for mhbuild,
1091           rather than -rfc934mode.
1092
1093         * Fix mhbuild, so that Content-Description and RFC-822 comments
1094           from #forw directive will be correctly included if there is
1095           only one message.
1096
1097         * Change mhn to correctly default parts of multipart/digest to
1098           message/rfc822 (leftover code from rfc934mode was removed).
1099
1100         * Restore HP specific code to zotnet/tws/lexstring.c.  Apparently
1101           it is still needed.
1102
1103 1998-02-06  Richard Coleman  <coleman@math.gatech.edu>
1104
1105         * Released nmh-0.21.
1106
1107         * If the file given to mhbuild is "-", then accept the draft on
1108           standard input, and output the MIME message to standard output.
1109
1110         * Cleaned up code in mhbuild.c that decides what transfer
1111           encoding to use.
1112
1113         * Cleaned up code in mhbuild.c that decides what character set
1114           to use for text contents.
1115
1116         * Removed old hpux specific code from zotnet/tws/lexstring.c
1117
1118 1998-02-02  Richard Coleman  <coleman@math.gatech.edu>
1119
1120         * Released nmh-0.21-pre2.
1121
1122         * Added the "decode" variable to mhl.format and mhl.header.
1123
1124         * Added new variable "decode" to mhlsbr.c to decode text in
1125           header fields as per RFC-2047.
1126
1127         * Make sure that when decoding RFC-2047 header fields, that any
1128           spaces at the ends of the encoded text are not ignored, but the
1129           spaces between encoded word are.
1130
1131         * Removed #ifdef's for MIME.  MIME support is always compiled in.
1132
1133         * scan/inc will now decode both Subject and From lines as
1134           RFC-2047 encoded header fields.
1135
1136         * Added new function write_charset_8bit() to sbr.  It returns
1137           the character set to use for 8bit text in composition draft.
1138           Changed mhbuild to use this function.
1139
1140         * Split mhn man page into man pages for mhn and mhbuild.
1141
1142         * mhn -show will only now only use default method for content
1143           of type plain, if it is NOT a part of a multipart/alternative.
1144
1145         * Split mhn -build into mhbuild.  Did some code cleanup.
1146
1147         * Added support for %(decode) to fmtdump.c.
1148
1149         * check_charset() now accepts US-ASCII as a subset of any
1150           ISO-8859-X character set.
1151
1152         * Changed the default "showproc" to mhl, instead of the
1153           pager more.
1154
1155         * When reading file into mhn composition file, only need read
1156           permissions, not write permissions.
1157
1158         * Added own version of strcasecmp to distribution, since
1159           nmh calls it frequently with NULL pointers (ughh).
1160
1161         * Replaced uleq.c with strcasecmp.  Removed uleq.c from
1162           distribution.
1163
1164 1998-01-22  Richard Coleman  <coleman@math.gatech.edu>
1165
1166         * Released nmh-0.21-pre1.
1167
1168         * If a message is missing charset parameter to text/plain, show
1169           will assume US-ASCII, rather than just calling showmimeproc.
1170
1171         * Change show.c and mshcmds.c to use check_charset to see if text
1172           message contains valid character set.
1173
1174         * Added new scan format file "scan.nomime" to support/general
1175           that doesn't do any RFC-2047 decoding.
1176
1177         * Modified all the scan format files in support/general to do
1178           RFC-2047 decoding of Subject field.
1179
1180         * Did more work on sbr/fmt_rfc2047.c, so that it will correctly
1181           ignore whitespace between two valid encoded words, but not
1182           between an encoded word and normal text.
1183
1184         * Created new file sbr/check_charset.c.  Moved code from
1185           fmt_rfc2047.c to check for valid character set to this file.
1186
1187         * Added format escape %(decode) to decode contents of "str" register
1188           as a RFC-2047 header field.
1189
1190         * The command install-mh now recognizes the switches -version
1191           and -help.
1192
1193         * Added a new argument to print_help.c to decide whether to
1194           print profile entries (needed for install-mh to prevent weird
1195           loops).
1196
1197         * Changed folder_read.c and folder_realloc.c so that mp->lowoff
1198           is initialize to max (mp->lowmsg, 1) rather than always 1.
1199
1200         * Changed macros for sequence/attribute manipulation so that
1201           message status array doesn't need to always start at 1.
1202
1203         * Small cleanups in folder_realloc().
1204
1205 1998-01-09  Richard Coleman  <coleman@math.gatech.edu>
1206
1207         * Released nmh-0.20.
1208
1209         * Added configure option --with-pager=PAGER.
1210
1211         * Added configure option --with-editor=EDITOR.
1212
1213         * Changed the default format file for mhl (mhl.format) to
1214           also ignore (not display) the header fields Content-Type,
1215           Content-Transfer-Encoding, and Content-ID
1216
1217         * Fixed core dump in addrsbr.c when using %(proper) format function
1218           and the To: line was missing.
1219
1220         * Added the file ZSH.COMPLETION to the distribution.
1221
1222 1998-01-04  Richard Coleman  <coleman@math.gatech.edu>
1223
1224         * Released nmh-0.20-pre2.
1225
1226         * Added new switch -snoop to both `msgchk' and `inc', so you can
1227           watch the POP transaction.
1228
1229         * Changed "replgroupcomps" to check for Mail-Followup-To header
1230           first, and use it if available.
1231
1232         * Changed "replcomps" to check for Mail-Reply-To header
1233           first, and use it if available.
1234
1235 1998-01-03  Richard Coleman  <coleman@math.gatech.edu>
1236
1237         * Released nmh-0.20-pre1.
1238
1239         * Changed seq_list.c to dynamically enlarge the buffer for
1240           collecting the message ranges in a long sequence line.
1241           This should remove the last hard limit on the size of a
1242           sequence line.
1243
1244         * Changed seq_read.c so that can read long sequence lines.
1245           It will use multiple calls to m_getfld() when m_getfld()
1246           returns the state FLDPLUS.
1247
1248         * Changed brkstring.c to dynamically add more space for pointers
1249           if necessary.  This is needed when splitting up large sequence
1250           lines.
1251
1252         * Did some small cleanups in seq_save.c.
1253
1254         * Added new switches `-[no]unseen' to rcvstore, to control
1255           whether new messages are added to Unseen-Sequence.
1256
1257         * Moved locking routines (zotnet/mts/lock.c) to sbr/lock_file.c
1258
1259         * Changed the internal UNSEEN flag to SELECT_UNSEEN which is
1260           more appropriate.  Changed the MHPATH flag to ALLOW_NEW.
1261
1262         * Changed "replcomps" to not include CC and TO lines so that
1263           that reply message is only directed at the author of the
1264           message to which you are replying.
1265
1266         * Added new switch `-group' to command repl, which causes repl
1267           to use new forms file "replgroupcomps".  This is intended for
1268           making group replies.
1269
1270         * Removed #ifdef for ATHENA.
1271
1272 1997-12-28  Richard Coleman  <coleman@math.gatech.edu>
1273
1274         * Released nmh-0.19.
1275
1276         * Fix repl,forw so that switch `-form file' will not abort
1277           as ambiguious (silly mistake on my part).
1278
1279         * Cleaned up the mhn man page.  Added info about a few escapes
1280           for the formatting/display strings that were not documented
1281           (%%, %t).  Moved the BNF grammar for the mime composition file,
1282           to the end of the man page.
1283
1284         * Added the options -[no]format to the command repl.  The
1285           switch `-format' will filter the message to which you are
1286           replying with the standard message filter "mhl.reply", which
1287           is now included in the distribution.  The `-noformat' option
1288           will negate the use of -format or -filter and not include
1289           the message to which you are replying in the draft.
1290
1291         * Did some cleaning and reorganization on many of the man
1292           pages.
1293
1294         * Added debugging switch `-debug' to mhparam, which displays
1295           the values of all `procs' (and some other misc configuration
1296           info) that nmh keeps in global variables.
1297
1298         * When using `refile -preserve', if a conflict occurs, then use
1299           the next available number above the message number you wish
1300           to preserve.
1301
1302         * In forw.c, split the code for creating MIME style forwarding
1303           out of copy_draft, and into copy_mime_draft.
1304
1305         * Move routines in mark.c to print sequences, into new
1306           file sbr/seq_print.c
1307
1308         * flist will now update the current folder.
1309
1310         * Added the switches -[no]fast to flist, to replace
1311           -[no]total.  The previous switches are still accepted
1312           but now undocumented.
1313
1314         * More reorganization in flist of the code for
1315           traversing folders.
1316
1317         * The command "flist +foo -all" will now scan the folder
1318           "foo" and all its 1st level children.
1319
1320         * Add missing include file <h/mh.h> to sbr/snprintf.c
1321
1322         * Fix alarm bug in rcvtty, so that when it calls external
1323           process, the alarm is never longer than 30 minutes.
1324
1325 1997-12-17  Richard Coleman  <coleman@math.gatech.edu>
1326
1327         * Released nmh-0.18.
1328
1329         * Fixed bug in mark, so that "mark -list -seq foo" will
1330           correctly indicate if "foo" is a private sequence.  I found
1331           this bug mentioned in Jerry Peek's book.
1332
1333         * Simplified the code in seq_setcur(), since seq_addmsg() now
1334           retains the public/private status of sequences.
1335
1336         * Changed sequence handling so that if the switches -public
1337           or -nopublic, are not specified for the commands mark, pick,
1338           or rcvstore, then existing sequences will retain their
1339           previous public/private status.
1340
1341         * mhparam now handles the mh-sequences profile entry
1342           correctly.
1343
1344         * flist -all will now also check readonly folders (for
1345           private sequences).
1346
1347         * Improve the leaf optimization for folder command.
1348           It will now track the number of directories in a folder,
1349           and stop stat'ing files once it has hit all the subfolders.
1350
1351         * Renamed m_getfolder to getfolder.  Changed getfolder to
1352           take option to determine whether it should get current
1353           folder, or just default folder (Inbox).  Changed rcvstore,
1354           inc, and rmf to use the new getfolder.
1355
1356         * flist now indicates if a sequence is private.
1357
1358         * Change WUNTRACED to 0, in pidwait.c, so that commands will
1359           wait for stopped processes.
1360
1361         * conflict will dynamically allocate space for group names,
1362           so it can now handle system with more than 100 groups.
1363
1364 1997-12-09  Richard Coleman  <coleman@math.gatech.edu>
1365
1366         * Released nmh-0.18-pre4.
1367
1368         * Check if we have enough message status space, before we
1369           call folder_realloc() in burst, mhpath, and m_draft().
1370
1371         * mhn will now correctly identify a formatting string of "-"
1372           for the option -store, and send content to stdout.
1373
1374         * Change the way that memory for message status is
1375           allocated.  It is dynamcially allocated separately from
1376           the folder/message structure.  This required changing
1377           folder_read.c, folder_realloc.c, folder_free.c.
1378
1379         * Removed all the MTR code (experimental code for message
1380           status allocation).
1381
1382         * Renamed m_readfolder.c to folder_read.c and simplified
1383           the code.
1384
1385         * Renamed m_freefolder.c to folder_free.c.
1386
1387         * Add function trim() to slocal.c to pretty print
1388           the debugging output.
1389
1390         * Changed the name of m_packfolder() to folder_pack().
1391           Changed the name of m_remsg() to folder_realloc().
1392
1393 Wed Dec  3 23:33:38 1997  Richard Coleman  <coleman@math.gatech.edu>
1394
1395         * Released nmh-0.18-pre3.
1396
1397         * Changed installation to add `flists' which is hard linked
1398           to `flist'.  This is a equivalent to `flist -all'.
1399
1400         * For flist, -showzero is on by default.
1401
1402         * Major changes to flist.  Default is now for flist to search
1403           current folder.  The switch `-all' is now used to specify
1404           searching all top level folders.  The new switch `-showzero'
1405           is used to print out folders that don't contain any messages
1406           in the given sequence.
1407
1408         * Split BuildFolderList in flist.c into 2 functions
1409           (BuildFolderList, BuildFolderListR).  Changed these functions
1410           so that flist now does better leaf optimization, and will stop
1411           stat'ing directory entries when it knows it has hit all the
1412           subdirectories of a given directory.
1413
1414         * Reorganized code in folder.c, so that all relevant folders
1415           are scanned first and information recorded.  Then all the
1416           folder summaries at printed out at one time.
1417
1418         * Made the options of folder(s) more orthogonal.  Now
1419           "folder -all -noheader -nototal" will do the right thing.
1420
1421         * Added `-noall' switch to folder, for completeness.
1422
1423         * Changed the default mode for creation of new folders
1424           to 0700 (was 0711).
1425
1426         * Slightly changed the format for flist.  It now indicates
1427           if a folder is current.  Also the width of the various
1428           fields are now calculated at runtime.
1429
1430         * Changed the format for folder(s).  Folder names
1431           are now left justified.  The width of the various fields
1432           are calculated at runtime.
1433
1434 Sun Nov 30 19:14:53 1997  Richard Coleman  <coleman@math.gatech.edu>
1435
1436         * Released nmh-0.18-pre2.
1437
1438         * Add paragraph to man page for install-mh and to INSTALL file
1439           about checking for global mh.profile.
1440
1441         * Renamed m_find() to context_find().
1442           Renamed m_replace() to context_replace().
1443           Renamed m_delete() to context_del().
1444           Renamed m_update() to context_save().
1445           Renamed m_getdefs() to context_read().
1446           Renamed m_foil() to context_foil().
1447
1448         * Change rcvstore to use routine folder_addmsg(), instead of
1449           adding message to folder itself.
1450
1451         * Changed refile, so that if the switch -preserve is used,
1452           and a conflict occurs for a particular folder, then folder_addmsg()
1453           will just use next highest available number for that folder,
1454           instead of exiting.
1455
1456         * Make folder_addmsg() more robust.  It will make repeated
1457           attempts to link file into folder if link returns with
1458           the error EEXIST.
1459
1460         * Fix bug, so that that if forking sendmail, HELO will be sent
1461           unless clientname: option is defined but empty (so now it
1462           is the same as the direct smtp code).
1463
1464         * Changed sprintb to snprintb (now we pass the buffer length
1465           to new routine).  Changed code to use new function.
1466
1467         * Added snprintf to sbr. Added configure check to build it
1468           if you don't have a native version (but haven't changed much
1469           code to use it yet).
1470
1471 Thu Nov 13 18:42:18 1997  Richard Coleman  <coleman@math.gatech.edu>
1472
1473         * Released nmh-0.18-pre1.
1474
1475         * Fixed alarm bug in slocal, so that alarm is never
1476           called with a value larger than 30 mintues.
1477
1478         * Fixed race condition in rmm and refile, so that
1479           context is updated before external rmmproc is called.
1480
1481         * Removed all the OVERHEAD code.
1482
1483         * Move code to add message to folder from refile.c
1484           to folder_addmsg.c
1485
1486 Fri Jul 25 19:39:29 1997  Richard Coleman  <coleman@math.gatech.edu>
1487
1488         * Did some rearranging of the internals of inc.c.
1489
1490         * Make -inplace the default for anno, forw, dist, and repl.
1491
1492         * Changed --enable-smtp to --with-mts={smtp,sendmail}
1493
1494         * Created new directory mts/sendmail for direct sendmail
1495           interface (although it currently still uses SMTP).
1496
1497         * Removed all the TMA (trusted mail agent) code
1498
1499         * Removed all the TTYD (terminal access daemon) code
1500
1501         * Removed all the MF (uucp filtering) code.
1502
1503         * Removed all the code for BERK.
1504
1505         * Removed all the code for stand-alone delivery (MHMTS).
1506
1507         * Split the file mts/sendmail/smail.c into sendmail.c and
1508           smtp.c.  Changed the name of the directory to mts/smtp.
1509
1510         * Changed autoconf to use @sysconfdir@ for location of
1511           configuration files.
1512
1513         * Changed #define in mhn.c from FTP to BUILTIN_FTP.
1514
1515 Mon Jul 21 03:22:34 1997  Richard Coleman  <coleman@math.gatech.edu>
1516
1517         * Released nmh-0.17.
1518
1519         * MAKEDEFS weren't passed down to recursive makes correctly.
1520
1521         * slocal.c now checks for UTMP_FILE and _PATH_UTMP instead
1522           of hard-coding "/etc/utmp".
1523
1524         * rcvtty.c check for _PATH_UTMP if UTMP_FILE is not
1525           defined.
1526
1527         * Remove configure checks for ulong and ushort.  Changed
1528           code to just use unsigned {short, long}.
1529
1530         * Change addmsg function in refile.c to return new
1531           number of refiled message.
1532
1533         * Added check in get_returnpath for empty unixbuf.
1534
1535         * Cleanup of sbr/pidstatus to use more POSIX macros
1536           for return value of wait().
1537
1538         * Change configure to also check /bin for "more".
1539
1540 Sat Jul 12 00:02:23 1997  Richard Coleman  <coleman@math.gatech.edu>
1541
1542         * Released nmh-0.16.
1543
1544 Mon Jun 23 20:13:24 1997  Richard Coleman  <coleman@math.gatech.edu>
1545
1546         * Added automimeproc, which should replace automhnproc.
1547
1548         * multipart messages will no longer abort for messages
1549           of type 8bit or binary (although we still can't really
1550           deal with binary messages, yet).
1551
1552         * Fix double free of c_storage.  From John MacMillan.
1553
1554         * mhn now treats unknown subtypes of "text" as text/plain.
1555
1556         * mhn changed so that specifying mhn-show-multipart, or
1557           mhn-show-multipart/{mixed, alternate, etc...) will override
1558           the use of the internal method for displaying these types.
1559           Previously mhn would always use the internal method for subtypes
1560           mixed, alternate, digest, and parallel (even if an alternate
1561           method was specified in mhn.defaults).
1562
1563         * mhn show treats unknown subtypes of multipart, as type
1564           multipart/mixed (as specified RFC2046).
1565
1566         * mhn checks for the parameter "name" rather than "x-name".
1567           From MH-6.8.4 patch.
1568
1569         * Fix double free of ctinfo in user_content when using
1570           #forw with single message.  From John MacMillan (and
1571           MH-6.8.4 patch).
1572
1573         * Changed -mhnproc switch for show, to -showmimeproc.
1574
1575         * Changed profile entry "mhnproc" to "showmimeproc".
1576
1577         * Added "mime" option to "whatnow", which calls the program
1578           "buildmimeproc" (default is mhn -build) to process MIME
1579            composition files.
1580
1581         * Added -build switch to mhn, to process MIME composition
1582           files.
1583
1584         * Did some reorganizing of mhn.c.
1585
1586         * Changed casting in mts/sendmail/smail.c from (char) to
1587           (signed char) so SMTP reply codes work correctly for machines
1588           which used unsigned chars by default.
1589
1590 Sat Jun 21 01:21:47 1997  Richard Coleman  <coleman@math.gatech.edu>
1591
1592         * Released nmh-0.15.
1593
1594         * Added new form "scan.unseen" to distribution.  It marks messages
1595           which are in any sequence in Unseen-Sequence.
1596
1597         * Do some rearranging of date/time code in zotnet/tws/dtime.c
1598
1599         * Fix sign extension bugs in fmt_scan.c.
1600
1601         * Fix m_atoi.c so that strings ending in non-digit characters
1602           return 0.
1603
1604         * Split code in burst.c so that finding delimiters of digested
1605           messages and bursting a message into multiple messages are
1606           two separate functions (find_delim and burst).
1607
1608         * Add workaround fo AC_PATH_PROG in configure.in, so
1609           that BSD4.4 machines can find sendmail, vi, more.
1610
1611         * Added "-width" option to rcvtty.
1612
1613         * Change a few variable names in zotnet/mts/client.c since
1614           they conflict with defines on AIX.
1615
1616         * Makefile in zotnet/tws assumes lexing of dtimep.lex was
1617           unsuccessful if resulting file is less than 500 lines long
1618           (rather than 10, which was previous value), since AIX
1619           sed gives mangled file of about 200 lines.
1620
1621         * Extract code in rcvstore.c to link message into folder,
1622           and put in own subroutine.
1623
1624         * Extract code in refile.c to link message into folder,
1625           and put in own subroutine.
1626
1627         * Moved code to remove messages from folder into own
1628           routine "folder_delmsgs" in sbr.  Changed rmm.c and
1629           refile.c to use new routine.
1630
1631 Fri May 16 06:09:31 1997  Richard Coleman  <coleman@math.gatech.edu>
1632
1633         * Renamed m_seqok to seq_nameok.
1634
1635         * Changed m_setunseen, msh, mshcmds, flist, and scan to use
1636           seq_getnum.
1637
1638         * Changed m_seqflag to return the number of a sequence rather
1639           than its bit flag.  Changed its name to seq_getnum and renamed
1640           file to sbr/seq_getnum.c.
1641
1642         * Removed function m_seqnew and file sbr/m_seqnew.c since it is
1643           no longer used.
1644
1645         * Added zero switch to m_seqadd function to zero out bits before
1646           adding message to sequence.
1647
1648         * Renamed function m_setvis to m_setunseen, and renamed
1649           corresponding file in sbr.
1650
1651         * Renamed function m_setseq to m_setprev, and renamed corresponding
1652           file in sbr.
1653
1654         * Changed mark.c and pick.c to use m_seqaddsel and m_seqdelsel.
1655
1656         * Added new function m_seqdelsel to m_seqdel.c, which deletes
1657           all selected messages from a sequence.
1658
1659         * Added new function m_seqaddsel to m_seqadd.c, which adds all
1660           selected messages to a sequence.
1661
1662         * Split sbr/m_seqnew.c into m_seqadd.c, m_seqdel.c, m_seqnew.c,
1663           and m_seqok.c.
1664
1665 Thu May 15 00:53:17 1997  Richard Coleman  <coleman@math.gatech.edu>
1666
1667         * Renamed function pack_folder to m_packfolder, and moved it
1668           from uip/folder.c into its own file sbr/m_packfolder.c
1669
1670 Wed May 14 23:38:00 1997  Richard Coleman  <coleman@math.gatech.edu>
1671
1672         * Changed function m_gmsg to m_readfolder.  Renamed file
1673           sbr/m_gmsg.c to sbr/m_readfolder.c.
1674
1675 Mon May  5 19:57:11 1997  Richard Coleman  <coleman@math.gatech.edu>
1676
1677         * Expanded rcvtty man page, and added small patch from
1678           MH-6.8.4 distribution.
1679
1680 Fri May  2 15:24:34 1997  Richard Coleman  <coleman@math.gatech.edu>
1681
1682         * Released nmh-0.14.
1683
1684         * Comment out configure test and code for tgetent to allocate its
1685           own termcap buffer when passed a NULL argument.
1686
1687 Sat Apr 26 03:46:38 1997  Richard Coleman  <coleman@math.gatech.edu>
1688
1689         * Added new options `-checkmime', `-nocheckmime', and `-mhnproc'
1690           to show.  Restructured code to handle options to various
1691           `procs' better.  Deprecated `-noshowproc' option and NOMHNPROC
1692           environment variable.
1693
1694         * Added new man page `mh-draft' which documents the
1695           draft folder facility in nmh.
1696
1697         * Renamed fmtsbr.h to fmt_scan.h.  Renamed fmtcompile.h
1698           to fmt_compile.h.
1699
1700         * split fmtsbr.c into fmt_scan.c and fmt_new.c.  Renamed
1701           fmtcompile.c to fmt_compile.c, and formataddr.c to
1702           fmt_addr.c.
1703
1704         * `send -help' wasn't showing the -(no)mime and -split
1705           options.
1706
1707 Fri Apr 25 02:50:36 1997  Richard Coleman  <coleman@math.gatech.edu>
1708
1709         * Released nmh-0.13.
1710
1711         * Changed mhpath so it doesn't abort if a message sequence
1712           such as "mhpath all" expands to more than 1000 messages.
1713           Also mhpath now dynamically reallocated space for message
1714           names (The number of command line arguments is still limited
1715           to MAXARGS).
1716
1717         * Did some general restructuring of the code in folder.c
1718           that checks for folder information, and prints it.
1719
1720 Thu Apr 24 01:04:37 1997  Richard Coleman  <coleman@math.gatech.edu>
1721
1722         * Changed `folder' to reallocate space for folder names if
1723           necessary.  So `folders' can now handle more than 300 folders.
1724
1725 Tue Apr 22 14:01:26 1997  Richard Coleman  <coleman@math.gatech.edu>
1726
1727         * Change configure to use a compile check to see if the tm struct
1728           has tm_gmtoff, rather than using egrep.
1729
1730 Mon Apr 21 02:19:17 1997  Richard Coleman  <coleman@math.gatech.edu>
1731
1732         * Released nmh-0.12.
1733
1734         * Had set_exists and unset_exists macros backwards.
1735
1736         * Released nmh-0.11.
1737
1738 Thu Apr 10 02:39:53 1997  Richard Coleman  <coleman@math.gatech.edu>
1739
1740         * Added documentation to mh-profile.man about the various
1741           `procs' (mhlproc, showproc, lproc, etc...).
1742
1743         * Replace the bit twiddling for SELECTED, UNSEEN, and
1744           mp->attrstats with macros.
1745
1746         * If system doesn't have SIGEMT (like Linux), then use SIGTERM
1747           in msh.c instead.
1748
1749         * Change fstat to stat in m_gmsg.c since Linux wants
1750           to hide dd->dd_fd.
1751
1752         * Merge Linux patch sent in by Michel Oosterhof (original
1753           patch from bsa@kf8nh.wariat.org).
1754
1755         * Document an undocumented MH feature.  mhn -form mhl.null
1756           will suppress the display of the message header.
1757
1758         * mhparam will now return "mhparam etcdir".
1759
1760         * Add catproc to /config/config.c and use that in show.c
1761           and mshcmds.c, rather than hard coding in /bin/cat.
1762
1763         * Add mhnproc to the list of `procs' in mh-profile.man.
1764
1765         * Add configure test for lorder and tsort commands.
1766
1767         * Commented out the padding in the `msgs` struct in h/mh.h
1768
1769         * Change m_gmsg.c to allocate elements to the `info' array by
1770           500 elements at a time (rather than MAXFOLDERS / 5).
1771
1772         * Add note to man page for mhmail that zero length messages are
1773           not sent.  Need to use -body "" to send empty messages.
1774
1775         * zotnet/mts/mts.c : compare character with '\0', not NULL.
1776
1777         * sbr/getcpy.c : assign '\0' to character, not NULL.
1778
1779         * add m_fmsg to most programs in uip so that they explicitly free
1780           folder/message structure when done with folder.
1781
1782         * uip/slocal.c : cleanup processing of sender.  Make sure it is
1783           defined even if message is missing "From " line.
1784
1785 Mon Mar 31 03:37:35 1997  Richard Coleman  <coleman@math.gatech.edu>
1786
1787         * Released nmh-0.10.
1788
1789 Sun Mar 30 21:46:17 1997  Richard Coleman  <coleman@math.gatech.edu>
1790
1791         * Add configure check for <locale.h>.  Turn on LOCALE support
1792           by default.
1793
1794 Thu Mar 20 03:21:24 1997  Richard Coleman  <coleman@math.gatech.edu>
1795
1796         * Reversed previous decision to retain "From " lines in slocal.
1797           The "From " line is now removed from all messages.
1798
1799         * inc now saves the date from the "From " envelope in the
1800           Delivery-Date header for all messages.
1801
1802         * sbr/m_getfld.c: Clean up processing of Return-Path and
1803           Delivery-Date from the "From " envelope.
1804
1805 Mon Mar 17 19:03:36 1997  Richard Coleman  <coleman@math.gatech.edu>
1806
1807         * client.c: cast iaddr to int before comparing return value
1808           of inet_addr with NOTOK.
1809
1810 Tue Mar 11 04:38:10 1997  Richard Coleman  <coleman@math.gatech.edu>
1811
1812         * Grep test for signal names was failing on some OS'es because
1813           of missing tabs in regex.
1814
1815 Sat Mar  8 01:58:22 1997  Richard Coleman  <coleman@math.gatech.edu>
1816
1817         * Released nmh-0.09.
1818
1819         * Move config files and format files to *.old before installing.
1820
1821         * Add configure check for killpg.
1822
1823         * msh.c: include <termios.h> instead of <termio.h> and
1824           <sys/ioctl.h>.
1825
1826         * prompter.c: don't include <sys/ioctl.h> anymore.
1827
1828 Thu Mar  6 04:03:24 1997  Richard Coleman  <coleman@math.gatech.edu>
1829
1830         * Added `-mime' and `-nomime' options to `repl'.
1831           From MH-6.8.4 diff.
1832
1833 Tue Mar  4 03:10:37 1997  Richard Coleman  <coleman@math.gatech.edu>
1834
1835         * ruserpass.c : removed conflicting prototypes.
1836
1837         * rcvtty.c : Fixed rcvtty to obey terminal permissions granted
1838           by `mesg' command.  Previously only worked on BSD machines.
1839
1840 Mon Mar  3 00:18:59 1997  Richard Coleman  <coleman@math.gatech.edu>
1841
1842         * rcvtty.c : Changed to use #define UTMP_FILE (if exists) rather
1843           than hard coded "/etc/utmp".
1844
1845         * Released nmh-0.08.
1846
1847         * Changed slocal to lock .maildelivery (or file given by -maildelivery)
1848           when accessing ndbm/db file for duplicate suppression, instead of
1849           locking database itself.
1850
1851 Thu Feb 27 05:28:09 1997  Richard Coleman  <coleman@math.gatech.edu>
1852
1853         * Added slocal action `mmdf' to deliver to a file in mmdf format.
1854
1855         * Changed the slocal actions `file' and `>' to always deliver in
1856           mbox (uucp) format rather than be determined by RPATHS config
1857           option.
1858
1859         * Changed the slocal action `mbox' to deliver in mbox (uucp) format
1860           rather than mmdf format.
1861
1862         * slocal now adds Delivery-Date field to all messages (previously it
1863           only added it to messages when delivering them to a file). The
1864           "From " line is now retained on all messages if compiling with
1865           RPATHS, rather than being discarded.
1866
1867         * rcvpack no longer adds the Delivery-Date field to messages.
1868
1869 Sun Feb 23 22:03:54 1997  Richard Coleman  <coleman@math.gatech.edu>
1870
1871         * Removed the script packmbox, since it's functionality has been
1872           added to packf.
1873
1874         * Changed packf so that it uses mbox (uucp) format by default
1875           rather than mmdf format.  Added options -mbox and -mmdf to
1876           packf so you can choose the preferred format.
1877
1878         * Changed rcvpack so that it uses mbox (uucp) format by default
1879           rather than mmdf format.  Added options -mbox and -mmdf to
1880           rcvpack so you can choose the preferred format.
1881
1882 Tue Feb 18 00:01:05 1997  Richard Coleman  <coleman@math.gatech.edu>
1883
1884         * Changed nmh to use dot locking by default (although you
1885           can still easily change this in config.h).
1886
1887         * Simplified locking code.  Removed code allowing setting of
1888           locking type in mts.conf.  Now the locking type and locking
1889           directory (if any) can only be set at compile time.
1890
1891 Fri Feb 14 02:49:18 1997  Richard Coleman  <coleman@math.gatech.edu>
1892
1893         * Prefer getting timezone information from tm->gmtoff rather
1894           than tzset and external timezone variable.
1895
1896 Thu Feb 13 00:35:45 1997  Richard Coleman  <coleman@math.gatech.edu>
1897
1898         * Fixed typo in ruserpass.c in the variable toktabs.
1899
1900         * When ruserpass was added to LIBOBJS, it was missing
1901           the suffix.
1902
1903         * Released nmh-0.07.
1904
1905 Tue Feb 11 01:29:47 1997  Richard Coleman  <coleman@math.gatech.edu>
1906
1907         * Add check to configure, so that if ruserpass, or _ruserpass
1908           is not found, build version of ruserpass in sbr.
1909
1910         * Added define's to discard.c, m_getfld.c, and scansbr.c so
1911           the code that manipulates internals of stdio, will build
1912           on SCO 5.x.
1913
1914         * Added #define to control whether to compile the simple
1915           built-in FTP client in mhn.
1916
1917         * Added configure check for ushort and ulong.  Change code
1918           to use ushort/ulong rather than u_short/u_long.
1919
1920         * A couple of small cleanups in locking code.
1921
1922         * Added configure check for gmtoff element in struct tm.
1923
1924         * Added configure check for tzset.
1925
1926 Fri Feb  7 03:01:57 1997  Richard Coleman  <coleman@math.gatech.edu>
1927
1928         * Released nmh-0.06.
1929
1930         * Removed code for machines that don't have socket
1931           interface (how could they get mail anyway?).
1932
1933         * Removed code for BSD41 machines.  I don't think there are
1934           many such machines around anymore.
1935
1936         * Add configure check for function uname, and prefer it
1937           over gethostname.  General cleanup of zotnet/mts/mts.c.
1938
1939         * Change all `lseek' calls to use POSIX symbolic constants
1940           SEEK_SET, SEEK_CUR, SEEK_END.
1941
1942 Thu Feb  6 01:16:30 1997  Richard Coleman  <coleman@math.gatech.edu>
1943
1944         * Check lex generated file in zotnet/tws and use
1945           pre-generated version if necessary.
1946
1947         * Released nmh-0.05.
1948
1949         * Change to use reliable signals on all platforms that have
1950           sigaction.  Change so that interrupted system calls are
1951           restarted for all signals except SIGALRM.  This fixes alarm
1952           handling code in smail.c for BSD based systems.
1953
1954         * Added lorder and tsort commands so that created libs can
1955           be linked in one pass.
1956
1957 Tue Feb  4 01:33:00 1997  Richard Coleman  <coleman@math.gatech.edu>
1958
1959         * Changed pidwait so that while it is waiting for a child,
1960           it should block signals rather than ignore them.
1961
1962 Mon Feb  3 21:05:30 1997  Richard Coleman  <coleman@math.gatech.edu>
1963
1964         * Add checks to configure for dbm_open and -lndbm.
1965
1966 Thu Jan 30 05:15:42 1997  Richard Coleman  <coleman@math.gatech.edu>
1967
1968         * folder -pop and folder -push were freeing some memory too
1969           quickly, which caused the entry popped from the stack to not
1970           become the current folder.
1971
1972 Wed Jan 29 01:28:02 1997  Richard Coleman  <coleman@math.gatech.edu>
1973
1974         * Released nmh-0.04.
1975
1976         * Define ospeed and PC in termsbr.c is OS doesn't have
1977           it.
1978
1979 Sun Jan 26 20:25:10 1997  Richard Coleman  <coleman@math.gatech.edu>
1980
1981         * editfile will create a symbolic link to the altmsg if it
1982           can't make a link, on any machine supporting lstat.  Formerly
1983           this would happen only on BSD42 based machines.
1984
1985 Sat Jan 25 22:54:26 1997  Richard Coleman  <coleman@math.gatech.edu>
1986
1987         * traverse (in popsbr.c) wasn't calling va_start before using
1988           variable argument list.  Fixes core dump in inc when using POP.
1989
1990 Fri Jan 24 03:27:59 1997  Richard Coleman  <coleman@math.gatech.edu>
1991
1992         * The variable pass in remotemail needed to be set to
1993           NULL.  (From MH-6.8.4 diff).  Fixes core dump of msgchk when
1994           using POP.
1995
1996         * inc and msgchk were using -rpop by default when configured
1997           with POP support.  Default is now -norpop.
1998
1999 Thu Jan 23 02:01:17 1997  Richard Coleman  <coleman@math.gatech.edu>
2000
2001         * By default, post will now give the SMTP HELO command with
2002           the local hostname.  If you specify a hostname with the
2003           clientname: option in mts.conf file, post will give the
2004           HELO command with that name instead.  If the argument to the
2005           clientname: option is empty, no HELO command is given.
2006           (From the MH-6.8.4 diff)
2007
2008 Wed Jan 22 01:55:45 1997  Richard Coleman  <coleman@math.gatech.edu>
2009
2010         * When using `-help' for a command, it will also print its
2011           profile compents from .mh_profile. (From MH-6.8.4 diff)
2012
2013         * "slocal -file" will now correctly takes its input from
2014           a file (currently need to specify full path).
2015
2016 Sun Jan 19 20:37:21 1997  Richard Coleman  <coleman@math.gatech.edu>
2017
2018         * "slocal -debug" will now issue a warning if a non-blank
2019           line in the .maildelivery file has less than 5 fields.
2020
2021 Sat Jan 18 02:26:41 1997  Richard Coleman  <coleman@math.gatech.edu>
2022
2023         * Changed slocal so that code for duplicate suppression
2024           (MH config was MSGID) is always built. Added the options
2025           -[no]suppressdup to slocal to turn this on/off.
2026
2027 Thu Jan 16 00:26:34 1997  Richard Coleman  <coleman@math.gatech.edu>
2028
2029         * Released nmh-0.03.
2030
2031         * Fixed problem where mark would core dump if no
2032           .mh_sequence file existed.
2033
2034         * Fixed problem where slocal would core dump if -debug
2035           option was given, and certain headers were missing.
2036
2037         * Added patch to slocal to add `folder' (+) action, which
2038           is shorthand for piping message to rcvstore.  Updated
2039           man page.
2040
2041 Wed Jan 15 21:30:17 1997  Richard Coleman  <coleman@math.gatech.edu>
2042
2043         * Changed flist option -unseen to -[no]all.  Cleaned up
2044           flist man page.
2045
2046 Fri Jan 10 20:36:33 1997  Richard Coleman  <coleman@math.gatech.edu>
2047
2048         * Fixed flist.  Changed the profile component `Folder-Order'
2049           to `Flist-Order.  Added option `-sequence' to flist, so
2050           you can specify the name of the sequence to search for.
2051
2052 Thu Jan  9 00:20:48 1997  Richard Coleman  <coleman@math.gatech.edu>
2053
2054         * A few minor portability cleanups.  Changed to use PATH_MAX
2055           rather than MAXPATHLEN.  Don't assume ospeed variable exists
2056           in termsbr.c.  Removed some conflicting prototypes.
2057
2058 Wed Jan  8 11:05:02 1997  Richard Coleman  <coleman@math.gatech.edu>
2059
2060         * Add configure test to check if tgetent will accept NULL
2061           and allocate its own buffer.  Borrowed from zsh.
2062
2063         * Changed libpath to etcpath.
2064
2065 Mon Jan  6 04:15:35 1997  Richard Coleman  <coleman@math.gatech.edu>
2066
2067         * Cleaned up source code and Makefiles, so that if your `make'
2068           supports the VPATH option, you can build nmh in a different
2069           directory from where the source code is located.
2070
2071 Fri Jan  3 05:05:18 1997  Richard Coleman  <coleman@math.gatech.edu>
2072
2073         * Released nmh-0.02.
2074
2075 Wed Jan  1 17:41:52 1997  Richard Coleman  <coleman@math.gatech.edu>
2076
2077         * Split mhook man page into man pages for rcvdist, rcvpack,
2078           and rcvtty.
2079
2080 Tue Dec 31 03:07:48 1996  Richard Coleman  <coleman@math.gatech.edu>
2081
2082         * Changed code to use strerror, rather than using sys_errlist
2083           and sys_nerr directly.
2084
2085 Mon Dec 30 02:15:25 1996  Richard Coleman  <coleman@math.gatech.edu>
2086
2087         * -compat switch from install-mh removed.
2088
2089         * Changed the default POP port from "pop" to "pop3".
2090
2091 Sat Dec 28 13:25:05 1996  Richard Coleman  <coleman@math.gatech.edu>
2092
2093         * Changed mhn_defaults to mhn.defaults.  Changed create_mhn_defaults
2094           (again) to mhn.defaults.sh.  Changed find_program (again) to
2095           mhn.find.sh.  mhn.defaults.sh now takes the search path
2096           as an argument.  Default search path is now specified in Makefile
2097           rather than in script.
2098
2099 Fri Dec 27 16:34:01 1996  Richard Coleman  <coleman@math.gatech.edu>
2100
2101         * Changed mtstailor file to mts.conf.  Updated man pages.
2102
2103         * Changed si_value to si_val in mhn.c, since it conflicts with
2104           macro defined on Solaris.
2105
2106 Thu Dec 26 02:50:15 1996  Richard Coleman  <coleman@math.gatech.edu>
2107
2108         * Added --enable-nmh-mhe (and --disable-nmh-mhe) to enable/disable
2109           support for Emacs front-end mhe.  It is on by default.
2110
2111         * Added the following configure options: --enable-nmh-pop to
2112           enable client side pop support, --enable-nmh-smtp to enable
2113           SMTP support.  Client-side pop support now compiles.  Man
2114           pages for inc, msgchk, mh-chart now correctly added pop
2115           options if enabled.
2116
2117 Tue Dec 24 14:33:20 1996  Richard Coleman  <coleman@math.gatech.edu>
2118
2119         * Added configure test for bug in C libraries where linker
2120           can't find ruserpass, but can find _ruserpass.
2121
2122         * Fixed configure test so that termcap variable ospeed is
2123           correctly found.
2124
2125 Mon Dec 23 19:40:17 1996  Richard Coleman  <coleman@math.gatech.edu>
2126
2127         * Source files converted to ANSI C.
2128         
2129         * md5 now compiled separately rather than being included
2130           in mhn.c.  Changed md5 to use memset and memcpy.
2131
2132 Fri Dec 20 02:29:37 1996  Richard Coleman  <coleman@math.gatech.edu>
2133
2134         * Collected the error routines adios, advise, admonish, and advertise
2135           into one file (error.c), and did some rearranging of the code.
2136
2137 Thu Dec 19 19:05:29 1996  Richard Coleman  <coleman@math.gatech.edu>
2138
2139         * Added awk script sigmsg.awk (originally written by
2140           Geoff Wing <mason@werple.apana.org.au> for zsh) to
2141           automatically generate signal messages for pidstatus.c.
2142           Added files sbr/signals.c, h/signals.h.  Code now uses
2143           sigprocmask to block signals (if available).  Code now uses
2144           signal blocking on non-BSD machines.
2145
2146 Wed Dec 18 01:55:17 1996  Richard Coleman  <coleman@math.gatech.edu>
2147
2148         * Add configure check for ATTVIBUG.  From Soren's mh autoconf work.
2149
2150         * Released nmh-0.01.
2151
2152         * Added configure code to check for type of signals functions
2153           you have (POSIX or BSD style signals).  Added function
2154           SIGPROCMASK to simulate sigprocmask on machines that don't
2155           have POSIX signals.
2156
2157 Fri Dec 13 19:40:48 1996  Richard Coleman  <coleman@math.gatech.edu>
2158
2159         * Added -version switch to all commands.  Also added to
2160           their man pages.
2161
2162 Mon Dec  9 16:36:54 1996  Richard Coleman  <coleman@math.gatech.edu>
2163
2164         * Renamed uip/trmsbr.c to termsbr.c and changed it to use
2165           POSIX termios.h style functions if present.
2166
2167 Tue Dec  3 16:18:39 1996  Richard Coleman  <coleman@math.gatech.edu>
2168
2169         * Changed support/general/bootmhn.sh to output new mhn_defaults
2170           file to standard output by default (makes it easier for testing).
2171           Changed name of script to create_mhn_defaults.  Changed bootmhn.findit
2172           script to find_program.
2173
2174 Sun Dec  1 10:00:00 1996  Richard Coleman  <coleman@math.gatech.edu>
2175
2176         * Added patch to uip/folder.c from exmh distribution to
2177           speed up -recurse option.
2178
2179         * Added flist command from exmh distribution.  It doesn't work
2180           yet, but it compiles :-)
2181
2182         * Changed default location for install to
2183           /usr/local/nmh/{bin,etc,lib,man}.  Split files so that format
2184           and configuration files go in nmh/etc, and support binaries go
2185           in nmh/lib.  Of course, all this can now be changed in the top
2186           level Makefile. 
2187
2188         * Started with mh-6.8.3 as based and converted to autoconf.
2189           Rewrote all the Makefiles.  Currently only works with sendmail/smtp.
2190           Pop support and plenty of other things, are now broken.