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