Making the most recent versions of lynx work from cygwin32

Victor Schneider vischne@ibm.net
Wed Oct 22 13:31:00 GMT 1997


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".



More information about the Cygwin mailing list