This perl script allows one to connect archie into gopher.

Note: There are two versions of this script, the new one is to be used
as a built-in search item in a gopher data directory.  Installation
instructions for the old version are at the end of this file...







-------------old installation instructions-----------------

To install it do something similar to the following: (these
instructions are geared towards SunOS...)

1) Add an entry to the /etc/services file like this:

   archiegate  7999/tcp

2) Remake the NIS databases if necessary (cd /var/yp; make)

3) Add a line to the /etc/inetd.conf file:

   archgoph        stream  tcp     nowait root /etc/gateway.pl gateway.pl

   The sixth argument should be the full path to your gateway script.

4) Edit the script and set the port and  host of the gateway machine.

5) Then find the process ID of the inetd process and send it a HUP
   signal:

   kill -HUP {inetd PID}


6) Test it out by telnetting to the port you specified in the services
   file, send it a query...

   telnet mudhoney.micro.umn.edu 7999
   Connected to mudhoney.micro.umn.edu.
   Escape character is '^]'.
   gopher
   {results returned here...}
   .

7) Make a link from your gopher database to the gateway.

   Type=7
   Name=Archie search
   Host=mudhoney.micro.umn.edu
   Path=
   Port=7999



