[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: LYNX-DEV WAIS gateway? --NOT
From: |
Doug Kaufman |
Subject: |
Re: LYNX-DEV WAIS gateway? --NOT |
Date: |
Tue, 13 Jan 1998 00:29:40 -0800 (PST) |
On Fri, 9 Jan 1998, Al Gilman wrote:
> ----- Forwarded message from Gerald Oskoboiny -----
>
> From: Gerald Oskoboiny <address@hidden>
> Subject: Re: LYNX-DEV WAIS gateway? (fwd)
>
> On Thu, 8 Jan 1998, Al Gilman wrote:
>
> > What is the status of this WAIS gateway?
>
> It is no longer supported at W3C, sorry.
In view of the above, I would suggest that the W3C gateway be removed
from the lynx code. I think the following patch does this.
Doug
*** lynx2-7-1/WWW/Library/Implementation/HTAccess.c Mon Nov 24 11:17:20 1997
--- lynx2-7-1/WWW/Library/Implementation/HTAccess.c.new Mon Jan 12 23:40:56 1998
***************
*** 35,44 ****
#define DIRECT_WAIS
#endif /* VMS */
- #ifndef DEFAULT_WAIS_GATEWAY
- #define DEFAULT_WAIS_GATEWAY "http://www.w3.org:8001"
- #endif
-
#include "HTUtils.h"
#include "HTTP.h"
#include "HTAlert.h"
--- 35,40 ----
***************
*** 458,469 ****
if (TRACE && proxy)
fprintf(stderr, "proxy server found: %s\n", proxy);
- #ifndef DIRECT_WAIS
- if (gateway == NULL && !strcmp(access, "wais")) {
- gateway = DEFAULT_WAIS_GATEWAY;
- }
- #endif /* direct wais */
-
/*
** Proxy servers have precedence over gateway servers.
*/
--- 454,459 ----
*** lynx2-7-1/WWW/Library/Implementation/HTWSRC.c Wed Sep 24 08:12:48 1997
--- lynx2-7-1/WWW/Library/Implementation/HTWSRC.c.new Mon Jan 12 23:47:06 1998
***************
*** 350,366 ****
PUTS("Direct access");
END(HTML_A);
/** Proxy will be used if defined, so let user know that - FM **/
! PUTS(" (or via proxy server, if defined), or");
! START(HTML_BR);
! /** Offer W3 Consortium gateway - FM **/
! sprintf(WSRC_address, "http://www.w3.org:8001/%s%s%s/%s",
! me->par_value[PAR_IP_NAME],
! me->par_value[PAR_TCP_PORT] ? ":" : "",
! me->par_value[PAR_TCP_PORT] ? me->par_value[PAR_TCP_PORT] :"",
! www_database);
! HTStartAnchor(me->target, NULL, WSRC_address);
! PUTS("through W3 Consortium gateway");
! END(HTML_A);
FREE(www_database);
--- 350,356 ----
PUTS("Direct access");
END(HTML_A);
/** Proxy will be used if defined, so let user know that - FM **/
! PUTS(" (or via proxy server, if defined)");
FREE(www_database);
*** lynx2-7-1/lynx_help/lynx_url_support.html Fri Jan 2 10:12:24 1998
--- lynx2-7-1/lynx_help/lynx_url_support.html.new Mon Jan 12 23:58:02 1998
***************
*** 249,256 ****
where <em>:port</em> defaults to <em>:210</em>
<p>Direct wais support is built into Lynx for VMS, and can be compiled
! into Lynx on Unix. If direct wais support is not available, Lynx uses
! the W3C wais gateway.
<p>If only a <em>database</em> is indicated in the URL, Lynx returns
an ISINDEX cover page for searching that <em>database</em>, and will
--- 249,255 ----
where <em>:port</em> defaults to <em>:210</em>
<p>Direct wais support is built into Lynx for VMS, and can be compiled
! into Lynx on Unix.
<p>If only a <em>database</em> is indicated in the URL, Lynx returns
an ISINDEX cover page for searching that <em>database</em>, and will
__
Doug Kaufman
Internet: address@hidden (preferred)
address@hidden