mmh
21 years agofixed test in Makefiles for LIBTOOL for the case where it doesn't exist
Doug Morris [Wed, 27 Oct 1999 05:21:12 +0000 (05:21 +0000)]
fixed test in Makefiles for LIBTOOL for the case where it doesn't exist

21 years agofixed libtool check, sort of...
Doug Morris [Tue, 26 Oct 1999 21:12:36 +0000 (21:12 +0000)]
fixed libtool check, sort of...

21 years agochanges to allow building under Mac OS X/Rhapsody
Doug Morris [Thu, 21 Oct 1999 18:59:35 +0000 (18:59 +0000)]
changes to allow building under Mac OS X/Rhapsody

21 years ago * Changed repl defaults to partly revert to MH behaviour:
Ruud de Rooij [Sun, 17 Oct 1999 17:39:22 +0000 (17:39 +0000)]
* Changed repl defaults to partly revert to MH behaviour:
  "-cc all" is now only implied with -group.
* The replcomps template includes cc: header again (as in MH).
* Updated repl man page to reflect these changes.

21 years agosunos/solaris modifications
Doug Morris [Sat, 16 Oct 1999 00:56:05 +0000 (00:56 +0000)]
sunos/solaris modifications

21 years agoreplaced the BIND guess (based on BSDishness) with checks for gethostbyname and setho...
Doug Morris [Fri, 15 Oct 1999 22:38:55 +0000 (22:38 +0000)]
replaced the BIND guess (based on BSDishness) with checks for gethostbyname and sethostent

21 years agofixed bug in mh-profile/mh_profile manpage link - it did not check first
Doug Morris [Wed, 13 Oct 1999 14:56:41 +0000 (14:56 +0000)]
fixed bug in mh-profile/mh_profile manpage link - it did not check first

21 years agoupdated manpage's Makefile and modified the way configure tests to see whether
Doug Morris [Wed, 13 Oct 1999 13:58:41 +0000 (13:58 +0000)]
updated manpage's Makefile and modified the way configure tests to see whether
it should define LINUX_STDIO.

21 years agoAdded '-L' to the calls of 'ls' in configure.in -- I have seen multiple machines
Dan Harkless [Mon, 4 Oct 1999 22:23:29 +0000 (22:23 +0000)]
Added '-L' to the calls of 'ls' in configure.in -- I have seen multiple machines
in the past where the mail spool was a symlink to a directory on another device
with more free space.

21 years ago * Fixed a portability problem in Doug's fix of a portability
Dan Harkless [Sat, 2 Oct 1999 06:00:54 +0000 (06:00 +0000)]
* Fixed a portability problem in Doug's fix of a portability
problem in my MAILGROUP autoconf support ('ls -l' vs. 'ls -lg').

21 years agoI didn't like the double use of "MAILGROUP" for two different variables used in
Dan Harkless [Sat, 2 Oct 1999 06:00:11 +0000 (06:00 +0000)]
I didn't like the double use of "MAILGROUP" for two different variables used in
different languages, with different values.  I renamed Doug's new Makefile
"MAILGROUP" to MAIL_SPOOL_GRP.

21 years agoTouched because I changed configure.in.
Dan Harkless [Sat, 2 Oct 1999 05:57:23 +0000 (05:57 +0000)]
Touched because I changed configure.in.

21 years agoDoug's fix for my MAILGROUP autoconf support on his platform (yep, I was
Dan Harkless [Sat, 2 Oct 1999 05:55:54 +0000 (05:55 +0000)]
Doug's fix for my MAILGROUP autoconf support on his platform (yep, I was
ignorant about that "wheel" group) broke it on my platforms (AIX 4.1.5.0.01 and
Solaris 2.6).  `ls -lg` doesn't do what Doug was expecting on these platforms --
it displays _only_ the group rather than the user and the group (thus awk
'{print $4}' did the wrong thing).

Also did some miscellaneous cleanup, like making variables that were intended to
be cached actually be cached (renamed to nmh_cv_*, etc.), and using the $AWK
that we've auto-detected rather than relying on the $PATH to find one.

21 years ago * Added config.sub and config.guess to the list of files to be
Ruud de Rooij [Sun, 26 Sep 1999 17:45:55 +0000 (17:45 +0000)]
* Added config.sub and config.guess to the list of files to be
distributed.

