updates to post.c and termsbr.c that prevent warnings on OpenBSD
[mmh] / ChangeLog
1 Mon Sep 13 20:25:21 1999 Doug Morris <doug@mhost.com>
2
3         * added explicit cast to long from time_t for tclock in
4         post.c.
5
6         * Commented out #ifdefs for <sys/ioctl.h> in termsbr.c since
7         it's needed for ioctl() anyway. This prevents a warning about
8         implicit definition of ioctl().
9
10 Sun Sep 12 15:50:34 1999 Doug Morris <doug@mhost.com>
11
12         * updated Makefile.in so it recognized COMPLETION-TCSH and
13         COMPLETION-ZSH (only used in make nmhdist). 
14
15         * added prototype for ruserpas to <h/prototypes.h>. Fixes
16         warnings in mhparse.c and mhbuildsbr.c.
17
18         * added include checks for <time.h> and <sys/time.h> to
19         prevent warnings in fmt_compile.c, fmt_scan.c, lock_file.c,
20         sendsbr.c, mhbuildsbr.c, mhcachesbr.c, picksbr.c, and post.c.
21
22         * added include for <zotnet/mts/mts.h> to ali.c, scan.c, ap.c,
23         rcvdist.c, rcvstore.c, rcvtty.c, and spost.c to remove
24         warnings about implicit definition of mts_init().
25
26         * added <grps.h> to slocal.c to prevent warnings about
27         function initgroups.
28
29         * added <h/signals.h> to prevent warning about missing SIGNAL
30         function.
31
32         * added function prototypes to smtp.c, whatnowproc.c,
33         mhbuildsbr.c, mhparse.c, mshcmds.c, show.c, whatnow.c, mhl.c
34         to fix warnings.
35
36         * explicitly declared mbx_style in mshcmds.c and lused in
37         fmtdump.c as type static int instead of just static to
38         prevent warnings.
39         
40         * various code cleanups to prevent ambiguous statements
41         (brackets for if/thens and parens for complicated if
42         statements).
43
44
45 Sun Sep 12 09:19:27 1999 Doug Morris <doug@mhost.com>
46
47         * commented out _cleanup() in mf.c because it's the only
48         location in all of the source code where it exists. It was
49         preventing compilation on at least linux.
50
51         * Added check for <db1/ndbm.h> which is the new location where
52         linux systems appear to be stuffing this header file.
53
54 Thu Sep  9 23:15:49 1999 Doug Morris <doug@mhost.com>
55
56         * fixed varous mkstmep bugs introduced in 1.0.1 by me. Whups!
57
58         * added mh_profile SEGV patch from Richard Cohen
59         <richard@jubjub.demon.co.uk> that prevents crashing when
60         mh_profile doesn't end in a newline. A similar patch was
61         previously sent in by Andrew Bettison <andrewb@zip.com.au>.
62
63         * fixed bug in associated with MAILGROUP #define (group "mail"
64         is not universal) -- hard to believe, but true.
65
66 Tue Sep 7 16:47:03 1999 Dan Harkless <dan-nmh@dilvish.speed.net>
67
68         * Renamed ZSH.COMPLETION to COMPLETION-ZSH and added COMPLETION-TCSH.
69
70 Tue Aug 17 16:06:29 1999 Dan Harkless <dan-nmh@dilvish.speed.net>
71
72         * Automated #define of MAILGROUP and installation of inc as setgid mail
73         when the mail spool directory isn't world-writable.
74
75 Thu Jul 15 18:37:07 1999 Dan Harkless <dan-nmh@dilvish.speed.net>
76
77         * slocal -debug used to leave a file in /tmp for each message
78         processed.  Very bad for folks with slocal -debug in their .forward!
79
80         * Got rid of a ton of compilation warnings.  Most were "junk"
81         warnings due to the use of gcc -Wall (without -Wno-parentheses),
82         but a few represented real bugs.  There remain many warnings to be
83         tackled that are due to missing function prototypes (e.g. snprintf()).
84
85         * Default rcvdistcomps no longer puts a copy of all outgoing
86         messages in outbox.  Added an rcvdistcomps.outbox that does.
87
88 Sat Jun  9 12:22:47 1999 Doug Morris <doug@mhost.com>
89
90         * Updated configure to check for mkstemp (available on OpenBSD) and 
91         substitute it for mktemp if available. 
92
93 Thu May 13 16:40:19 1999  Doug Morris <doug@mhost.com>
94
95         * Added config.sub and config.guess and updated acconfig.h and
96         configure.in to automatically detect system type and set the
97         proper #defines.
98
99 Wed May 12 23:41:33 1999  Dan Winship  <danw@mit.edu>
100
101         * Released nmh-1.0.1.
102
103 Fri May  7 17:18:28 1999  Dan Winship  <danw@mit.edu>
104
105         * Fixed flist to properly deal with relative folder names.
106         Problem noted by Jerry Peek <jpeek@jpeek.com>.
107
108         * Fixed --with-krb4 to work with original Kerberos 4 libraries as
109         well as the Kerberos 5 compat libraries. Based on a patch from
110         Assar Westerlund <assar@sics.se>.
111
112         * Added a check in configure.in to test if modf is in libc and
113         link with libm if not. This is needed by at least Digital UNIX. 
114         Problem pointed out by Kevin Oberman <oberman@es.net>.
115
116         * Fix a bug from the "mhn -show" to "mhshow" renaming that
117         made the "list" command in whatnow not work for some users.
118         From Ruud de Rooij <r.c.m.derooij@twi.tudelft.nl>.
119
120         * Replaced "extern int errno" with "#include <errno.h>" in a
121         number of files. Suggested by Stephen Wilson Bailey
122         <swb@nconnect.net>.
123
124         * Fixed a problem in how "packf -mbox" translated "Return-Path:"
125         lines. From Kimmo Suominen <kim@tac.nyc.ny.us>.
126
127         * Fixed a segmentation fault in inc. Patch originally from Ruud de
128         Rooij <r.c.m.derooij@twi.tudelft.nl>.
129
130         * Allow display of 8bit encoded messages. From Kimmo Suominen
131         <kim@tac.nyc.ny.us>.
132
133         * Fixed repl to not add line breaks in the middle of long
134         addresses when building a reply. From Ruud de Rooij
135         <r.c.m.derooij@twi.tudelft.nl>.
136
137         * Added -library switch to spost so it can parse user aliases like
138         post does. From Ruud de Rooij <r.c.m.derooij@twi.tudelft.nl>.
139
140         * Changed configure.in's check for sigsetjmp to properly deal
141         with systems like Linux where it is a macro. From
142         <elleron@servtech.com>.
143
144         * Fixed a bug in whatnow that could cause it to sometimes exit
145         without prompting the user. Based on a patch by Richard Geiger
146         <rmg@netapp.com>.
147
148         * Added code to deal with SIGPIPE in mhl so it doesn't print
149         "Broken pipe" if you quit out of the moreproc.
150
151         * Documentation: Added a note to MACHINES about Irix make. Added a
152         pointer to the online copy of the MH book in INSTALL. Added
153         some additional information to the whatnow and packf man pages,
154         suggested by Jerry Peek <jpeek@jpeek.com>.
155
156         * Updated INSTALL, FAQ, etc to not refer to Richard as the
157         maintainer or math.gatech.edu as the home any more.
158
159 1999-02-06  Richard Coleman  <coleman@math.gatech.edu>
160
161         * Released nmh-1.0.
162
163         * Merged mbx_open and mbx_Xopen in dropsbr.c.  Fixed
164           mbx_open so that the mode of zero length maildrops
165           would not be changed.
166
167         * Replaced the substitute version of snprintf() with the
168           one from the Apache web server.
169
170         * Changed to default mode for creating new messages to 0600
171           (this should have been done a long time ago).
172
173         * Changed "flist" to handle searching for multiple sequences
174           for each folder.  Also flist will now correctly split
175           Unseen-Sequence if it consists of multiple sequences.
176
177         * Added new switches `-unlink' and `-nounlink' to "refile".
178
179         * Added new switches `-unlink' and `-nounlink' to "rmm".
180
181         * More cleanups of slocal output.  Changed adorn() to
182           send to stdout, instead of stderr (to match rest of
183           verbose printing).
184
185         * Merged mbx_create() into mbx_open, so that creating and
186           opening a nonexistent maildrop is done atomically.  This
187           removes a bad race condition.
188
189         * Fixed bug that caused slocal to be unable to save to MMDF
190           style drop file.
191
192         * Added new wrapper function usr_folder() to slocal.c to
193           handle adding message to folder (currently, it still uses
194           usr_pipe() to call rcvstore).
195
196         * seq_list() checks for empty folder before scanning for
197           sequence information.
198
199         * num_digits() in flist.c and folder.c now returns correct
200           value for 0.  Also added sanity check.
201
202         * folder_delmsgs() now correctly decrements internal message
203           count.
204
205         * Don't attempt to read sequence information if folder
206           is empty.
207
208         * Split seq_read into seq_public and seq_private.
209
210         * Small change to sigmsg.awk, since newer versions of gawk
211           interpret 034 as octal.
212
213         * In flist, don't scan for sequence information in empty folder.
214
215         * Updated mhn.defaults.sh to output profile entries for mhshow,
216           mhstore, and mhbuild.
217
218         * Changed configuration parameter "mhn-access-ftp" to
219           "nmh-access-ftp".  Updated man pages
220
221         * Moved the code in InitMultipart to reverse the order of the
222           parts in a multipart, into its own function "reverse_parts()".
223
224         * Changed code in mhbuildsbr.c to store unencoded content
225           in the c_cefile structure when building.
226
227         * Changed code in mhoutsbr.c to look for unencoded content
228           in the c_cefile structure when outputing message.
229
230         * Changed configuration parameter "mhn-cache" and
231           "mhn-private-cache", to "nmh-cache" and "nmh-private-cache",
232           since it is used in mhstore, mhlist, and mhshow.  Updated man pages
233
234         * Change configuration parameter "mhn-storage" to
235           "nmh-storage", since it is now used in mhstore, mhlist,
236           and mhshow.  Updated man pages
237
238         * Add autoconf support for KPOP (kerberized pop).
239
240         * Add autoconf support for Hesiod.
241
242         * Split routines to output a message given a Content structure
243           (output_message, output_content, write7Bit, etc..) to a new
244           file "mhoutsbr.c".
245
246         * Split output_content(), into output_content() and build_headers().
247
248         * Changed copy_some_headers() in mhstoresbr.c, to use the linked
249           list of header fields, rather than reopening the message.
250
251         * Added free_header() to mhfree.c to free structures containing
252           header field information.
253
254         * Changed get_content() to use the linked list of header fields
255           when parsing the various MIME headers (Content-XXX).
256
257         * Changed get_content() to store linked list of header field
258           values when parsing a content.
259
260         * Changed mhbuild, mhn, mhlist, mhshow, mhstore, to use the
261           routines in mhcachesbr.c to handle the content cache.
262
263         * Split various funtions (find_cache, find_cache_aux, find_cache_aux2,
264           cache_content) into new file mhcachesbr.c.
265
266         * More calls to sprintf/strcpy (primarily in mhparse.c
267           and mhbuildsbr.c) converted to snprintf/strncpy.
268
269         * When a message is displayed with `mhshow', it is now
270           removed from the "unseen" sequence.
271
272         * Change the default "showmimeproc" to "mhshow".
273
274         * Split "mhn -show" off into separate command "mhshow".
275
276         * Split "mhn -store" off into separate command "mhstore".
277
278         * Split "mhn -list" off into separate command "mhlist".
279
280         * Add sanity checks to context_find(), context_replace(),
281           and context_del(), to abort if context file hasn't been
282           read.
283
284         * Add calls to context_read(), to the beginning of all nmh
285           commands (instead of being called indirectly by context_find).
286
287         * Changes the "substitute" version of vsnprintf/snprintf for
288           operating systems without native versions, to just call the
289           native vsprintf(), and ignore the buffer length.   This is
290           faster, but less secure than the previous version that used
291           temporary files.  This should only be a problem for systems
292           which do not have a native snprintf(), and require `inc' to
293           be setuid/setgid.
294
295         * Lots more calls to sprintf/strcpy converted to snprintf/strncpy.
296
297         * Changes client() routine to take additional parameter, which is
298           the buffer length of the parameter "response".  Then added
299           buffer length checks for this parameter.
300
301         * Changed getws() to get_fields(), since that is apparently the
302           name of a wide character version of gets() on some archetitures.
303
304         * Lots of sprintf/strcpy calls converted to snprintf/strncpy.
305
306         * Change the code in most of the commands that take multiple
307           message names/sequences/ranges on the command, such that
308           the msgs array is expanded dynamically.  This removes most
309           of the limits on the length of command lines.
310
311         * Add additional parameter to copyip(), to specify the
312           maximum number of strings that can be copied (security
313           fix).
314
315         * Create new function getarguments(), to massage the argument
316           vector before parsing it (add any arguments from your
317           profile to the beginning of the argument vector).  This
318           also removed the general limit on the number of command line
319           arguments.
320
321 1998-07-04  Richard Coleman  <coleman@math.gatech.edu>
322
323         * Released nmh-0.27.
324
325         * Added a new command "delete", that is available during
326           a "whatnow" session.  It is equivalent to "quit -delete".
327
328         * Added another parameter to editfile (in whatnowsbr.c),
329           that controls whether editfile should remember the last
330           program that was exec'ed.  This way the whatnow command
331           "mime", will not be re-executed if "edit" is later given
332           with no arguments.
333
334         * Changed whatnowsbr.c, so that whatnow doesn't abort if
335           mhbuild returns an error.
336
337         * Added parameter to sendsbr(), so you may specify whether to
338           rename the draft file.
339
340         * Pass delay time to splitmsg() as a parameter, rather than
341           use a global variable.
342
343         * Moved code to rename draft file after sending message from
344           splitmsg and sendaux, to sendsbr.
345
346         * Removed all the code in viamail to split messages and then
347           mail them.  Replaced this with the standard sendsbr.c routines.
348
349         * Changed sendsbr(), so that when splitting messages into
350           messages of type "message/partial", the header fields that
351           are copied are more compliant with RFC-2046.
352
353         * Fixed mhbuild to track temporary files better.  They are
354           now correctly removed when mhbuild aborts.
355
356         * Created a new man page for "sendfiles".  The information
357           about "mhn -viamail" in the "mhn" man page was moved to
358           this new page.
359
360         * Changed the name of the "viamail" shell script to
361           "sendfiles".  Modified "sendfiles" to use the new
362           viamail program.
363
364         * Moved the functionality for "mhn -viamail" out of mhn,
365           and into a separate executable called "viamail".
366
367         * When storing MIME contents to a folder using mhn -store,
368           they are now accumulated in a temporary file, and then added
369           to the folder using folder_addmsg().
370
371         * Moved code to save content to a folder from store_content
372           to new function output_content_folder.
373
374         * Moved code to save content to file from store_content to
375           new function output_content_file.
376
377         * Moved code to parse storage format string from store_content
378           to new function parse_format_string.
379
380         * Fix copy_some_headers() in mhstoresbr.c, so that the
381           correct header fields in the first enclosing message/partial
382           will be copied (according to RFC2046), when using mhn -store
383           to reassemble messages of type message/partial.
384
385         * Fixed bug to openFTP() in mhparse.c, that caused the
386           tmp file to not be removed, when transferring a
387           message/external file from ftp.
388
389         * Moved the code in mhparse.c to process -auto switch (scan
390           contents for the attribute "name"), to a new function
391           "get_storeproc" in mhstoresbr.c.
392
393         * Moved routines to free data structures related to MIME
394           content from mhparse.c and mhbuildsbr.c, to new file
395           mhfree.c.
396
397         * Moved code to show/display MIME content into new
398           file mhshowsbr.c.
399
400         * Moved code to store MIME content from into
401           new file mhstoresbr.c
402
403         * Moved code to parse MIME content into new
404           file mhparse.c.
405
406         * Moved code to list information about MIME content
407           into new file mhlistsbr.c.
408
409         * Move part_ok(), type_ok(), content_error(), flush_errors(),
410           and set_endian() to new file mhmisc.c.
411
412         * Start to isolate the code to show, list, and store MIME
413           messages.  One side effect is that only one flag (-show,
414           -list, or -store) can be used at a time now.
415
416         * mhn -store -auto wasn't storing file in correct directory.
417
418         * Removed a few dead variables from sbr/ruserpass.c
419
420         * move code for creating tmp files, and renaming the
421           the composition draft in mhbuild, from build_mime()
422           to main().
423
424         * remove left-over code in mhbuild.c, mhbuildsbr.c, for
425           the -[no]auto switch (which isn't used in mhbuild).
426
427         * split mhn.c into mhn.c and mhnsbr.c (name later changed
428           to mhparse.c).
429
430         * split mhbuild.c into mhbuild.c and mhbuildsbr.c.
431
432 1998-05-25  Richard Coleman  <coleman@math.gatech.edu>
433
434         * Released nmh-0.26.
435
436         * Added (unlisted) options [no]dashstuffing to send, post,
437           and whatnow to determine whether to do RFC934 quoting
438           (dashstuffing) for encapsulated BCC messages.  The default
439           is still the same (dashstuffing).
440
441         * Changed the undocumented feature "nodashmunging" in forw
442           and mhl, into the documented feature "nodashstuffing".  The
443           default for forw, is still "dashstuffing" for backward
444           compatibility, although I don't believe that bursting
445           RFC934 digests is very common anymore.
446
447         * Added an option to define REALLYDUMB in the default config.h.
448           But it is not on by default.
449
450         * moved creation of config file mts.conf from zotnet/mts
451           to etc.  This simplified the Makefile in zotnet/mts.
452
453         * simplified directory support/general to etc.
454
455         * removed unneeded directory support/bboards.
456
457         * split getusername() into getusername() and getuserinfo().
458
459         * Changed getusr() routine to getusername().
460
461         * Slight cleanup in folder_pack.c on code that records the new
462           number of the "cur" message when packing.
463
464 1998-05-08  Richard Coleman  <coleman@math.gatech.edu>
465
466         * Released nmh-0.25.
467
468         * Change install process, so that hard linking the correct mts
469           library to libmts.a, is not necessary.  The final link process
470           uses the original name of the library.
471
472         * Fixed bug in flist.c and folder.c, so that symbolic links which
473           point to directories, will not decrement the number of directory
474           links remaining.
475
476         * Split the function list_content (in mhn.c and mhbuild.c) into
477           list_content and list_debug.
478
479         * Don't pack (folder -pack) an empty folder.
480
481         * Exit gracefully in flist.c, if no sequence is specified,
482           and no "Unseen-Sequence" is given in nmh profile.
483
484 1998-02-27  Richard Coleman  <coleman@math.gatech.edu>
485
486         * Released nmh-0.24.
487
488         * Small clarification to the man page for `ali'.
489
490         * Fix bug in inc.c so that if both flags `-file' and `-truncate'
491           are given, that order doesn't matter.
492
493         * Fix bug in seq_list.c when realloc'ing for
494           large sequence line.
495
496 1998-02-23  Richard Coleman  <coleman@math.gatech.edu>
497
498         * Released nmh-0.23.
499
500         * Add new section on "Transfer Encodings" to man page for mhbuild.
501
502         * In mhbuild.c, split compose_content into compose_content
503           (parse and execute composition string), and scan_content (scan content,
504           decided transfer encoding, check for clash with boundary string).
505           I did a good amount of rearranging of this code.
506
507         * Moved definitions for data structures for parsing MIME
508           messages from mhn.c and mhbuild.c to a new include
509           file h/mhnsbr.h.
510
511         * Small amount of rearranging in sendsbr.c
512
513         * Small changes to MAIL.FILTERING file.
514
515         * Add the file MAIL.FILTERING to nmh distribution.
516
517         * Add line to packf so that if message begins with
518           "X-Envelope-From:" field, it is converted to "From ".
519
520         * Fix packf to add "From " line to beginning of message,
521           even if Return-Path doesn't exist.
522
523         * Add note to MACHINES file that on Linux, configure
524           doesn't find the functions sigsetjmp/siglongjmp.
525
526         * Fix configuration for machines that don't have (or find)
527           sigsetjmp/siglongjmp.
528
529 1998-02-11  Richard Coleman  <coleman@math.gatech.edu>
530
531         * Released nmh-0.22.
532
533         * Add a configure check for sigsetjmp.  Add some conditional
534           #define's in h/signals.h in case it's not found.
535
536         * Added additional notes about -auto switch in mhn man page.
537
538         * Added note about MM_CHARSET environment variable to
539           mh-profile(5) man page.
540
541         * Fix signal problem in mhn.c (change setjmp/longjmp to
542           sigsetjmp/siglongjmp).
543
544 1998-02-09  Richard Coleman  <coleman@math.gatech.edu>
545
546         * Released nmh-0.22-pre1.
547
548         * Changed the first line in mhl.format from
549           " -- using template mhl.format -- " to a blank line.
550
551         * Added note about automimeproc to mh-profile man page.
552
553         * Reorganize the main entry point for parsing a MIME message
554           or file in mhn.  Add new function parse_file() as new main
555           entry point for parsing MIME files.
556
557         * Add note to mhn man page, that "mhn -file -" will accept the
558           source message on the standard input.
559
560         * Changed a sanity check in folder_realloc that was too strict.
561
562         * -norfc934mode is now the default for mhbuild,
563           rather than -rfc934mode.
564
565         * Fix mhbuild, so that Content-Description and RFC-822 comments
566           from #forw directive will be correctly included if there is
567           only one message.
568
569         * Change mhn to correctly default parts of multipart/digest to
570           message/rfc822 (leftover code from rfc934mode was removed).
571
572         * Restore HP specific code to zotnet/tws/lexstring.c.  Apparently
573           it is still needed.
574
575 1998-02-06  Richard Coleman  <coleman@math.gatech.edu>
576
577         * Released nmh-0.21.
578
579         * If the file given to mhbuild is "-", then accept the draft on
580           standard input, and output the MIME message to standard output.
581
582         * Cleaned up code in mhbuild.c that decides what transfer
583           encoding to use.
584
585         * Cleaned up code in mhbuild.c that decides what character set
586           to use for text contents.
587
588         * Removed old hpux specific code from zotnet/tws/lexstring.c
589
590 1998-02-02  Richard Coleman  <coleman@math.gatech.edu>
591
592         * Released nmh-0.21-pre2.
593
594         * Added the "decode" variable to mhl.format and mhl.header.
595
596         * Added new variable "decode" to mhlsbr.c to decode text in
597           header fields as per RFC-2047.
598
599         * Make sure that when decoding RFC-2047 header fields, that any
600           spaces at the ends of the encoded text are not ignored, but the
601           spaces between encoded word are.
602
603         * Removed #ifdef's for MIME.  MIME support is always compiled in.
604
605         * scan/inc will now decode both Subject and From lines as
606           RFC-2047 encoded header fields.
607
608         * Added new function write_charset_8bit() to sbr.  It returns
609           the character set to use for 8bit text in composition draft.
610           Changed mhbuild to use this function.
611
612         * Split mhn man page into man pages for mhn and mhbuild.
613
614         * mhn -show will only now only use default method for content
615           of type plain, if it is NOT a part of a multipart/alternative.
616
617         * Split mhn -build into mhbuild.  Did some code cleanup.
618
619         * Added support for %(decode) to fmtdump.c.
620
621         * check_charset() now accepts US-ASCII as a subset of any
622           ISO-8859-X character set.
623
624         * Changed the default "showproc" to mhl, instead of the
625           pager more.
626
627         * When reading file into mhn composition file, only need read
628           permissions, not write permissions.
629
630         * Added own version of strcasecmp to distribution, since
631           nmh calls it frequently with NULL pointers (ughh).
632
633         * Replaced uleq.c with strcasecmp.  Removed uleq.c from
634           distribution.
635
636 1998-01-22  Richard Coleman  <coleman@math.gatech.edu>
637
638         * Released nmh-0.21-pre1.
639
640         * If a message is missing charset parameter to text/plain, show
641           will assume US-ASCII, rather than just calling showmimeproc.
642
643         * Change show.c and mshcmds.c to use check_charset to see if text
644           message contains valid character set.
645
646         * Added new scan format file "scan.nomime" to support/general
647           that doesn't do any RFC-2047 decoding.
648
649         * Modified all the scan format files in support/general to do
650           RFC-2047 decoding of Subject field.
651
652         * Did more work on sbr/fmt_rfc2047.c, so that it will correctly
653           ignore whitespace between two valid encoded words, but not
654           between an encoded word and normal text.
655
656         * Created new file sbr/check_charset.c.  Moved code from
657           fmt_rfc2047.c to check for valid character set to this file.
658
659         * Added format escape %(decode) to decode contents of "str" register
660           as a RFC-2047 header field.
661
662         * The command install-mh now recognizes the switches -version
663           and -help.
664
665         * Added a new argument to print_help.c to decide whether to
666           print profile entries (needed for install-mh to prevent weird
667           loops).
668
669         * Changed folder_read.c and folder_realloc.c so that mp->lowoff
670           is initialize to max (mp->lowmsg, 1) rather than always 1.
671
672         * Changed macros for sequence/attribute manipulation so that
673           message status array doesn't need to always start at 1.
674
675         * Small cleanups in folder_realloc().
676
677 1998-01-09  Richard Coleman  <coleman@math.gatech.edu>
678
679         * Released nmh-0.20.
680
681         * Added configure option --with-pager=PAGER.
682
683         * Added configure option --with-editor=EDITOR.
684
685         * Changed the default format file for mhl (mhl.format) to
686           also ignore (not display) the header fields Content-Type,
687           Content-Transfer-Encoding, and Content-ID
688
689         * Fixed core dump in addrsbr.c when using %(proper) format function
690           and the To: line was missing.
691
692         * Added the file ZSH.COMPLETION to the distribution.
693
694 1998-01-04  Richard Coleman  <coleman@math.gatech.edu>
695
696         * Released nmh-0.20-pre2.
697
698         * Added new switch -snoop to both `msgchk' and `inc', so you can
699           watch the POP transaction.
700
701         * Changed "replgroupcomps" to check for Mail-Followup-To header
702           first, and use it if available.
703
704         * Changed "replcomps" to check for Mail-Reply-To header
705           first, and use it if available.
706
707 1998-01-03  Richard Coleman  <coleman@math.gatech.edu>
708
709         * Released nmh-0.20-pre1.
710
711         * Changed seq_list.c to dynamically enlarge the buffer for
712           collecting the message ranges in a long sequence line.
713           This should remove the last hard limit on the size of a
714           sequence line.
715
716         * Changed seq_read.c so that can read long sequence lines.
717           It will use multiple calls to m_getfld() when m_getfld()
718           returns the state FLDPLUS.
719
720         * Changed brkstring.c to dynamically add more space for pointers
721           if necessary.  This is needed when splitting up large sequence
722           lines.
723
724         * Did some small cleanups in seq_save.c.
725
726         * Added new switches `-[no]unseen' to rcvstore, to control
727           whether new messages are added to Unseen-Sequence.
728
729         * Moved locking routines (zotnet/mts/lock.c) to sbr/lock_file.c
730
731         * Changed the internal UNSEEN flag to SELECT_UNSEEN which is
732           more appropriate.  Changed the MHPATH flag to ALLOW_NEW.
733
734         * Changed "replcomps" to not include CC and TO lines so that
735           that reply message is only directed at the author of the
736           message to which you are replying.
737
738         * Added new switch `-group' to command repl, which causes repl
739           to use new forms file "replgroupcomps".  This is intended for
740           making group replies.
741
742         * Removed #ifdef for ATHENA.
743
744 1997-12-28  Richard Coleman  <coleman@math.gatech.edu>
745
746         * Released nmh-0.19.
747
748         * Fix repl,forw so that switch `-form file' will not abort
749           as ambiguious (silly mistake on my part).
750
751         * Cleaned up the mhn man page.  Added info about a few escapes
752           for the formatting/display strings that were not documented
753           (%%, %t).  Moved the BNF grammar for the mime composition file,
754           to the end of the man page.
755
756         * Added the options -[no]format to the command repl.  The
757           switch `-format' will filter the message to which you are
758           replying with the standard message filter "mhl.reply", which
759           is now included in the distribution.  The `-noformat' option
760           will negate the use of -format or -filter and not include
761           the message to which you are replying in the draft.
762
763         * Did some cleaning and reorganization on many of the man
764           pages.
765
766         * Added debugging switch `-debug' to mhparam, which displays
767           the values of all `procs' (and some other misc configuration
768           info) that nmh keeps in global variables.
769
770         * When using `refile -preserve', if a conflict occurs, then use
771           the next available number above the message number you wish
772           to preserve.
773
774         * In forw.c, split the code for creating MIME style forwarding
775           out of copy_draft, and into copy_mime_draft.
776
777         * Move routines in mark.c to print sequences, into new
778           file sbr/seq_print.c
779
780         * flist will now update the current folder.
781
782         * Added the switches -[no]fast to flist, to replace
783           -[no]total.  The previous switches are still accepted
784           but now undocumented.
785
786         * More reorganization in flist of the code for
787           traversing folders.
788
789         * The command "flist +foo -all" will now scan the folder
790           "foo" and all its 1st level children.
791
792         * Add missing include file <h/mh.h> to sbr/snprintf.c
793
794         * Fix alarm bug in rcvtty, so that when it calls external
795           process, the alarm is never longer than 30 minutes.
796
797 1997-12-17  Richard Coleman  <coleman@math.gatech.edu>
798
799         * Released nmh-0.18.
800
801         * Fixed bug in mark, so that "mark -list -seq foo" will
802           correctly indicate if "foo" is a private sequence.  I found
803           this bug mentioned in Jerry Peek's book.
804
805         * Simplified the code in seq_setcur(), since seq_addmsg() now
806           retains the public/private status of sequences.
807
808         * Changed sequence handling so that if the switches -public
809           or -nopublic, are not specified for the commands mark, pick,
810           or rcvstore, then existing sequences will retain their
811           previous public/private status.
812
813         * mhparam now handles the mh-sequences profile entry
814           correctly.
815
816         * flist -all will now also check readonly folders (for
817           private sequences).
818
819         * Improve the leaf optimization for folder command.
820           It will now track the number of directories in a folder,
821           and stop stat'ing files once it has hit all the subfolders.
822
823         * Renamed m_getfolder to getfolder.  Changed getfolder to
824           take option to determine whether it should get current
825           folder, or just default folder (Inbox).  Changed rcvstore,
826           inc, and rmf to use the new getfolder.
827
828         * flist now indicates if a sequence is private.
829
830         * Change WUNTRACED to 0, in pidwait.c, so that commands will
831           wait for stopped processes.
832
833         * conflict will dynamically allocate space for group names,
834           so it can now handle system with more than 100 groups.
835
836 1997-12-09  Richard Coleman  <coleman@math.gatech.edu>
837
838         * Released nmh-0.18-pre4.
839
840         * Check if we have enough message status space, before we
841           call folder_realloc() in burst, mhpath, and m_draft().
842
843         * mhn will now correctly identify a formatting string of "-"
844           for the option -store, and send content to stdout.
845
846         * Change the way that memory for message status is
847           allocated.  It is dynamcially allocated separately from
848           the folder/message structure.  This required changing
849           folder_read.c, folder_realloc.c, folder_free.c.
850
851         * Removed all the MTR code (experimental code for message
852           status allocation).
853
854         * Renamed m_readfolder.c to folder_read.c and simplified
855           the code.
856
857         * Renamed m_freefolder.c to folder_free.c.
858
859         * Add function trim() to slocal.c to pretty print
860           the debugging output.
861
862         * Changed the name of m_packfolder() to folder_pack().
863           Changed the name of m_remsg() to folder_realloc().
864
865 Wed Dec  3 23:33:38 1997  Richard Coleman  <coleman@math.gatech.edu>
866
867         * Released nmh-0.18-pre3.
868
869         * Changed installation to add `flists' which is hard linked
870           to `flist'.  This is a equivalent to `flist -all'.
871
872         * For flist, -showzero is on by default.
873
874         * Major changes to flist.  Default is now for flist to search
875           current folder.  The switch `-all' is now used to specify
876           searching all top level folders.  The new switch `-showzero'
877           is used to print out folders that don't contain any messages
878           in the given sequence.
879
880         * Split BuildFolderList in flist.c into 2 functions
881           (BuildFolderList, BuildFolderListR).  Changed these functions
882           so that flist now does better leaf optimization, and will stop
883           stat'ing directory entries when it knows it has hit all the
884           subdirectories of a given directory.
885
886         * Reorganized code in folder.c, so that all relevant folders
887           are scanned first and information recorded.  Then all the
888           folder summaries at printed out at one time.
889
890         * Made the options of folder(s) more orthogonal.  Now
891           "folder -all -noheader -nototal" will do the right thing.
892
893         * Added `-noall' switch to folder, for completeness.
894
895         * Changed the default mode for creation of new folders
896           to 0700 (was 0711).
897
898         * Slightly changed the format for flist.  It now indicates
899           if a folder is current.  Also the width of the various
900           fields are now calculated at runtime.
901
902         * Changed the format for folder(s).  Folder names
903           are now left justified.  The width of the various fields
904           are calculated at runtime.
905
906 Sun Nov 30 19:14:53 1997  Richard Coleman  <coleman@math.gatech.edu>
907
908         * Released nmh-0.18-pre2.
909
910         * Add paragraph to man page for install-mh and to INSTALL file
911           about checking for global mh.profile.
912
913         * Renamed m_find() to context_find().
914           Renamed m_replace() to context_replace().
915           Renamed m_delete() to context_del().
916           Renamed m_update() to context_save().
917           Renamed m_getdefs() to context_read().
918           Renamed m_foil() to context_foil().
919
920         * Change rcvstore to use routine folder_addmsg(), instead of
921           adding message to folder itself.
922
923         * Changed refile, so that if the switch -preserve is used,
924           and a conflict occurs for a particular folder, then folder_addmsg()
925           will just use next highest available number for that folder,
926           instead of exiting.
927
928         * Make folder_addmsg() more robust.  It will make repeated
929           attempts to link file into folder if link returns with
930           the error EEXIST.
931
932         * Fix bug, so that that if forking sendmail, HELO will be sent
933           unless clientname: option is defined but empty (so now it
934           is the same as the direct smtp code).
935
936         * Changed sprintb to snprintb (now we pass the buffer length
937           to new routine).  Changed code to use new function.
938
939         * Added snprintf to sbr. Added configure check to build it
940           if you don't have a native version (but haven't changed much
941           code to use it yet).
942
943 Thu Nov 13 18:42:18 1997  Richard Coleman  <coleman@math.gatech.edu>
944
945         * Released nmh-0.18-pre1.
946
947         * Fixed alarm bug in slocal, so that alarm is never
948           called with a value larger than 30 mintues.
949
950         * Fixed race condition in rmm and refile, so that
951           context is updated before external rmmproc is called.
952
953         * Removed all the OVERHEAD code.
954
955         * Move code to add message to folder from refile.c
956           to folder_addmsg.c
957
958 Fri Jul 25 19:39:29 1997  Richard Coleman  <coleman@math.gatech.edu>
959
960         * Did some rearranging of the internals of inc.c.
961
962         * Make -inplace the default for anno, forw, dist, and repl.
963
964         * Changed --enable-smtp to --with-mts={smtp,sendmail}
965
966         * Created new directory mts/sendmail for direct sendmail
967           interface (although it currently still uses SMTP).
968
969         * Removed all the TMA (trusted mail agent) code
970
971         * Removed all the TTYD (terminal access daemon) code
972
973         * Removed all the MF (uucp filtering) code.
974
975         * Removed all the code for BERK.
976
977         * Removed all the code for stand-alone delivery (MHMTS).
978
979         * Split the file mts/sendmail/smail.c into sendmail.c and
980           smtp.c.  Changed the name of the directory to mts/smtp.
981
982         * Changed autoconf to use @sysconfdir@ for location of
983           configuration files.
984
985         * Changed #define in mhn.c from FTP to BUILTIN_FTP.
986
987 Mon Jul 21 03:22:34 1997  Richard Coleman  <coleman@math.gatech.edu>
988
989         * Released nmh-0.17.
990
991         * MAKEDEFS weren't passed down to recursive makes correctly.
992
993         * slocal.c now checks for UTMP_FILE and _PATH_UTMP instead
994           of hard-coding "/etc/utmp".
995
996         * rcvtty.c check for _PATH_UTMP if UTMP_FILE is not
997           defined.
998
999         * Remove configure checks for ulong and ushort.  Changed
1000           code to just use unsigned {short, long}.
1001
1002         * Change addmsg function in refile.c to return new
1003           number of refiled message.
1004
1005         * Added check in get_returnpath for empty unixbuf.
1006
1007         * Cleanup of sbr/pidstatus to use more POSIX macros
1008           for return value of wait().
1009
1010         * Change configure to also check /bin for "more".
1011
1012 Sat Jul 12 00:02:23 1997  Richard Coleman  <coleman@math.gatech.edu>
1013
1014         * Released nmh-0.16.
1015
1016 Mon Jun 23 20:13:24 1997  Richard Coleman  <coleman@math.gatech.edu>
1017
1018         * Added automimeproc, which should replace automhnproc.
1019
1020         * multipart messages will no longer abort for messages
1021           of type 8bit or binary (although we still can't really
1022           deal with binary messages, yet).
1023
1024         * Fix double free of c_storage.  From John MacMillan.
1025
1026         * mhn now treats unknown subtypes of "text" as text/plain.
1027
1028         * mhn changed so that specifying mhn-show-multipart, or
1029           mhn-show-multipart/{mixed, alternate, etc...) will override
1030           the use of the internal method for displaying these types.
1031           Previously mhn would always use the internal method for subtypes
1032           mixed, alternate, digest, and parallel (even if an alternate
1033           method was specified in mhn.defaults).
1034
1035         * mhn show treats unknown subtypes of multipart, as type
1036           multipart/mixed (as specified RFC2046).
1037
1038         * mhn checks for the parameter "name" rather than "x-name".
1039           From MH-6.8.4 patch.
1040
1041         * Fix double free of ctinfo in user_content when using
1042           #forw with single message.  From John MacMillan (and
1043           MH-6.8.4 patch).
1044
1045         * Changed -mhnproc switch for show, to -showmimeproc.
1046
1047         * Changed profile entry "mhnproc" to "showmimeproc".
1048
1049         * Added "mime" option to "whatnow", which calls the program
1050           "buildmimeproc" (default is mhn -build) to process MIME
1051            composition files.
1052
1053         * Added -build switch to mhn, to process MIME composition
1054           files.
1055
1056         * Did some reorganizing of mhn.c.
1057
1058         * Changed casting in mts/sendmail/smail.c from (char) to
1059           (signed char) so SMTP reply codes work correctly for machines
1060           which used unsigned chars by default.
1061
1062 Sat Jun 21 01:21:47 1997  Richard Coleman  <coleman@math.gatech.edu>
1063
1064         * Released nmh-0.15.
1065
1066         * Added new form "scan.unseen" to distribution.  It marks messages
1067           which are in any sequence in Unseen-Sequence.
1068
1069         * Do some rearranging of date/time code in zotnet/tws/dtime.c
1070
1071         * Fix sign extension bugs in fmt_scan.c.
1072
1073         * Fix m_atoi.c so that strings ending in non-digit characters
1074           return 0.
1075
1076         * Split code in burst.c so that finding delimiters of digested
1077           messages and bursting a message into multiple messages are
1078           two separate functions (find_delim and burst).
1079
1080         * Add workaround fo AC_PATH_PROG in configure.in, so
1081           that BSD4.4 machines can find sendmail, vi, more.
1082
1083         * Added "-width" option to rcvtty.
1084
1085         * Change a few variable names in zotnet/mts/client.c since
1086           they conflict with defines on AIX.
1087
1088         * Makefile in zotnet/tws assumes lexing of dtimep.lex was
1089           unsuccessful if resulting file is less than 500 lines long
1090           (rather than 10, which was previous value), since AIX
1091           sed gives mangled file of about 200 lines.
1092
1093         * Extract code in rcvstore.c to link message into folder,
1094           and put in own subroutine.
1095
1096         * Extract code in refile.c to link message into folder,
1097           and put in own subroutine.
1098
1099         * Moved code to remove messages from folder into own
1100           routine "folder_delmsgs" in sbr.  Changed rmm.c and
1101           refile.c to use new routine.
1102
1103 Fri May 16 06:09:31 1997  Richard Coleman  <coleman@math.gatech.edu>
1104
1105         * Renamed m_seqok to seq_nameok.
1106
1107         * Changed m_setunseen, msh, mshcmds, flist, and scan to use
1108           seq_getnum.
1109
1110         * Changed m_seqflag to return the number of a sequence rather
1111           than its bit flag.  Changed its name to seq_getnum and renamed
1112           file to sbr/seq_getnum.c.
1113
1114         * Removed function m_seqnew and file sbr/m_seqnew.c since it is
1115           no longer used.
1116
1117         * Added zero switch to m_seqadd function to zero out bits before
1118           adding message to sequence.
1119
1120         * Renamed function m_setvis to m_setunseen, and renamed
1121           corresponding file in sbr.
1122
1123         * Renamed function m_setseq to m_setprev, and renamed corresponding
1124           file in sbr.
1125
1126         * Changed mark.c and pick.c to use m_seqaddsel and m_seqdelsel.
1127
1128         * Added new function m_seqdelsel to m_seqdel.c, which deletes
1129           all selected messages from a sequence.
1130
1131         * Added new function m_seqaddsel to m_seqadd.c, which adds all
1132           selected messages to a sequence.
1133
1134         * Split sbr/m_seqnew.c into m_seqadd.c, m_seqdel.c, m_seqnew.c,
1135           and m_seqok.c.
1136
1137 Thu May 15 00:53:17 1997  Richard Coleman  <coleman@math.gatech.edu>
1138
1139         * Renamed function pack_folder to m_packfolder, and moved it
1140           from uip/folder.c into its own file sbr/m_packfolder.c
1141
1142 Wed May 14 23:38:00 1997  Richard Coleman  <coleman@math.gatech.edu>
1143
1144         * Changed function m_gmsg to m_readfolder.  Renamed file
1145           sbr/m_gmsg.c to sbr/m_readfolder.c.
1146
1147 Mon May  5 19:57:11 1997  Richard Coleman  <coleman@math.gatech.edu>
1148
1149         * Expanded rcvtty man page, and added small patch from
1150           MH-6.8.4 distribution.
1151
1152 Fri May  2 15:24:34 1997  Richard Coleman  <coleman@math.gatech.edu>
1153
1154         * Released nmh-0.14.
1155
1156         * Comment out configure test and code for tgetent to allocate its
1157           own termcap buffer when passed a NULL argument.
1158
1159 Sat Apr 26 03:46:38 1997  Richard Coleman  <coleman@math.gatech.edu>
1160
1161         * Added new options `-checkmime', `-nocheckmime', and `-mhnproc'
1162           to show.  Restructured code to handle options to various
1163           `procs' better.  Deprecated `-noshowproc' option and NOMHNPROC
1164           environment variable.
1165
1166         * Added new man page `mh-draft' which documents the
1167           draft folder facility in nmh.
1168
1169         * Renamed fmtsbr.h to fmt_scan.h.  Renamed fmtcompile.h
1170           to fmt_compile.h.
1171
1172         * split fmtsbr.c into fmt_scan.c and fmt_new.c.  Renamed
1173           fmtcompile.c to fmt_compile.c, and formataddr.c to
1174           fmt_addr.c.
1175
1176         * `send -help' wasn't showing the -(no)mime and -split
1177           options.
1178
1179 Fri Apr 25 02:50:36 1997  Richard Coleman  <coleman@math.gatech.edu>
1180
1181         * Released nmh-0.13.
1182
1183         * Changed mhpath so it doesn't abort if a message sequence
1184           such as "mhpath all" expands to more than 1000 messages.
1185           Also mhpath now dynamically reallocated space for message
1186           names (The number of command line arguments is still limited
1187           to MAXARGS).
1188
1189         * Did some general restructuring of the code in folder.c
1190           that checks for folder information, and prints it.
1191
1192 Thu Apr 24 01:04:37 1997  Richard Coleman  <coleman@math.gatech.edu>
1193
1194         * Changed `folder' to reallocate space for folder names if
1195           necessary.  So `folders' can now handle more than 300 folders.
1196
1197 Tue Apr 22 14:01:26 1997  Richard Coleman  <coleman@math.gatech.edu>
1198
1199         * Change configure to use a compile check to see if the tm struct
1200           has tm_gmtoff, rather than using egrep.
1201
1202 Mon Apr 21 02:19:17 1997  Richard Coleman  <coleman@math.gatech.edu>
1203
1204         * Released nmh-0.12.
1205
1206         * Had set_exists and unset_exists macros backwards.
1207
1208         * Released nmh-0.11.
1209
1210 Thu Apr 10 02:39:53 1997  Richard Coleman  <coleman@math.gatech.edu>
1211
1212         * Added documentation to mh-profile.man about the various
1213           `procs' (mhlproc, showproc, lproc, etc...).
1214
1215         * Replace the bit twiddling for SELECTED, UNSEEN, and
1216           mp->attrstats with macros.
1217
1218         * If system doesn't have SIGEMT (like Linux), then use SIGTERM
1219           in msh.c instead.
1220
1221         * Change fstat to stat in m_gmsg.c since Linux wants
1222           to hide dd->dd_fd.
1223
1224         * Merge Linux patch sent in by Michel Oosterhof (original
1225           patch from bsa@kf8nh.wariat.org).
1226
1227         * Document an undocumented MH feature.  mhn -form mhl.null
1228           will suppress the display of the message header.
1229
1230         * mhparam will now return "mhparam etcdir".
1231
1232         * Add catproc to /config/config.c and use that in show.c
1233           and mshcmds.c, rather than hard coding in /bin/cat.
1234
1235         * Add mhnproc to the list of `procs' in mh-profile.man.
1236
1237         * Add configure test for lorder and tsort commands.
1238
1239         * Commented out the padding in the `msgs` struct in h/mh.h
1240
1241         * Change m_gmsg.c to allocate elements to the `info' array by
1242           500 elements at a time (rather than MAXFOLDERS / 5).
1243
1244         * Add note to man page for mhmail that zero length messages are
1245           not sent.  Need to use -body "" to send empty messages.
1246
1247         * zotnet/mts/mts.c : compare character with '\0', not NULL.
1248
1249         * sbr/getcpy.c : assign '\0' to character, not NULL.
1250
1251         * add m_fmsg to most programs in uip so that they explicitly free
1252           folder/message structure when done with folder.
1253
1254         * uip/slocal.c : cleanup processing of sender.  Make sure it is
1255           defined even if message is missing "From " line.
1256
1257 Mon Mar 31 03:37:35 1997  Richard Coleman  <coleman@math.gatech.edu>
1258
1259         * Released nmh-0.10.
1260
1261 Sun Mar 30 21:46:17 1997  Richard Coleman  <coleman@math.gatech.edu>
1262
1263         * Add configure check for <locale.h>.  Turn on LOCALE support
1264           by default.
1265
1266 Thu Mar 20 03:21:24 1997  Richard Coleman  <coleman@math.gatech.edu>
1267
1268         * Reversed previous decision to retain "From " lines in slocal.
1269           The "From " line is now removed from all messages.
1270
1271         * inc now saves the date from the "From " envelope in the
1272           Delivery-Date header for all messages.
1273
1274         * sbr/m_getfld.c: Clean up processing of Return-Path and
1275           Delivery-Date from the "From " envelope.
1276
1277 Mon Mar 17 19:03:36 1997  Richard Coleman  <coleman@math.gatech.edu>
1278
1279         * client.c: cast iaddr to int before comparing return value
1280           of inet_addr with NOTOK.
1281
1282 Tue Mar 11 04:38:10 1997  Richard Coleman  <coleman@math.gatech.edu>
1283
1284         * Grep test for signal names was failing on some OS'es because
1285           of missing tabs in regex.
1286
1287 Sat Mar  8 01:58:22 1997  Richard Coleman  <coleman@math.gatech.edu>
1288
1289         * Released nmh-0.09.
1290
1291         * Move config files and format files to *.old before installing.
1292
1293         * Add configure check for killpg.
1294
1295         * msh.c: include <termios.h> instead of <termio.h> and
1296           <sys/ioctl.h>.
1297
1298         * prompter.c: don't include <sys/ioctl.h> anymore.
1299
1300 Thu Mar  6 04:03:24 1997  Richard Coleman  <coleman@math.gatech.edu>
1301
1302         * Added `-mime' and `-nomime' options to `repl'.
1303           From MH-6.8.4 diff.
1304
1305 Tue Mar  4 03:10:37 1997  Richard Coleman  <coleman@math.gatech.edu>
1306
1307         * ruserpass.c : removed conflicting prototypes.
1308
1309         * rcvtty.c : Fixed rcvtty to obey terminal permissions granted
1310           by `mesg' command.  Previously only worked on BSD machines.
1311
1312 Mon Mar  3 00:18:59 1997  Richard Coleman  <coleman@math.gatech.edu>
1313
1314         * rcvtty.c : Changed to use #define UTMP_FILE (if exists) rather
1315           than hard coded "/etc/utmp".
1316
1317         * Released nmh-0.08.
1318
1319         * Changed slocal to lock .maildelivery (or file given by -maildelivery)
1320           when accessing ndbm/db file for duplicate suppression, instead of
1321           locking database itself.
1322
1323 Thu Feb 27 05:28:09 1997  Richard Coleman  <coleman@math.gatech.edu>
1324
1325         * Added slocal action `mmdf' to deliver to a file in mmdf format.
1326
1327         * Changed the slocal actions `file' and `>' to always deliver in
1328           mbox (uucp) format rather than be determined by RPATHS config
1329           option.
1330
1331         * Changed the slocal action `mbox' to deliver in mbox (uucp) format
1332           rather than mmdf format.
1333
1334         * slocal now adds Delivery-Date field to all messages (previously it
1335           only added it to messages when delivering them to a file). The
1336           "From " line is now retained on all messages if compiling with
1337           RPATHS, rather than being discarded.
1338
1339         * rcvpack no longer adds the Delivery-Date field to messages.
1340
1341 Sun Feb 23 22:03:54 1997  Richard Coleman  <coleman@math.gatech.edu>
1342
1343         * Removed the script packmbox, since it's functionality has been
1344           added to packf.
1345
1346         * Changed packf so that it uses mbox (uucp) format by default
1347           rather than mmdf format.  Added options -mbox and -mmdf to
1348           packf so you can choose the preferred format.
1349
1350         * Changed rcvpack so that it uses mbox (uucp) format by default
1351           rather than mmdf format.  Added options -mbox and -mmdf to
1352           rcvpack so you can choose the preferred format.
1353
1354 Tue Feb 18 00:01:05 1997  Richard Coleman  <coleman@math.gatech.edu>
1355
1356         * Changed nmh to use dot locking by default (although you
1357           can still easily change this in config.h).
1358
1359         * Simplified locking code.  Removed code allowing setting of
1360           locking type in mts.conf.  Now the locking type and locking
1361           directory (if any) can only be set at compile time.
1362
1363 Fri Feb 14 02:49:18 1997  Richard Coleman  <coleman@math.gatech.edu>
1364
1365         * Prefer getting timezone information from tm->gmtoff rather
1366           than tzset and external timezone variable.
1367
1368 Thu Feb 13 00:35:45 1997  Richard Coleman  <coleman@math.gatech.edu>
1369
1370         * Fixed typo in ruserpass.c in the variable toktabs.
1371
1372         * When ruserpass was added to LIBOBJS, it was missing
1373           the suffix.
1374
1375         * Released nmh-0.07.
1376
1377 Tue Feb 11 01:29:47 1997  Richard Coleman  <coleman@math.gatech.edu>
1378
1379         * Add check to configure, so that if ruserpass, or _ruserpass
1380           is not found, build version of ruserpass in sbr.
1381
1382         * Added define's to discard.c, m_getfld.c, and scansbr.c so
1383           the code that manipulates internals of stdio, will build
1384           on SCO 5.x.
1385
1386         * Added #define to control whether to compile the simple
1387           built-in FTP client in mhn.
1388
1389         * Added configure check for ushort and ulong.  Change code
1390           to use ushort/ulong rather than u_short/u_long.
1391
1392         * A couple of small cleanups in locking code.
1393
1394         * Added configure check for gmtoff element in struct tm.
1395
1396         * Added configure check for tzset.
1397
1398 Fri Feb  7 03:01:57 1997  Richard Coleman  <coleman@math.gatech.edu>
1399
1400         * Released nmh-0.06.
1401
1402         * Removed code for machines that don't have socket
1403           interface (how could they get mail anyway?).
1404
1405         * Removed code for BSD41 machines.  I don't think there are
1406           many such machines around anymore.
1407
1408         * Add configure check for function uname, and prefer it
1409           over gethostname.  General cleanup of zotnet/mts/mts.c.
1410
1411         * Change all `lseek' calls to use POSIX symbolic constants
1412           SEEK_SET, SEEK_CUR, SEEK_END.
1413
1414 Thu Feb  6 01:16:30 1997  Richard Coleman  <coleman@math.gatech.edu>
1415
1416         * Check lex generated file in zotnet/tws and use
1417           pre-generated version if necessary.
1418
1419         * Released nmh-0.05.
1420
1421         * Change to use reliable signals on all platforms that have
1422           sigaction.  Change so that interrupted system calls are
1423           restarted for all signals except SIGALRM.  This fixes alarm
1424           handling code in smail.c for BSD based systems.
1425
1426         * Added lorder and tsort commands so that created libs can
1427           be linked in one pass.
1428
1429 Tue Feb  4 01:33:00 1997  Richard Coleman  <coleman@math.gatech.edu>
1430
1431         * Changed pidwait so that while it is waiting for a child,
1432           it should block signals rather than ignore them.
1433
1434 Mon Feb  3 21:05:30 1997  Richard Coleman  <coleman@math.gatech.edu>
1435
1436         * Add checks to configure for dbm_open and -lndbm.
1437
1438 Thu Jan 30 05:15:42 1997  Richard Coleman  <coleman@math.gatech.edu>
1439
1440         * folder -pop and folder -push were freeing some memory too
1441           quickly, which caused the entry popped from the stack to not
1442           become the current folder.
1443
1444 Wed Jan 29 01:28:02 1997  Richard Coleman  <coleman@math.gatech.edu>
1445
1446         * Released nmh-0.04.
1447
1448         * Define ospeed and PC in termsbr.c is OS doesn't have
1449           it.
1450
1451 Sun Jan 26 20:25:10 1997  Richard Coleman  <coleman@math.gatech.edu>
1452
1453         * editfile will create a symbolic link to the altmsg if it
1454           can't make a link, on any machine supporting lstat.  Formerly
1455           this would happen only on BSD42 based machines.
1456
1457 Sat Jan 25 22:54:26 1997  Richard Coleman  <coleman@math.gatech.edu>
1458
1459         * traverse (in popsbr.c) wasn't calling va_start before using
1460           variable argument list.  Fixes core dump in inc when using POP.
1461
1462 Fri Jan 24 03:27:59 1997  Richard Coleman  <coleman@math.gatech.edu>
1463
1464         * The variable pass in remotemail needed to be set to
1465           NULL.  (From MH-6.8.4 diff).  Fixes core dump of msgchk when
1466           using POP.
1467
1468         * inc and msgchk were using -rpop by default when configured
1469           with POP support.  Default is now -norpop.
1470
1471 Thu Jan 23 02:01:17 1997  Richard Coleman  <coleman@math.gatech.edu>
1472
1473         * By default, post will now give the SMTP HELO command with
1474           the local hostname.  If you specify a hostname with the
1475           clientname: option in mts.conf file, post will give the
1476           HELO command with that name instead.  If the argument to the
1477           clientname: option is empty, no HELO command is given.
1478           (From the MH-6.8.4 diff)
1479
1480 Wed Jan 22 01:55:45 1997  Richard Coleman  <coleman@math.gatech.edu>
1481
1482         * When using `-help' for a command, it will also print its
1483           profile compents from .mh_profile. (From MH-6.8.4 diff)
1484
1485         * "slocal -file" will now correctly takes its input from
1486           a file (currently need to specify full path).
1487
1488 Sun Jan 19 20:37:21 1997  Richard Coleman  <coleman@math.gatech.edu>
1489
1490         * "slocal -debug" will now issue a warning if a non-blank
1491           line in the .maildelivery file has less than 5 fields.
1492
1493 Sat Jan 18 02:26:41 1997  Richard Coleman  <coleman@math.gatech.edu>
1494
1495         * Changed slocal so that code for duplicate suppression
1496           (MH config was MSGID) is always built. Added the options
1497           -[no]suppressdup to slocal to turn this on/off.
1498
1499 Thu Jan 16 00:26:34 1997  Richard Coleman  <coleman@math.gatech.edu>
1500
1501         * Released nmh-0.03.
1502
1503         * Fixed problem where mark would core dump if no
1504           .mh_sequence file existed.
1505
1506         * Fixed problem where slocal would core dump if -debug
1507           option was given, and certain headers were missing.
1508
1509         * Added patch to slocal to add `folder' (+) action, which
1510           is shorthand for piping message to rcvstore.  Updated
1511           man page.
1512
1513 Wed Jan 15 21:30:17 1997  Richard Coleman  <coleman@math.gatech.edu>
1514
1515         * Changed flist option -unseen to -[no]all.  Cleaned up
1516           flist man page.
1517
1518 Fri Jan 10 20:36:33 1997  Richard Coleman  <coleman@math.gatech.edu>
1519
1520         * Fixed flist.  Changed the profile component `Folder-Order'
1521           to `Flist-Order.  Added option `-sequence' to flist, so
1522           you can specify the name of the sequence to search for.
1523
1524 Thu Jan  9 00:20:48 1997  Richard Coleman  <coleman@math.gatech.edu>
1525
1526         * A few minor portability cleanups.  Changed to use PATH_MAX
1527           rather than MAXPATHLEN.  Don't assume ospeed variable exists
1528           in termsbr.c.  Removed some conflicting prototypes.
1529
1530 Wed Jan  8 11:05:02 1997  Richard Coleman  <coleman@math.gatech.edu>
1531
1532         * Add configure test to check if tgetent will accept NULL
1533           and allocate its own buffer.  Borrowed from zsh.
1534
1535         * Changed libpath to etcpath.
1536
1537 Mon Jan  6 04:15:35 1997  Richard Coleman  <coleman@math.gatech.edu>
1538
1539         * Cleaned up source code and Makefiles, so that if your `make'
1540           supports the VPATH option, you can build nmh in a different
1541           directory from where the source code is located.
1542
1543 Fri Jan  3 05:05:18 1997  Richard Coleman  <coleman@math.gatech.edu>
1544
1545         * Released nmh-0.02.
1546
1547 Wed Jan  1 17:41:52 1997  Richard Coleman  <coleman@math.gatech.edu>
1548
1549         * Split mhook man page into man pages for rcvdist, rcvpack,
1550           and rcvtty.
1551
1552 Tue Dec 31 03:07:48 1996  Richard Coleman  <coleman@math.gatech.edu>
1553
1554         * Changed code to use strerror, rather than using sys_errlist
1555           and sys_nerr directly.
1556
1557 Mon Dec 30 02:15:25 1996  Richard Coleman  <coleman@math.gatech.edu>
1558
1559         * -compat switch from install-mh removed.
1560
1561         * Changed the default POP port from "pop" to "pop3".
1562
1563 Sat Dec 28 13:25:05 1996  Richard Coleman  <coleman@math.gatech.edu>
1564
1565         * Changed mhn_defaults to mhn.defaults.  Changed create_mhn_defaults
1566           (again) to mhn.defaults.sh.  Changed find_program (again) to
1567           mhn.find.sh.  mhn.defaults.sh now takes the search path
1568           as an argument.  Default search path is now specified in Makefile
1569           rather than in script.
1570
1571 Fri Dec 27 16:34:01 1996  Richard Coleman  <coleman@math.gatech.edu>
1572
1573         * Changed mtstailor file to mts.conf.  Updated man pages.
1574
1575         * Changed si_value to si_val in mhn.c, since it conflicts with
1576           macro defined on Solaris.
1577
1578 Thu Dec 26 02:50:15 1996  Richard Coleman  <coleman@math.gatech.edu>
1579
1580         * Added --enable-nmh-mhe (and --disable-nmh-mhe) to enable/disable
1581           support for Emacs front-end mhe.  It is on by default.
1582
1583         * Added the following configure options: --enable-nmh-pop to
1584           enable client side pop support, --enable-nmh-smtp to enable
1585           SMTP support.  Client-side pop support now compiles.  Man
1586           pages for inc, msgchk, mh-chart now correctly added pop
1587           options if enabled.
1588
1589 Tue Dec 24 14:33:20 1996  Richard Coleman  <coleman@math.gatech.edu>
1590
1591         * Added configure test for bug in C libraries where linker
1592           can't find ruserpass, but can find _ruserpass.
1593
1594         * Fixed configure test so that termcap variable ospeed is
1595           correctly found.
1596
1597 Mon Dec 23 19:40:17 1996  Richard Coleman  <coleman@math.gatech.edu>
1598
1599         * Source files converted to ANSI C.
1600         
1601         * md5 now compiled separately rather than being included
1602           in mhn.c.  Changed md5 to use memset and memcpy.
1603
1604 Fri Dec 20 02:29:37 1996  Richard Coleman  <coleman@math.gatech.edu>
1605
1606         * Collected the error routines adios, advise, admonish, and advertise
1607           into one file (error.c), and did some rearranging of the code.
1608
1609 Thu Dec 19 19:05:29 1996  Richard Coleman  <coleman@math.gatech.edu>
1610
1611         * Added awk script sigmsg.awk (originally written by
1612           Geoff Wing <mason@werple.apana.org.au> for zsh) to
1613           automatically generate signal messages for pidstatus.c.
1614           Added files sbr/signals.c, h/signals.h.  Code now uses
1615           sigprocmask to block signals (if available).  Code now uses
1616           signal blocking on non-BSD machines.
1617
1618 Wed Dec 18 01:55:17 1996  Richard Coleman  <coleman@math.gatech.edu>
1619
1620         * Add configure check for ATTVIBUG.  From Soren's mh autoconf work.
1621
1622         * Released nmh-0.01.
1623
1624         * Added configure code to check for type of signals functions
1625           you have (POSIX or BSD style signals).  Added function
1626           SIGPROCMASK to simulate sigprocmask on machines that don't
1627           have POSIX signals.
1628
1629 Fri Dec 13 19:40:48 1996  Richard Coleman  <coleman@math.gatech.edu>
1630
1631         * Added -version switch to all commands.  Also added to
1632           their man pages.
1633
1634 Mon Dec  9 16:36:54 1996  Richard Coleman  <coleman@math.gatech.edu>
1635
1636         * Renamed uip/trmsbr.c to termsbr.c and changed it to use
1637           POSIX termios.h style functions if present.
1638
1639 Tue Dec  3 16:18:39 1996  Richard Coleman  <coleman@math.gatech.edu>
1640
1641         * Changed support/general/bootmhn.sh to output new mhn_defaults
1642           file to standard output by default (makes it easier for testing).
1643           Changed name of script to create_mhn_defaults.  Changed bootmhn.findit
1644           script to find_program.
1645
1646 Sun Dec  1 10:00:00 1996  Richard Coleman  <coleman@math.gatech.edu>
1647
1648         * Added patch to uip/folder.c from exmh distribution to
1649           speed up -recurse option.
1650
1651         * Added flist command from exmh distribution.  It doesn't work
1652           yet, but it compiles :-)
1653
1654         * Changed default location for install to /usr/local/nmh/{bin,etc,lib,man}.
1655           Split files so that format and configuration files go in nmh/etc, and
1656           support binaries go in nmh/lib.  Of course, all this can now be changed
1657           in the top level Makefile.
1658
1659         * Started with mh-6.8.3 as based and converted to autoconf.
1660           Rewrote all the Makefiles.  Currently only works with sendmail/smtp.
1661           Pop support and plenty of other things, are now broken.