home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / vmsnet / misc / 1178 < prev    next >
Encoding:
Internet Message Format  |  1993-01-24  |  6.5 KB

  1. Xref: sparky vmsnet.misc:1178 vmsnet.internals:1790 comp.sys.dec:7096 comp.org.decus:1140
  2. Path: sparky!uunet!stanford.edu!ames!think.com!sdd.hp.com!crash!cmkrnl!jeh
  3. From: jeh@cmkrnl.com
  4. Newsgroups: vmsnet.misc,vmsnet.internals,comp.sys.dec,comp.org.decus
  5. Subject: Re: Need faster async board...dlv11-J?  Something else?
  6. Message-ID: <1993Jan23.110940.1270@cmkrnl.com>
  7. Date: 23 Jan 93 11:09:40 PST
  8. References: <1993Jan22.151835.1265@cmkrnl.com> <14012022@zl2tnm.gen.nz>
  9. Distribution: world
  10. Organization: Kernel Mode Systems, San Diego, CA
  11. Lines: 117
  12.  
  13. In article <14012022@zl2tnm.gen.nz>, don@zl2tnm.gen.nz (Don Stokes) writes:
  14. > jeh@cmkrnl.com writes:
  15. >> Mark Pizzolato and I were looking at using the new COMMSYNC characteristic.
  16. > Ummm, can you do a version that uses something that doesn't require versions
  17. > of VMS that won't fit on my system disk?  8-(
  18.  
  19. Can probably make it dependent on version.  
  20.  
  21. > TT2$M_BLOCK seems like a good one to me ... who the heck uses it?
  22. > (Famous last words!  8-)
  23.  
  24. There was a VT1xx terminal that worked in block mode... I want to say VT105,
  25. but that was a half-assed attempt at a graphics terminal.  
  26.  
  27. > 'course if MACRO source is available, hacking such things isn't difficult...
  28. > What's COMMSYNC _supposed_ to do?
  29.  
  30. Implements flow control for outbound data based on, I believe, the DSR 
  31. line.  The idea is that if you have a serial printer that waggles DTR for
  32. flow control (which is fairly common in PC stuff; Diablo or someone like that
  33. did it early on, and lots of others followed suit, even though it isn't 
  34. standard) you can wire this to the DTR input of the VAX port.  I don't know
  35. why they bothered since wiring it to CTS always worked fine for me. 
  36.  
  37. >> I have never seen a DECserver 200 implement RTR (what is often called RTS)
  38. >> flow control.  Perhaps the RTS/CTS refers to the old half-duplex method.  
  39. > Hmm.  I thought it did.  Mind you, I haven't really played with it.
  40.  
  41. I'll have to test it more thoroughly.  
  42.  
  43. > The half-duplex method requires that [RTS] be held low unless transmitting
  44. > (or at least preventing the other side sending).  
  45.  
  46. And is therefore useless!  For our purposes anyway.  
  47.  
  48. >> What is odd is that the 200MC *always* honors CTS from the modem (ie stops
  49. >> sending when the modem drops CTS), just as the DHV and similar ports do,
  50. >> even if flow control is disabled.  I hope they don't "fix" this... 
  51. > Nah.  The spec they were reading from says they should do this.
  52.  
  53. That's never stopped them before.  Presumably the folks who designed the
  54. terminal server firmware had access to the same spec, but they came up with a
  55. different interpretation.  Several different interpretations, in fact.  In the
  56. 16-line version of the DS700, the only way to use EIA-232E-style RTR/CTS flow
  57. control is to use an option where the DS700 ignores CD, in favor of DSR!  
  58. (For one client who was stuck with one of these, I ended up making several 
  59. "adapters", basically a 2" long DB25 extension cable with one wiring change:
  60. the modem's CD feeds the LAT port's DSR.)
  61.  
  62. They also put out some release note on, I believe, DS200 3.1 code, talking
  63. about the server "asserting RI [ring indicator]", when RI is of course not
  64. sourced by the terminal server! 
  65.  
  66. > Don't the newer versions of LAT support [set modem and read modem functions]?
  67. > I thought the newer protocol specs had functions to do this.  
  68. > Whether these are supported
  69. > by current devices or load software (or whether this is a random glitch in
  70. > my failing memory) are of course separate issues....
  71.  
  72. The spec may have it (haven't read it carefully) but LTDRIVER certainly 
  73. doesn't know how to use it.  
  74.  
  75. > Personally, I have seen few places where monitoring the signals is actually
  76. > necessary -- mostly all you really need to know is that the connection is
  77. > there (or not) and hand all the other stuff to the drivers.  Monitoring
  78. > carrier for a connection when dialling out is about the only real use I can
  79. > think of for reading the modem signals, and that's only necessary if you're
  80. > using a modem that was dug out of the Olduvai Gorge.
  81.  
  82. Generally this is true.  However it would be nice if ....IO$M_HANGUP did what
  83. it was supposed to.  
  84.  
  85. My real beef in this area is that the DHV and LAT implementations of modem
  86. control are *different*.  I care less about exactly what it does than that they
  87. be the same.  As it is, I can't always move a modem between a mux port to a LAT
  88. port and expect it to work with no configuration or programming changes.  
  89.  
  90. > I can think of several pathological cases with LAT where modem control 
  91. > info and data transfer could be way out of sync.  I
  92. > can see why the LAT folks put this stuff in the "too hard" basket.
  93.  
  94. I've done some implementations of "remote devices" (a pseudodriver talks to
  95. DECnet which talks to a server task which talks to a real device), and you're
  96. right, synchronization can be a sticky area, especially with multiple classes
  97. of requests (reads, writes, and control functions).  I could understand it if
  98. the implementors had put it on the back burner for the first release.  But
  99. these problems *can* be solved, and they should have been solved by now. 
  100.  
  101. > For example, if you queue
  102. > a large number of writes, and they're flushed from VMS and now are in the
  103. > server's buffer, and you issue an IO$M_HANGUP, when should the hangup be
  104. > actioned?  The same sorts of problems appear in the other direction.  
  105.  
  106. Personally I think that (in this case) hangup should cancel all the queued
  107. reads and writes and then drop DTR. In the uucp code we do  a $CANCEL first
  108. before issuing the hangup.  However I would be willing to settle for almost 
  109. *any* interpretation of hangup -- anything would be better than nothing. 
  110. I *don't* want to continue to have to release the LAT port to force a hangup.
  111.  
  112. And of course DEC hasn't seen fit to offer the LAT code to folks who would be
  113. willing to "roll their own", so we can't address it ourselves, either.  DEC
  114. really needs to be awakened wrt the market's interpretation of "open systems".
  115.  
  116. > --
  117. > Don Stokes, ZL2TNM (DS555)                        don@zl2tnm.gen.nz (home)
  118. > Network Manager, Computing Services Centre            don@vuw.ac.nz (work)
  119. > Victoria University of Wellington, New Zealand              +64-4-495-5052
  120.  
  121.     --- Jamie Hanrahan, Kernel Mode Systems, San Diego CA
  122. drivers, internals, networks, applications, and training for VMS and Windows NT
  123. uucp 'g' protocol guru and release coordinator, VMSnet (DECUS uucp) W.G., and 
  124. Chair, Programming and Internals Working Group, U.S. DECUS VMS Systems SIG 
  125. Internet:  jeh@cmkrnl.com, or hanrahan@eisner.decus.org  Uucp: uunet!cmkrnl!jeh
  126.