This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Making the most recent versions of lynx work from cygwin32


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]