Archive-name: gopher-faqãLast-modified: 1993/03/11ããCommon Questions and Answers about the Internet Gopher, aãclient/server protocol for making a world wide information service,ãwith many implementations. Posted to comp.infosystems.gopher, ãcomp.answers, and news.answers every two weeks.ããThe most recent version of this FAQ can be gotten through gopher, orãvia anonymous ftp:ããpit-manager.mit.edu:/pub/usenet/news.answers/gopher-faqããThose without FTP access should send e-mail to mail-server@rtfm.mit.eduãwith "send usenet/news.answers/finding-sources" in the body to find outãhow to do FTP by e-mail.ãã------------------------------------------------------------------- ãList of questions in the Gopher FAQ:ããQ0: What is Gopher?ãQ1: Where can I get Gopher software?ãQ2: What do I need to access Gopher?ãQ3: Where are there publicly available logins for Gopher?ãQ4: How can I add to the information in gopher?ãQ5: Who Develops Gopher Software?ãQ6: How can I set up a "CSO" phone book server? Where is the software?ãQ7: Why can't I access the University of Minnesota's UPI news?ãQ9: What are the type characters for the different Gopher Objects?ãQ10: When I do full-text searches I always get every document back, Why?ãQ11: When I try to build the UNIX software I get an error from make:ã "Must be a separator on rules line #. Stop" Why?ãQ12: What is the relationship between Gopher and (WAIS, WWW, ftp)?ãQ13: Are papers or articles describing Gopher available?ãQ14: On a DECstation I get the error message "/etc/svc.conf no such fileã or directory" when running the gopherd server, why?ãQ15: The boolean searching terms don't work for my full-text index, why?ãQ16: When linking the Unix gopher server with WAIS I get undefined symbols,ãQ18: Why don't my WAIS indexes work? I never get anything back for searches.ã or Why do I get "Dangling file" error messages in my logfile?ãQ19: My gopher server doesn't work under inetd, why?ãQ20: This is not a bug report, just a curiousity. I managed to installãQ21: Help! I have PC-NFS and want to use the PC-Gopher client. How?ãQ22: How do I nuke a hung TCP connection? I can't restart my UNIXã gopher server unless I get rid of it, and I don't want to reboot!ãQ23: Is there somewhere I can retrieve a list of announced gopherã links? I'd like to keep a local, up-to-date list of available gopherã holes without requiring our users to gopher to umn just to scanã GopherSpace.ãQ24: Why doesn't my unix gopher client display ISO-Latin-1 charactersãQ25: What is veronica?ãã-------------------------------------------------------------------ãQ0: What is Gopher?ããA0: The Internet Gopher client/server provides a distributedã information delivery system around which a world/campus-wideã information system (CWIS) can readily be constructed. Whileã providing a delivery vehicle for local information, Gopherã facilitates access to other Gopher and information serversã throughout the world. ãã-------------------------------------------------------------------ãQ1: Where can I get Gopher software?ããA1: via anonymous ftp to boombox.micro.umn.edu. Look in the directoryã /pub/gopherãã--------------------------------------------------------------------ãQ2: What do I need to access Gopher?ããA2: You will need a gopher "client" program that runs on your local PCã or workstationãã There are clients for the following systems. The directoryã following the name is the location of the client on the anonymousã ftp site boombox.micro.umn.edu (134.84.132.2) in the directoryã /pub/gopher.ãã Unix Curses & Emacs : /pub/gopher/Unix/gopher1.12.tar.Zã Xwindows (athena) : /pub/gopher/Unix/xgopher1.2.tar.Zã Xwindows (Motif) : /pub/gopher/Unix/moogã Macintosh Hypercard : /pub/gopher/Macintosh-TurboGopher/old-versions *ã Macintosh Application : /pub/gopher/Macintosh-TurboGopher *ã DOS w/Clarkson Driver : /pub/gopher/PC_client/ã NeXTstep : /pub/gopher/NeXT/ã VM/CMS : /pub/gopher/Rice_CMS/ or /pub/gopher/VieGOPHER/ã VMS : /pub/gopher/VMS/ã OS/2 2.0 : /pub/gopher/os2/ã MVS/XA : /pub/gopher/mvs/ãã Many other clients and servers have been developed by others, theã following is an attempt at a comprehensive list. ãã A Microsoft Windows Winsock client "The Gopher Book"ã sunsite.unc.edu:/pub/micro/pc-stuff/ms-windows/winsock/goph_tbk.zipãã A Macintosh Application, "MacGopher".ã ftp.cc.utah.edu:/pub/gopher/Macintosh *ãã Another Macintosh application, "GopherApp".ã ftp.bio.indiana.edu:/util/gopher/gopherapp *ãã A port of the UNIX curses client for DOS with PC/TCPã oac.hsc.uth.tmc.edu:/public/dos/misc/dosgopher.exeãã A port of the UNIX curses client for PC-NFSã bcm.tmc.edu:/nfs/gopher.exeãã A beta version of the PC Gopher client for Novell's LAN Workplaceã for DOSã lennon.itn.med.umich.edu:/dos/gopherãã A VMS DECwindows client for use with Wollongong or UCXã job.acs.ohio-state.edu:XGOPHER_CLIENT.SHAREããã * Note: these Macintosh clients require MacTCP.ãã Most of the above clients can also be fetched via a gopher clientã itself. Put the following on a gopher server:ãã Type=1ã Host=boombox.micro.umn.eduã Port=70ã Path=ã Name=Gopher Software Distribution.ãã ã Or point your gopher client at boombox.micro.umn.edu, port 70 andã look in the gopher directory.ããã There are also a number of public telnet login sites available.ã The University of Minnesota operates one on the machineã "consultant.micro.umn.edu" (134.84.132.4) See Q3 for moreã information about this. It is recommended that you run the clientã software instead of logging into the public telnet login sites. Aã client uses the custom features of the local machine (mouse,ã scroll bars, etc.) A local client is also faster.ãã---------------------------------------------------------------------ãQ3: Where are there publicly available logins for Gopher?ããA3: Here is a short list, use the site closest to you to minimizeã network lag.ãã Non-tn3270 Public Logins:ãã Hostname IP# Login Areaã ------------------------- --------------- ------ -------------ã consultant.micro.umn.edu 134.84.132.4 gopher North Americaã gopher.uiuc.edu 128.174.33.160 gopher North Americaã panda.uiowa.edu 128.255.40.201 panda North Americaã gopher.sunet.se 192.36.125.2 gopher Europeã info.anu.edu.au 150.203.84.20 info Australiaã gopher.chalmers.se 129.16.221.40 gopher Swedenã tolten.puc.cl 146.155.1.16 gopher South Americaã ecnet.ec 157.100.45.2 gopher Ecuadorã ã tn3270 Public Logins:ãã Hostname IP# Login Areaã ------------------------- --------------- ------ -------------ã pubinfo.ais.umn.edu 128.101.109.1 -none- North Americaããã It is recommended that you run the client software instead ofã logging into the public login sites. A client uses theã custom features of the local machine (mouse, scroll bars, etc.)ã and gives faster response.ãã---------------------------------------------------------------------ãQ4: How can I add to the information in gopher?ããA4: You can do this by running a gopher server. Servers are availableã for a number of systems. Use anonymous ftp toã boombox.micro.umn.edu (134.84.132.2) and look in /pub/gopher. Theã following servers are available there:ã ã Unix : /pub/gopher/Unix/gopherxx.tar.Zã VMS : /pub/gopher/VMS/ã Macintosh : /pub/gopher/Mac_server/ã VM/CMS : /pub/gopher/Rice_CMS/ or /pub/gopher/Vienna_CMS/ã MVS : /pub/gopher/mvs/ã DOS PC : /pub/gopher/PC_server/ããã When you have your server ready you can publish it to the world byã sending e-mail to the maintainters of the "Other gophers" list:ãã If your gopher server is in Europe, send mail to:ã ã gopher@ebone.netãã Otherwise send mail to:ãã gopher@boombox.micro.umn.edu ãã---------------------------------------------------------------------ãQ5: Who Develops Gopher Software?ããA5: Gopher was originally developed in April 1991 by the Universityã of Minnesota Microcomputer, Workstation, Networks Center to helpã our campus find answers to their computer questions. ãã It has since grown into a full-fledged World Wide Informationã System used by a large number of sites in the world.ãã Many people have contributed to the project, too numerous toã count. ãã The people behind the much of the gopher software can be reachedã via e-mail at gopher@boombox.micro.umn.edu, or via paper mail:ã ã Internet Gopher Developersã 100 Union St. SE #190ã Minneapolis, MN 55455 USAãã Or via FAX at:ã ã +1 (612) 625-6817ãã---------------------------------------------------------------------ãQ6: How can I set up a "CSO" phone book server? Where is the software?ããA6: CSO phone book servers are also known as "qi" servers. Theã software implementation can be gotten via anonymous ftp from ã uxc.cso.uiuc.edu (128.174.5.50) as /pub/qi.tar.Z. You may alsoã see this referred to as "ph", which is what most of the clientsã are called. A collected set of clients for Macs, PCs, VMS, VM,ã etc, are in the /pub/ph.tar.Z file.ãã There is also an archive of the mailing list for qi/ph software onã the same machine. It's in /pub/info-ph.archive. You may join theã list by sending email to info-ph-request@uxc.cso.uiuc.edu.ãã This software is supported by Paul Pomes ã Contact him for more information. ãã-------------------------------------------------------------------ãQ7: Why can't I access the University of Minnesota's UPI news?ããA7: The University of Minnesota has a site license for UPI news, weã are not allowed to distribute it off of our campus. We get ourã UPI news from Clarinet. For more information about getting UPIã news send mail to info@clarinet.com. For information aboutã setting up your own gopher-UPI server search the gopher-newsã archive for UPI.ãã-------------------------------------------------------------------ãQ9: What are the type characters for the different Gopher Objects?ããA9: Normal IDs. ãã 0 Item is a fileã 1 Item is a directoryã 2 Item is a CSO (qi) phone-book serverã 3 Errorã 4 Item is a BinHexed Macintosh file.ã 5 Item is DOS binary archive of some sort. ã 6 Item is a UNIX uuencoded file.ã 7 Item is an Index-Search server.ã 8 Item points to a text-based telnet session.ã 9 Item is a binary file! Client must read until the connectionã closes. Beware.ã T TN3270 connection.ãã Experimental IDs.ãã s Sound type. Data stream is a mulaw sound.ã g GIF type.ã M MIME type. Item contains MIME data.ã h html type.ã I Image type.ã i "inline" text type (used by panda).ãã-------------------------------------------------------------------ãQ10: When I do full-text searches I always get every document back, Why?ããA10: This is a problem occasionally encountered with Unix full-textã indexes. It is caused by setting up the link incorrectly to aã gindexd port.ãã The Path= field should be *blank* when pointing to a gindexdã index.ãã Otherwise the client will send the path to the gindexd daemon,ã which interprets everything as a keyword. This path isã likely to contain a pathname that is common to all of the indexedã files. Thus a search generates hits on everything.ãã-------------------------------------------------------------------ãQ11: When I try to build the UNIX software I get an error from make:ã "Must be a separator on rules line #. Stop" Why?ããA11: This is a problem with older makes that don't understand the "include"ã keyword. One easy way to cope with this problem is compiling GNUã make, which does understand the include keyword.ãã If this is too difficult, remove the line:ã ã include Makefile.configãã from all the Makefiles and paste in a copy of Makefile.config atã the top of each Makefile.ãã Or, instead of pasting you can make the client/server by goingã into the appropriate directory and typing:ãã make -f ../Makefile.config -f Makefileãã-------------------------------------------------------------------ãQ12: What is the relationship between Gopher and (WAIS, WWW, ftp)?ããA12: Gopher is intimately intertwined with these two other systems.ã As shipped the Unix gopher server has the capability to: ã ã - Search local WAIS indices.ã - Query remote WAIS servers and funnel the results to gopherã clients.ã - Query remote ftp sites and funnel the results to gopherã clients.ã - Be queried by WWW (World Wide Web) clients (either usingã built in gopher querying or using native http querying.ãã-------------------------------------------------------------------ãQ13: Are papers or articles describing Gopher available?ããA13: Gopher has a whole chapter devoted to it in :ãã _The_Whole_Internet_users_guide_and_catalog by Ed Krol ã (publisher O'Reilley & Associates, Inc; ISBN: 1-56592-025-2).ã (Editors note: ...Great book, go out and buy a bunch!)ãã _The_Internet_Passport: NorthWestNet's Guide to Our World Online"ã By Jonathan Kochmer and NorthWestNet. Published by NorthWestNet,ã Bellevue, WA. 1993. 516 pp. ISBN 0-9635281-0-6. ã Contact info: passport@nwnet.net, or (206) 562-3000ãã _A_Students_Guide_to_UNIX by Harley Hahn. (publisher McGraw Hill,ã Inc.; 1993 ISBN 0-07-025511-3)ããã Other references include:ãã _The_Internet_Gopher_, "ConneXions", July 1992, Interop.ãã _Exploring_Internet_GopherSpace_ "The Internet Society News", v1n2 1992, ãã (You can subscribe to the Internet Society News by sending e-mail toã isoc@nri.reston.va.us)ãã _The_Internet_Gopher_Protocol_, Proceedings of the Twenty-Thirdã IETF, CNRI, Section 5.3ãã _Internet_Gopher_, Proceedings of Canadian Networking '92ãã _The_Internet_Gopher_, INTERNET: Getting Started, SRIã International, Section 10.5.5ãã _Tools_help_Internet_users_discover_on-line_treasures, Computerworld,ã July 20, 1992ãã _TCP/IP_Network_Administration_, O'Reilly.ãã Balakrishan, B. (Oct 1992)ã "SPIGopher: Making SPIRES databases accessible through theã Gopher protocol". SPIRES Fall '92 Workshop, Chapel Hill, Northã Carolina.ãã Tomer, C. Information Technology Standards for Libraries,ã _Journal of the American Society for Information Science_,ã 43(8):566-570, Sept 1992.ããã-------------------------------------------------------------------ãQ14: On a DECstation I get the error message "/etc/svc.conf no such fileã or directory" when running the gopherd server, why?ããA14: This is caused by the chroot() call in gopherd. It can be easilyã fixed by running gopherd with the -c option.ãã Alternatively you can copy /etc/svc.conf into a directory namedã "etc" inside the gopher-data directory.ã-------------------------------------------------------------------ãQ15: The boolean searching terms don't work for my full-text index, why?ããA15: This is probably because the searching is being provided by WAIS.ã WAIS opts to return all documents that contain a search phraseã within certain limits. WAIS searches do return the documents withã the highest "score" at the top, those documents will have theã closest relevance.ãã Alternatively you could get a booleanized version of wais fromã ftp.bio.indiana.edu.ã-------------------------------------------------------------------ãQ16: When linking the Unix gopher server with WAIS I get undefinedã symbols,ã such as:ãã log_file_nameã logfileã PrintStatusã find_valueã Sourcesã NumSourcesããA17: This happens if you make gopherd before linking in the WAIS ir/uiã directories. The fix is to "make clean" or removeã gopherd/{waisgopher.o,Waisindex.o} and then remake gopherd. Orã link the ir/ui directories first.ã-------------------------------------------------------------------ãQ18: Why don't my WAIS indexes work? I never get anything back for searches.ã or Why do I get "Dangling file" error messages in my logfile?ããA18: The problem could be in the server. The server should be runã using the -c option if you want WAIS to work. Another solution is toã patch the WAIS code so that it doesn't check the files on the disk.ã Search the gopher-news archive for "dangling". This will turn up aã single document with the patch.ãã-------------------------------------------------------------------ãQ19: My gopher server doesn't work under inetd, why?ããA19: It could be that your inetd server only supports a limited amountã of arguments. For instance, the maximum number of arguments to anã inetd server is 5. You can get around this by combining arguments: i.e.ãã gopherd -I -c ãã becomes:ãã gopherd -Icãã You may also leave the port specifier off of the command line.ã The gopher server automagically finds out the port it's running on.ãã-------------------------------------------------------------------ãQ20: This is not a bug report, just a curiousity. I managed to installã gopher on my PC, more or less by myself, which is a pretty goodã accomplishment, for someone who hasn't installed hardly anything on aã PC. I then proceeded to load my PC/TCP kernel, ETHDRV, and try toã start up gopher. It said it couldn't initialize that stack(?). I haveã to load this whenever I use PC/TCP. Incredibly, when I did not loadã ETHDRV, Gopher came up immediately and telneted to our local server.ã How does it know what kernel to load?ããA20 Dr. Science says,ã ã The Internet Gopher program is not actually computer program atã all, but a collection of magical incantations handed down from Darkã Age conjurors. It works by sending magical "demons" through the air,ã which scour the world for information, and then return to castã illusions containing the answer.ãã When you use the Gopher, your computer isn't actually doingã anything at all. Instead, these demons have mesmirized you with anã evil magical spell, which was invoked by the pattern ofã finger-movements peculiar to the typing of the letters G-O-P-H-E-R onã your keyboard. This spell transmits demonic information directly toã your brain.ãã Scientists aren't certain of the long-term effects of demonicã mesmirization, although former presidents have suffered only minorã medical side-effects from it. Indeed, since Magic and Science areã usually opposed to each other, most Scientists are usuallyã close-minded about such issues, and will usually respond with someã vacuous non-answer about "packet drivers", "stacks", and other suchã jargon.ãã Unlike conventional scientists, Dr. Science is very open-minded andã is willing to deal with such issues in a frank and honest manner.ã This is why people come to him with questions, and why they've learnedã to rely on and live by his answers.ãã Dr. Scienceã "I'm not a real doctor; I have a Master's Degree.... in SCIENCE!"ãã:-) :-) :-) :-)ãThere's always room for a little humor in a FAQ..ã-------------------------------------------------------------------ãQ21: Help! I have PC-NFS and want to use the PC-Gopher client. How?ããA21: Use a piece of software called PKTMUX, available at fine ftpã sites everywhere. This will let you use any packet driverã application.ãã Or, aquire a client that supports PC-NFS. See Q2.ã-------------------------------------------------------------------ãQ22: How do I nuke a hung TCP connection? I can't restart my UNIXã gopher server unless I get rid of it, and I don't want to reboot!ããA22: ããHere is an example of using dbx to change a socket from CLOSING toãCLOSED.ãã # netstat -A|grep CLOSINGã c4bc5100 tcp 0 11 mymachine.gopher 129.89.8.4.70 CLOSINGã # dbx -k /vmunix /dev/memã ...ã (dbx) 0xc4bc5100+8/1X -- display contents of PCB+8ã c4bc5108: 00000007ã (dbx) assign 0xc4bc5108=0 -- zero itã 0ã (dbx) qããAfter a minute or two, the CLOSED socket should disappear.ã-------------------------------------------------------------------ãQ23: Is there somewhere I can retrieve a list of announced gopherã links? I'd like to keep a local, up-to-date list of available gopherã holes without requiring our users to gopher to umn just to scanã GopherSpace.ããA23: In the Unix client/server distribution is a perl script calledã "gopherdist". Gopherdist can fetch the contents of any point inã GopherSpace.ãã To dump the contents of all the North American links fromã gopher.tc.umn.edu do the following:ãã % gopherdist gopher.tc.umn.edu 70 "1/Other Gopher and Informationã Servers/North America" > .Linksã-------------------------------------------------------------------ãQ24: Why doesn't my unix gopher client display ISO-Latin-1 charactersã properly? BTW I'm using a Sun workstation..ããA24: It is the client's problem, the server is perfectly 8-bit transparent.ã The BSD curses library uses bit 8 in order to remember, whether a ã character has been displayed reverse. So use just /usr/5bin/cc andã you get the System V curses version which is 8 bit clean.ãã Note that this may be a problem under other versions of UNIX too...ãã-------------------------------------------------------------------ãQ25: What is veronica?ããA25: veronica: Very Easy Rodent-Oriented Net-wide Index to ã Computerized Archives.ãã veronica offers a keyword search of most gopher-server menu titlesã in the entire gopher web. As archie is to ftp archives, veronica ã is to gopherspace. A veronica search produces a menu of gopherã items, each of which is a direct pointer to a gopher data source.ã Because veronica is accessed through a gopher client, it is easyã to use, and gives access to all types of data supported by theã gopher protocol.ãã To try veronica, select it from the "Other Gophers" menu on ã Minnesota's gopher server, or point your gopher at:ãã Name=veronica (search menu items in most of GopherSpace) ã Type=1 ã Port=70 ã Path=1/veronica ã Host=futique.scs.unr.eduã--ã | Paul Lindner | lindner@boombox.micro.umn.edu | Slipping into madnessã | | Computer & Information Services | is good for the sakeã | Gophermaster | University of Minnesota | of comparison.ã///// / / / /////// / / / / / / / / //// / / / / / / / /ã