Subject: Re: lynx-dev DJGPP and CYGWIN patch for dev.22
To: [EMAIL PROTECTED]

>     * From: Doug Kaufman <[EMAIL PROTECTED]>
>     * Date: Wed, 22 Mar 2000 20:50:28 -0800 (PST)
>   
>On Tue, 21 Mar 2000 [EMAIL PROTECTED] wrote:
>
>> Let me remind you that MingW32 uses the Cygwin compiler, with the specs
>> changed to reflect the crtdll.dll C library in place of the cygwin.dll
>> C library.  If you are adding Cygwin defines into the code, you might
>> consider whether they apply also to MingW32.  I'm also interested in
>
>I don't have MingW32, so perhaps you can answer the key question: Do
>the MingW32 specs include "-D__CYGWIN__"?. If not, the cygwin changes
>won't apply to MingW32. If the define is included in the specs, then
>we will have to be careful about the interactions.

No, the Ming specs include "-D__MINGW32__".  The point of what I wrote
is that improvements involving cygwin might also apply to Ming.

I've been looking at the blat source code.  It seems they haven't released
an upgrade since 1998, which should be considered in retaining the blat
code already present in lynx.

On the other hand, blat.c is completely public domain, and was copied from
the WinVN public domain code.  It is about 65KB, and part is devoted to
things like parsing the command line.  Which leaves about 20 or 30 KB of
source code that calls the gwinsock (WinVN) library interface to sockets
code.  Since gwinsock is rather like libwww, I suspect that it would be
a trivial effort to modify blat.c to call libwww instead of gwinsock, and
make it part of LYMail.c.

The code could replace the blat_mail function, and it would remove all the
calls to idiosyncratic OS mailers.

Reply via email to