Got it working, apart from the need to hit CR a lot as web pages load
(that may be because I still need to define SOCKET_READ in the BeOS
environment).
Patches:
./WWW/Library/Implementation/HTTCP.c (line 1930):
+ #if defined(UNIX) && !defined(__BEOS__)
if (fildes == 0) {
/*
* 0 can be a valid socket fd, but if it's a tty something must
* have gone wrong. - kw
*/
if (isatty(fildes)) {
CTRACE((tfp, "HTDoRead - refusing to read fd 0 which is a
tty!\n"));
+ SOCKET_ERRNO = EINVAL;
return -1;
}
} else
#endif
./WWW/Library/Implementation/www_tcp.h (line 41):
+#ifdef __BEOS__
+#define NETREAD(s,b,l) recv((s),(b),(l),0)
+#define NETWRITE(s,b,l) send((s),(b),(l),0)
+#define NETCLOSE(s) closesocket(s)
+#else
#define NETCLOSE close /* Routine to close a TCP-IP socket */
#define NETREAD HTDoRead /* Routine to read from a TCP-IP socket
*/
#define NETWRITE write /* Routine to write to a TCP-IP socket */
+#endif
-Nigel
begin:vcard
fn:Nigel Horne
n:Horne;Nigel
org:NJH Music
email;internet:[EMAIL PROTECTED]
tel;fax:+44 870 705 9334
note:Skype: nigelhorne
x-mozilla-html:FALSE
version:2.1
end:vcard
_______________________________________________
Lynx-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lynx-dev