* Fixed bug in sbr/fmt_scan.c where an extra newline would be
added if a list of addresses was split over several header lines.

* In mts/smtp/smtp.c, undefine strlen and strcpy if they are
macros, regardless of platform.

* Allow q to quit mhshow, and n to skip to next part.  Patch from
Kimmo Suominen <kim@tac.nyc.ny.us>.

* Modified mhstore to recognize attachments created by sendfiles
with x-conversions=gzip.

21 years agomoved canonical guesses back into user config section of config.h
Doug Morris [Mon, 13 Sep 1999 19:23:29 +0000 (19:23 +0000)]
moved canonical guesses back into user config section of config.h

21 years agoupdates to post.c and termsbr.c that prevent warnings on OpenBSD
Doug Morris [Mon, 13 Sep 1999 18:20:28 +0000 (18:20 +0000)]
updates to post.c and termsbr.c that prevent warnings on OpenBSD

21 years agoLots of little code cleanups to prevent warnings - mostly making sure
Doug Morris [Sun, 12 Sep 1999 13:50:11 +0000 (13:50 +0000)]
Lots of little code cleanups to prevent warnings - mostly making sure
some function prototypes are available at compile time. Also fixed
Makefile.in so that make nmhdist will work -- it just blew up after
COMPLETION-TCSH was added and ZSH-COMPLETION was changed to
COMPLETION-ZSH.

21 years agoupdating changelog, should have been done with last commit
Doug Morris [Sun, 12 Sep 1999 07:19:40 +0000 (07:19 +0000)]
updating changelog, should have been done with last commit

21 years agofix for configure to find db1/ndbm.h in new linux systems
Doug Morris [Sun, 12 Sep 1999 06:44:02 +0000 (06:44 +0000)]
fix for configure to find db1/ndbm.h in new linux systems

21 years agoconfigure, configure.in stamp-h.in, and uip/Makefile.in modified to fix
Doug Morris [Fri, 10 Sep 1999 05:22:40 +0000 (05:22 +0000)]
configure, configure.in stamp-h.in, and uip/Makefile.in modified to fix
  MAILGROUP test.
m_getfld.c - added the patch submitted by Richard Cohen to fix
    crashing when mh_profile has no trailing newline.
smtp.c, lock_file.c, m_scratch.c, m_tmpfil.c, mhscmds.c, rcvtty.c, and
  spost.c modified to fix mkstemp bugs. Some I've simply commented out
  because the repair requries either creating another new tempfile
  function (there are 3 already) or cleaning up the existing tmpfile
  functions and all the calls to them. I'm opting for the latter but
  it will take a while.

21 years agoRenamed ZSH.COMPLETION to COMPLETION-ZSH and added COMPLETION-TCSH.
Dan Harkless [Tue, 7 Sep 1999 23:45:20 +0000 (23:45 +0000)]
Renamed ZSH.COMPLETION to COMPLETION-ZSH and added COMPLETION-TCSH.

21 years agoNew file along the lines of the old ZSH.COMPLETION, but for tcsh. Pretty bare
Dan Harkless [Tue, 7 Sep 1999 23:41:37 +0000 (23:41 +0000)]
New file along the lines of the old ZSH.COMPLETION, but for tcsh.  Pretty bare
right now.

21 years agoRenamed to COMPLETION-ZSH so it'll alphabetize next to new COMPLETION-TCSH.
Dan Harkless [Tue, 7 Sep 1999 23:34:00 +0000 (23:34 +0000)]
Renamed to COMPLETION-ZSH so it'll alphabetize next to new COMPLETION-TCSH.

21 years agoRenamed from ZSH.COMPLETION so it'll alphabetize next to new COMPLETION-TCSH.
Dan Harkless [Tue, 7 Sep 1999 23:29:14 +0000 (23:29 +0000)]
Renamed from ZSH.COMPLETION so it'll alphabetize next to new COMPLETION-TCSH.

21 years agoCrap. That's what I get for using vi instead of xemacs for a change. Inserted
Dan Harkless [Wed, 18 Aug 1999 00:05:24 +0000 (00:05 +0000)]
Crap.  That's what I get for using vi instead of xemacs for a change.  Inserted
missing newline.

