home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / sgi / misc / 21 < prev    next >
Encoding:
Internet Message Format  |  1992-12-17  |  1.5 KB

  1. Path: sparky!uunet!haven.umd.edu!mimsy!afterlife!adm!news
  2. From: ACCESS@krdc.int.alcan.ca (Shawn Allin - Alcan KRDC Computer Services)
  3. Newsgroups: comp.sys.sgi.misc
  4. Subject: Is RWHOD working as advertised?
  5. Message-ID: <34735@adm.brl.mil>
  6. Date: 17 Dec 92 14:42:41 GMT
  7. Sender: news@adm.brl.mil
  8. Lines: 34
  9.  
  10. Date sent:  17-DEC-1992 09:16:34 
  11.  
  12.      Hi there,
  13.  
  14. Recently, we fired up a RWHOD server on our Vax that was ported by Terry 
  15. Kennedy.  We were perplexed at first by the seeming randomness of which 
  16. machines it saw and which it didn't.  I've tracked it down to the fact that 
  17. the SGI's are broadcasting the information with the fully qualified domain 
  18. name, rather than just the host name portion as the man pages says it 
  19. should.  This causes the Vax to attempt to write files of the form:
  20. rwho.host.domain.name
  21.  
  22. which of couse is invalid under VMS.  As I stated earlier, the man pages 
  23. for RWHOD indicate that it gets the hostname of the machine with 
  24. gethostname.  Here is a quote from the man page:
  25.  
  26.    "The host name included is that returned by the gethostname(2) system call,
  27. with any trailing domain name omitted."
  28.  
  29. I know that I can probably fix the VMS side to do exactly this, but I'd 
  30. prefer it to be fixed on the SGI's if indeed it is a bug.
  31.  
  32. We're running 4.0.5 if it makes any difference.
  33.  
  34.      Thanks,
  35.  
  36.      Shawn Allin
  37.      Alcan International Ltd.,
  38.      P.O. Box 8400,
  39.      Kingston, Ont.,
  40.      Canada  K7L 5L9
  41.      (613) 541-2178
  42.  
  43.      ACCESS@KINGSTON.CAN.INT.Alcan.CA
  44.