home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / infosyst / gopher / 1289 < prev    next >
Encoding:
Internet Message Format  |  1992-11-20  |  1.5 KB

  1. Path: sparky!uunet!elroy.jpl.nasa.gov!ames!agate!doc.ic.ac.uk!uknet!mucs!mcchpc.mcc.ac.uk!zlsiimw
  2. From: zlsiimw@mcchpc.mcc.ac.uk (Mark Whidby)
  3. Newsgroups: comp.infosystems.gopher
  4. Subject: Re: Gopher search capability
  5. Message-ID: <6808@m1.cs.man.ac.uk>
  6. Date: 20 Nov 92 09:10:30 GMT
  7. References: <7907@lib.tmc.edu> <1992Nov19.015617.1781@news.nd.edu>
  8. Sender: news@cs.man.ac.uk
  9. Reply-To: M.Whidby@mcc.ac.uk
  10. Organization: Manchester Computing Centre
  11. Lines: 21
  12.  
  13. In article <1992Nov19.015617.1781@news.nd.edu>, mandell@bach.helios.nd.edu (Dan
  14. Mandell) writes:
  15. |> At the risk of sounding really stupid, how does one set up gopher to search 
  16. |> for a keyword in a directory or file (or would this require scripting
  17. |> something like a wais search).  We have been experimenting with gopherd
  18. |> running
  19. |> under unix/hpux and have the basics working...but so far I have not been
  20. |> able
  21. |> to provide more than simple file retrieval. How would I set up a search for
  22. |> a
  23. |> specific keyword in a set of documents in one directory?  I was under the
  24. |> impression that gopher had built in search capability.
  25.  
  26. Basically you need to waisindex the files in the directory and set up a gopher
  27. link of type 7 to the index created. You should look in the manual page for
  28. gopherd for examples on how to do this. 
  29. (of course this requires having the WAIS sruff and that your gopher is
  30. built with WAISINDEX defined)
  31. -- 
  32. _____________________________________________________________
  33. Mark Whidby, Distributed Systems, Manchester Computing Centre
  34.