home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / infosyst / gopher / 1186 < prev    next >
Encoding:
Text File  |  1992-11-17  |  1.7 KB  |  43 lines

  1. Newsgroups: comp.infosystems.gopher
  2. Path: sparky!uunet!usc!zaphod.mps.ohio-state.edu!uwm.edu!spool.mu.edu!umn.edu!mudhoney!lindner
  3. From: lindner@mudhoney.micro.umn.edu (Paul Lindner)
  4. Subject: Re: unix gopherd -s and -l don't work togeather
  5. Message-ID: <1992Nov17.070258.10075@news2.cis.umn.edu>
  6. Sender: news@news2.cis.umn.edu (Usenet News Administration)
  7. Nntp-Posting-Host: mudhoney.micro.umn.edu
  8. Organization: University of Minnesota, Minneapolis
  9. References: <BxtyKC.B39@uxa.ecn.bgu.edu>
  10. Date: Tue, 17 Nov 1992 07:02:58 GMT
  11. Lines: 30
  12.  
  13. In <BxtyKC.B39@uxa.ecn.bgu.edu> xcea@uxa.ecn.bgu.edu (Chad Adams) writes:
  14.  
  15. >I am tring to use the following in inetd.conf on SunOS 4.1.2 and it does
  16. >not work:  (line split up to into 80 column chunks to put in article)
  17.  
  18. >gopher stream tcp nowait root /usr/local/etc/gopherd gopherd -I
  19. >-s/home/uxa/xgopher/public_access -l/home/uxa/xgopher/log/public -uxgopher
  20. >/home/uxa/xgopher/gopher-public 70
  21.  
  22. >It can't access the main menu.  If I take out the -s or the -l it works.
  23. >We need to use both -s and -l.
  24.  
  25. >We are useing the gopherd from gopher1.03.
  26.  
  27. SunOS is really braindamaged in that it only allows four real
  28. parameters to an inetd.conf entry.  You can do one of two things:
  29.  
  30. remove paramaters (not possible in your case..)
  31.  
  32. Or make a shellscript "wrapper"
  33.  
  34. #!/bin/sh
  35. gopherd -l moo -s goo -I -c etc etc 70
  36.  
  37. Then you execute the wrapper instead of the actual program..
  38. --
  39.  | Paul Lindner | lindner@boombox.micro.umn.edu   | Slipping into madness
  40.  |              | Computer & Information Services | is good for the sake
  41.  | Gophermaster | University of Minnesota         | of comparision.
  42. ///// / / /    /////// / / / /  /  /  /   /      //// / / / /  /  /  /   /
  43.