21 years agoJust adding some text to this file so that cvs will see a difference and let me check...
Dan Harkless [Wed, 18 Aug 1999 00:01:28 +0000 (00:01 +0000)]
Just adding some text to this file so that cvs will see a difference and let me check it in.  Every time acconfig.h or configure.in are changed (which I just
did), the timestamp on this file needs to be updated or when people do a make
an unnecessary `cd . && autoheader` will be done, and not everybody has the
autoconf tools installed.  The next person to change those two files (or
aclocal.m4) will need to change this text, maybe just to a message saying which
dependency files were changed and by whom.

21 years agoAutomated #define of MAILGROUP and installation of inc as setgid mail when the
Dan Harkless [Tue, 17 Aug 1999 23:31:23 +0000 (23:31 +0000)]
Automated #define of MAILGROUP and installation of inc as setgid mail when the
mail spool directory isn't world-writable.

21 years agoAutomated #define of MAILGROUP and installation of inc as setgid mail when the
Dan Harkless [Tue, 17 Aug 1999 23:15:31 +0000 (23:15 +0000)]
Automated #define of MAILGROUP and installation of inc as setgid mail when the
mail spool directory isn't world-writable.

21 years agoJust removed some useless whitespace that [X]Emacs' Make mode highlights as
Dan Harkless [Tue, 17 Aug 1999 23:12:42 +0000 (23:12 +0000)]
Just removed some useless whitespace that [X]Emacs' Make mode highlights as
being semi-bogus.

21 years agoAutomated #define of MAILGROUP and installation of inc as setgid mail when the
Dan Harkless [Tue, 17 Aug 1999 23:09:46 +0000 (23:09 +0000)]
Automated #define of MAILGROUP and installation of inc as setgid mail when the
mail spool directory isn't world-writable.

21 years ago* slocal -debug used to leave a copy of each message processed in /tmp.
Dan Harkless [Fri, 16 Jul 1999 01:39:09 +0000 (01:39 +0000)]
* slocal -debug used to leave a copy of each message processed in /tmp.
* Got rid of a ton of compilation warnings output by gcc -Wall.
* rcvdistcomps no longer has "Resent-Fcc: outbox"; new rcvdistcomps.outbox does.

21 years agoEliminated compilation warnings.
Dan Harkless [Fri, 16 Jul 1999 01:30:05 +0000 (01:30 +0000)]
Eliminated compilation warnings.

21 years agoEliminated unsued sigset_t variables set and oset.
Dan Harkless [Fri, 16 Jul 1999 01:19:29 +0000 (01:19 +0000)]
Eliminated unsued sigset_t variables set and oset.

21 years agoPreviously contained the code:
Dan Harkless [Fri, 16 Jul 1999 01:16:08 +0000 (01:16 +0000)]
Previously contained the code:

if (numburst == 0)
    if (!quietsw)
admonish (NULL, "message %d not in digest format",
  msgnum);
else
    adios (NULL, "burst() botch -- you lose big");

If the indentation is to be believed, this is a bug.  I trusted the indentation
and added {}s around the inner if().

21 years agoEliminated compilation warnings. pop_action() and pop_pack() used to return
Dan Harkless [Fri, 16 Jul 1999 01:13:05 +0000 (01:13 +0000)]
Eliminated compilation warnings.  pop_action() and pop_pack() used to return
garbage.  They now (arbitrarily) return 0.  Dunno if their return values are
ever used...

21 years agoEliminated compilation warnings.
Dan Harkless [Fri, 16 Jul 1999 01:11:44 +0000 (01:11 +0000)]
Eliminated compilation warnings.

21 years agodonote() previously was written such that it could return garbage.
Dan Harkless [Fri, 16 Jul 1999 01:03:34 +0000 (01:03 +0000)]
donote() previously was written such that it could return garbage.

21 years agoerr2peer() previously returned garbage. Now it returns result of callee
Dan Harkless [Fri, 16 Jul 1999 01:01:24 +0000 (01:01 +0000)]
err2peer() previously returned garbage.  Now it returns result of callee
verr2peer().

21 years agoEliminated compilation warnings.
Dan Harkless [Fri, 16 Jul 1999 00:59:36 +0000 (00:59 +0000)]
Eliminated compilation warnings.

21 years agoEliminated compilation warnings.
Dan Harkless [Fri, 16 Jul 1999 00:53:17 +0000 (00:53 +0000)]
Eliminated compilation warnings.

