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