Amazingly (or not, to you), I've gotten nmh 1.0 to compile and
actually work (I'm using it now) on Windows NT using the Cygwin32
B20.1 tool kit.
The biggest problem was:
extern int errno
instead of:
#include <errno.h>
in mts/smtp/smtp.c, zotnet/mts/client.c, sbr/error.c, uip/popsbr.c,
uip/ftpsbr.c, uip/vmhsbr.c, and also in mts/sendmail/sendmail.c (which
is probably irrelevant in a Win32 environment.... I suppose you COULD
build a sendmail for Win32, but, yech, why would you want to?)
Another problems is no fpurge in Cygwin32 (nor any way to do the
equivalent, that I could see), so I just removed the call. I couldn't
tell by just a local inspection of the source whether that was a good
or bad thing to do.
Then, there's no ndbm in the basic Cygwin32 distribution, but I could
probably have compiled this separately and used it. But again I think
slocal is the only thing that needs it, and I'm not sure it's very
useful in a Win32 environment either.
Finally, symlinks can't be created, so the installation part of
commands that are symlinks doesn't work. Furthermore if copies are
made of the commands which are intended to be symlinked, they still
fail to recognized the command name properly (because of the .exe, I
assume, I haven't dug into this yet), and still behave as the basic
command.
flex will not work in zotnet/tws (which seems to be a known problem
because Makefile.in doesn't use the configure defined lex).
The only run time type error I've seen is that the mhlist (or is it
mhshow) seems to gag on some types of mime content. It might be an
end of line type issue.
Other than that, it actually works, though I've hardly done extensive
testing on it.
I'm not volunteering to complete development of (or support) this
port, this is only to report that it seems surprisingly close, and to
say ``great job'' in portifying it to use GNU config. Of course I'd
be happy to beta a real production port, too.
Steph