Mail Archives: cygwin/1997/10/22/16:53:37
From: | vischne AT ibm DOT net (Victor Schneider)
|
Subject: | Making the most recent versions of lynx work from cygwin32
|
22 Oct 1997 16:53:37 -0700
: | |
Message-ID: | <1.5.4.16.19971022163400.28b79820.cygnus.gnu-win32@pop1.ibm.net>
|
Mime-Version: | 1.0
|
To: | gnu-win32 AT cygnus DOT com
|
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 AT cygnus DOT com" with one line of text: "help".
- Raw text -