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

  1. Xref: sparky vmsnet.misc:1173 vmsnet.internals:1786 comp.sys.dec:7086 comp.org.decus:1136
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!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: <1993Jan22.151835.1265@cmkrnl.com>
  7. Date: 22 Jan 93 15:18:34 PST
  8. References: <1993Jan20.113259.1238@cmkrnl.com> <9828020@zl2tnm.gen.nz>
  9. Distribution: world
  10. Organization: Kernel Mode Systems, San Diego, CA
  11. Lines: 66
  12.  
  13. In article <9828020@zl2tnm.gen.nz>, don@zl2tnm.gen.nz (Don Stokes) writes:
  14. > jeh@cmkrnl.com writes:
  15. >> Good stuff!  I've been mumbling about doing something along these lines... 
  16. >> I'm going to see if I can complete it and put a nice wrapper around it. 
  17. > OK, but note that I got the TT$M_MODEM!TT$M_HOSTSYNC test wrong.  (It'll take
  18. > the modified path if _either_ bit is set, not both.  Originally, I just coded
  19. > to look at TT$M_MODEM, until I realised that it would only call PORT_XOFF to
  20. > output a BEL if HOSTSYNC wasn't set, dropping DTR until the port was 
  21. > re-initialised, which wasn't quite what I had in mind....)
  22.  
  23. Mark Pizzolato and I were looking at using the new COMMSYNC characteristic. The
  24. doc says that COMMSYNC shouldn't be used with MODEM, but SET TERMINAL does not
  25. enforce this.  My idea is to do RTR flow control if COMMSYNC, MODEM, and
  26. HOSTSYNC are all set; if HOSTSYNC is set but either MODEM or COMMSYNC isn't,
  27. send xon's and xoff's.  It looks as though this will not interfere with the
  28. standard use of COMMSYNC.  This allows easy switching of the new code with the
  29. existing SET TERMINAL command and $QIO interfaces. 
  30.  
  31. >> It's a shame that similar things can't be done to add RTR/CTS flow control to
  32. >> LAT ports.  (Like the DHV it already honors CTS, even when it is set to "no
  33. >> flow control" or "xon/xoff flow control", but pin 4 just stays true all the
  34. >> time.)  Unfortunately the LAT terminal port driver apparently has no way
  35. >> to request modem control signal state changes.  
  36. > Uh...
  37. > | Local> help set port flow control
  38. > | DEFINE/SET PORT FLOW CONTROL
  39. > | 
  40. > | FLOW CONTROL specifies the characters or signals that control
  41. > | data flow at your port.
  42. > | 
  43. > | FLOW [CONTROL] {CTS     }
  44. > |                {DISABLED}
  45. > |                {DSR     }
  46. > |                {XON     }
  47. > | 
  48. > | CTS means that CTS/RTS modem signals implement flow control.
  49. > | [etc]
  50. > (This is DECserver 200 V3.1)
  51.  
  52. Yes, yes, I know that!  btw, it also says 
  53.  
  54.     When using CTS or DSR flow control, MODEM CONTROL must be DISABLED.
  55.  
  56. I have never seen a DECserver 200 implement RTR (what is often called RTS) flow
  57. control.  Perhaps the RTS/CTS refers to the old half-duplex method.  
  58.  
  59. What is odd is that the 200MC *always* honors CTS from the modem (ie stops
  60. sending when the modem drops CTS), just as the DHV and similar ports do, even
  61. if flow control is disabled.  I hope they don't "fix" this... 
  62.  
  63. But what I originally meant is that I can't manipulate the "DTE sourced"
  64. signals, nor read the "DCE sourced" signals, from the VAX side (ie
  65. IO$_SENSEMODE|IO$M_RD_MODEM, IO$_SETMODE|IO$M_HANGUP,
  66. IO$_SETMODE|IO$M_SET_MODEM|IO$M_MAINT, etc., don't work).  I can't even do
  67. the equivalent of Local> SET PORT nnn FLOW CONTROL CTS, though thankfully,
  68. changing the TT characteristics to turn off hostsync and ttsync have do have
  69. the desired effect.  
  70.  
  71.     --- Jamie Hanrahan, Kernel Mode Systems, San Diego CA
  72. drivers, internals, networks, applications, and training for VMS and Windows NT
  73. uucp 'g' protocol guru and release coordinator, VMSnet (DECUS uucp) W.G., and 
  74. Chair, Programming and Internals Working Group, U.S. DECUS VMS Systems SIG 
  75. Internet:  jeh@cmkrnl.com, or hanrahan@eisner.decus.org  Uucp: uunet!cmkrnl!jeh
  76.