21 years agoEliminated compilation warnings.
Dan Harkless [Fri, 16 Jul 1999 00:52:20 +0000 (00:52 +0000)]
Eliminated compilation warnings.

slocal -debug left a file in /tmp for every single message it processed!
Totally unacceptable since some people like to have slocal -debug in their
.forward files to get better logging.

21 years agoChanged done() from returning void to returning int so that main()s who call
Dan Harkless [Fri, 16 Jul 1999 00:50:01 +0000 (00:50 +0000)]
Changed done() from returning void to returning int so that main()s who call
done() at the end can instead return done() at the end to eliminate the
compilation warning about falling off the end of a non-void function.

21 years agoChanged from returning void to returning int so that main()s who call done() at
Dan Harkless [Fri, 16 Jul 1999 00:48:59 +0000 (00:48 +0000)]
Changed from returning void to returning int so that main()s who call done() at
the end can instead return done() at the end to eliminate the compilation
warning about falling off the end of a non-void function.

21 years agoChanged call of done() to return of done() to eliminate compilation warning.
Dan Harkless [Fri, 16 Jul 1999 00:47:33 +0000 (00:47 +0000)]
Changed call of done() to return of done() to eliminate compilation warning.

21 years agoI think it's totally inappropriate for the default rcvdistcomps to save all
Dan Harkless [Fri, 16 Jul 1999 00:44:40 +0000 (00:44 +0000)]
I think it's totally inappropriate for the default rcvdistcomps to save all
outgoing messages in an "outbox" folder.  I have made a new file called
rcvdistcomps.outbox which looks like this file used to.

21 years agoNew $(DIST_FILES) entry: rcvdistcomps.outbox.
Dan Harkless [Fri, 16 Jul 1999 00:43:04 +0000 (00:43 +0000)]
New $(DIST_FILES) entry: rcvdistcomps.outbox.

21 years agoI renamed the old rcvdistcomps to rcvdistcomps.outbox and removed the
Dan Harkless [Fri, 16 Jul 1999 00:40:35 +0000 (00:40 +0000)]
I renamed the old rcvdistcomps to rcvdistcomps.outbox and removed the
"Resent-Fcc: outbox" line from rcvdistcomps.

21 years agoadded my name to the change
Doug Morris [Sat, 12 Jun 1999 09:29:45 +0000 (09:29 +0000)]
added my name to the change

21 years agoadded explanation of change made two nights ago.
Doug Morris [Sat, 12 Jun 1999 09:26:50 +0000 (09:26 +0000)]
added explanation of change made two nights ago.

21 years agouse mkstemp on systems that have it
Doug Morris [Wed, 9 Jun 1999 20:51:59 +0000 (20:51 +0000)]
use mkstemp on systems that have it

21 years agoAdded notes about the configure change.
Doug Morris [Thu, 13 May 1999 14:42:34 +0000 (14:42 +0000)]
Added notes about the configure change.

21 years agoModified configure to use config.guess and config.sub to auto-detect
Doug Morris [Thu, 13 May 1999 14:28:25 +0000 (14:28 +0000)]
Modified configure to use config.guess and config.sub to auto-detect
the system type and correctly set the #defines in config.h.

21 years ago1.0.1
Dan Harkless [Thu, 13 May 1999 03:42:11 +0000 (03:42 +0000)]
1.0.1

21 years ago1.0.1 patches
Dan Harkless [Thu, 13 May 1999 01:32:53 +0000 (01:32 +0000)]
1.0.1 patches

21 years agoUpdate for the brave new world
Dan Harkless [Thu, 13 May 1999 01:31:47 +0000 (01:31 +0000)]
Update for the brave new world

21 years agoUse "#include <errno.h>" instead of "extern int errno;". Suggested by
Dan Harkless [Thu, 13 May 1999 01:31:00 +0000 (01:31 +0000)]
Use "#include <errno.h>" instead of "extern int errno;". Suggested by
Stephen Wilson Bailey <swb@nconnect.net>

21 years agoadd a note about Irix make
Dan Harkless [Thu, 13 May 1999 01:28:40 +0000 (01:28 +0000)]
add a note about Irix make

21 years agoman page updates from Jerry Peek <jpeek@jpeek.com>
Dan Harkless [Thu, 13 May 1999 01:28:16 +0000 (01:28 +0000)]
man page updates from Jerry Peek <jpeek@jpeek.com>

