home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / vms / 17611 < prev    next >
Encoding:
Internet Message Format  |  1992-11-08  |  2.2 KB

  1. Path: sparky!uunet!ukma!wupost!sdd.hp.com!elroy.jpl.nasa.gov!nntp-server.caltech.edu!SOL1.GPS.CALTECH.EDU!CARL
  2. From: carl@SOL1.GPS.CALTECH.EDU (Carl J Lydick)
  3. Newsgroups: comp.os.vms
  4. Subject: Re: SET TERM/INQUIRE
  5. Date: 6 Nov 1992 22:12:42 GMT
  6. Organization: HST Wide Field/Planetary Camera
  7. Lines: 27
  8. Distribution: world
  9. Message-ID: <1deqkqINN9bv@gap.caltech.edu>
  10. References: <31OCT199212071438@erich.triumf.ca>,<1992Nov5.100216.26537@kth.se>
  11. Reply-To: carl@SOL1.GPS.CALTECH.EDU
  12. NNTP-Posting-Host: sol1.gps.caltech.edu
  13.  
  14. In article <1992Nov5.100216.26537@kth.se>, tordm@vand (Tord G.M. Malmgren) writes:
  15. >In article <31OCT199212071438@erich.triumf.ca>, music@erich.triumf.ca (FRED W. BACH) writes:
  16. >
  17. >>   We have just found out that SET TERMINAL/INQUIRE should not be followed
  18. >> immediately by another SET TERM command.  Depending on system and network
  19. >> overhead, there is about a 75% chance that the second command will be
  20. >> totally ignored.  The effect is very reproducible.
  21. >
  22. > I always thought "set terminal/inquire" flushed the command buffer..
  23. >like, run a programme, buffer up "set terminal/inquire" "directory"
  24. >"show quota" and so on, and everything after the "set" will be ignored...
  25.  
  26. No, SET TERMINAL/INQUIRE does NOT "flush the command buffer."  It flushes the
  27. typahead buffer of the terminal you're setting.  Now, if SYS$COMMAND happens to
  28. be that terminal, then any typeahead will, indeed, be flushed and you might
  29. lose commands that immediately followed the SET TERMINAL/INQUIRE.  However, if
  30. SYS$COMMAND is, for example, a DCL procedure, then you don't lose any
  31. subsequent commands.  The original poster didn't make it completely clear, but
  32. it looked to me as if he was talking about the latter case.
  33. --------------------------------------------------------------------------------
  34. Carl J Lydick | INTERnet: CARL@SOL1.GPS.CALTECH.EDU | NSI/HEPnet: SOL1::CARL
  35.  
  36. Disclaimer:  Hey, I understand VAXen and VMS.  That's what I get paid for.  My
  37. understanding of astronomy is purely at the amateur level (or below).  So
  38. unless what I'm saying is directly related to VAX/VMS, don't hold me or my
  39. organization responsible for it.  If it IS related to VAX/VMS, you can try to
  40. hold me responsible for it, but my organization had nothing to do with it.
  41.