This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Making the most recent versions of lynx work from cygwin32
- To: gnu-win32 at cygnus dot com
- Subject: Making the most recent versions of lynx work from cygwin32
- From: Victor Schneider <vischne at ibm dot net>
- Date: Wed, 22 Oct 1997 20:31:24 GMT
I found the answer: `gethostbyname' is not reliable when called only once.
The slrn newsreader uses for loops to call gethostbyname up to three times
before reporting failure. If you replace every instance of gethostbyname
with a for loop calling gethostbyname in the lynx code, the resulting
.exe file will work (with an occasional failed lookup).
I even got the DJGPP version of pico.exe to make an appearance when I attempted
to mail this from cygwin/lynx2-7-1, but I don't think the sendmail program
succeeded (probably not enough calls on gethostbyname).
For best results, you need libslang.a and libtermcap.a in /usr/local/lib or
wherever, and you need to rename libcurses.a and libncurses.a so that configure
doesn't try to use them.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".