21 years agodeal with SIGPIPE so mhl doesn't print "Broken pipe" if you quit out
Dan Harkless [Thu, 13 May 1999 01:26:41 +0000 (01:26 +0000)]
deal with SIGPIPE so mhl doesn't print "Broken pipe" if you quit out
of the moreproc

21 years agoFixed a signal-handling bug that could cause whatnow to sometimes exit
Dan Harkless [Thu, 13 May 1999 01:25:52 +0000 (01:25 +0000)]
Fixed a signal-handling bug that could cause whatnow to sometimes exit
without prompting the user. Based on a patch by Richard Geiger
<rmg@netapp.com>.

21 years agoChanged configure.in's check for sigsetjmp to properly deal with
Dan Harkless [Thu, 13 May 1999 01:24:47 +0000 (01:24 +0000)]
Changed configure.in's check for sigsetjmp to properly deal with
systems like Linux where it is a macro. From <elleron@servtech.com>.

21 years agoAdded -library switch so it can parse user aliases like post does.
Dan Harkless [Thu, 13 May 1999 01:22:54 +0000 (01:22 +0000)]
Added -library switch so it can parse user aliases like post does.
From Ruud de Rooij <r.c.m.derooij@twi.tudelft.nl>.

21 years agoDon't add line breaks in the middle of long addresses when building a
Dan Harkless [Thu, 13 May 1999 01:22:03 +0000 (01:22 +0000)]
Don't add line breaks in the middle of long addresses when building a
draft. Fixes a bug where repl would generate invalid headers. From
Ruud de Rooij <r.c.m.derooij@twi.tudelft.nl>.

21 years agoAllow display of 8bit encoded messages. From Kimmo Suominen
Dan Harkless [Thu, 13 May 1999 01:17:23 +0000 (01:17 +0000)]
Allow display of 8bit encoded messages. From Kimmo Suominen
<kim@tac.nyc.ny.us>.

21 years agoChange ordering of a conditional to prevent a bad pointer dereference.
Dan Harkless [Thu, 13 May 1999 01:16:14 +0000 (01:16 +0000)]
Change ordering of a conditional to prevent a bad pointer dereference.
Fixes a segv in inc (and occasionally other programs). Originally from
Ruud de Rooij <r.c.m.derooij@twi.tudelft.nl>

21 years agoFix a buffer overrun that caused packf -mbox to mess up on
Dan Harkless [Thu, 13 May 1999 01:13:58 +0000 (01:13 +0000)]
Fix a buffer overrun that caused packf -mbox to mess up on
Return-Path: lines. From Kimmo Suominen <kim@tac.nyc.ny.us>

21 years agoMake whatnow "list" work with "lproc: show" again. From Ruud de Rooij
Dan Harkless [Thu, 13 May 1999 01:12:12 +0000 (01:12 +0000)]
Make whatnow "list" work with "lproc: show" again. From Ruud de Rooij
<r.c.m.derooij@twi.tudelft.nl>

21 years agoadd HAVE_LIBM
Dan Harkless [Thu, 13 May 1999 01:10:45 +0000 (01:10 +0000)]
add HAVE_LIBM

21 years agoAdd check for modf and link with -lm if it's not in libc. Needed for
Dan Harkless [Thu, 13 May 1999 01:07:15 +0000 (01:07 +0000)]
Add check for modf and link with -lm if it's not in libc. Needed for
at least Digital UNIX. Problem noted by Kevin Oberman <oberman@es.net>

21 years agoFix krb4 code to work with the original krb4 libraries as well as
Dan Harkless [Thu, 13 May 1999 01:05:49 +0000 (01:05 +0000)]
Fix krb4 code to work with the original krb4 libraries as well as
the krb5-compat ones. Based on a patch by Assar Westerlund <assar@sics.se>

21 years agoProperly deal with relative folder names. Problem noted by Jerry Peek
Dan Harkless [Thu, 13 May 1999 01:03:23 +0000 (01:03 +0000)]
Properly deal with relative folder names. Problem noted by Jerry Peek
<jpeek@jpeek.com>

22 years agoInitial revision
Doug Morris [Fri, 30 Apr 1999 18:08:34 +0000 (18:08 +0000)]
Initial revision