Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* DHV11 and CTS flow control
@ 1992-03-11 21:19 Sterling G. Bjorndahl
  1992-03-12 19:07 ` jeh
  1992-03-13 13:34 ` Alex Sergejew
  0 siblings, 2 replies; 3+ messages in thread
From: Sterling G. Bjorndahl @ 1992-03-11 21:19 UTC (permalink / raw)


Pardon me if this shows up twice, but it appears that my first posting did
not get off this site.

We have a 2400 baud V.42bis modem on a MicroVax II RS232 serial port.  The
modem wants to use CTS as hardware flow control, to tell the uVax when its 
buffer is full.  But the uVax just keeps on sending data anyway, even when
CTS is raised.  Thus people dialing in miss huge chunks out of their e-mail
or editor screen or whatever.

The only documentation we have for this serial hardware is a "DHV11
Technical Manual" dated 1983.  I can't find anything in there that gives me
any hope about being able to configure this (as a terminal port) to respect
CTS flow control.  Can anyone help me out with this?  We don't have much in
terms of $$, so upgrading our hardware is not a viable option just now. 
Are there any bits we can twiddle to make this work?  Advice would be much
appreciated.

--  
Sterling G. Bjorndahl, bjorndahl@Augustana.AB.CA or bjorndahl@camrose.uucp 
Augustana University College, Camrose, Alberta, Canada      (403) 679-1516


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: DHV11 and CTS flow control
  1992-03-11 21:19 DHV11 and CTS flow control Sterling G. Bjorndahl
@ 1992-03-12 19:07 ` jeh
  1992-03-13 13:34 ` Alex Sergejew
  1 sibling, 0 replies; 3+ messages in thread
From: jeh @ 1992-03-12 19:07 UTC (permalink / raw)


In article <1911@augustana.ab.ca>, bjorndahl@augustana.ab.ca 
(Sterling G. Bjorndahl) writes:
> We have a 2400 baud V.42bis modem on a MicroVax II RS232 serial port.  The
> modem wants to use CTS as hardware flow control, to tell the uVax when its 
> buffer is full.  But the uVax just keeps on sending data anyway, even when
> CTS is raised.  Thus people dialing in miss huge chunks out of their e-mail
> or editor screen or whatever.

You didn't say what operating system you're running, but under VMS, if the port
is configured for modem control (SET TERMINAL /MODEM), CTS flow control works
just fine.  RTS does not (the VAX doesn't do anything with RTS except keep it
'true' most of the time), but the VAX will stop sending data (within a few
characters, even at 19.2 Kbps) to the port if CTS goes 'false', and will resume
sending when CTS goes 'true'.  I've watched this happen on a line analyzer many
times.  It works not only with DHVs but with all DH-series muxes except the
CXA16 (but including the CXY08), and with all other VAX serial ports that
support "full modem control".  

This isn't documented, but it's been working this way since at least mid-V4.  

	--- Jamie Hanrahan, Kernel Mode Consulting, San Diego CA
Chair, VMS Programming and Internals Working Group, U.S. DECUS VAX Systems SIG 
Internet:  jeh@cmkrnl.com, hanrahan@eisner.decus.org, or jeh@crash.cts.com
Uucp:  ...{crash,eisner,uunet}!cmkrnl!jeh


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: DHV11 and CTS flow control
  1992-03-11 21:19 DHV11 and CTS flow control Sterling G. Bjorndahl
  1992-03-12 19:07 ` jeh
@ 1992-03-13 13:34 ` Alex Sergejew
  1 sibling, 0 replies; 3+ messages in thread
From: Alex Sergejew @ 1992-03-13 13:34 UTC (permalink / raw)


bjorndahl@augustana.ab.ca (Sterling G. Bjorndahl) writes:

>We have a 2400 baud V.42bis modem on a MicroVax II RS232 serial port.  The
>modem wants to use CTS as hardware flow control, to tell the uVax when its 
>buffer is full.  But the uVax just keeps on sending data anyway, even when
>CTS is raised.  Thus people dialing in miss huge chunks out of their e-mail
>or editor screen or whatever.

With ultrix the default is to use Xon/Xoff flow control.  I managed to get
a hardware flow control printer going happily by twiddling the right
tty control bits and imagine your users could do the same with stty options.
Note that if you also want DSR to do the right things with a DHV11 you have
to patch a DHUDSR constant in the kernel.  This gem is buried somewhere in
the uucp directory subtree.

Haven't really thought this through but, assuming the modem doesn't do
any buffering, couldn't your users just tell their terminal/emulator to
use Xon/Xoff flow control anyway?  I assume both modems would pass these
flow control chars transparently (the Hayes comand set has a register bit
to do that I think) and they just want to be able to tell the VAX when
to pause and to continue...

Hope this helps.
Alex.


Dr Alex A Sergejew, University of Queensland Department of Psychiatry    _--_|\
Clinical Electrophysiology Unit, Wolston Park Hospital, Wacol, Q 4076   /      X
Australia. Internet: aas@brain.wph.uq.oz.au or aas@brolga.cc.uq.oz.au   \_.--._/
           Phone:    (voice) +61-7-271 8298      (fax) +61-7-271 8567         v
--
Dr Alex A Sergejew, University of Queensland Department of Psychiatry    _--_|\
Clinical Electrophysiology Unit, Wolston Park Hospital, Wacol, Q 4076   /      X
Australia. Internet: aas@brain.wph.uq.oz.au or aas@brolga.cc.uq.oz.au   \_.--._/
           Phone:    (voice) +61-7-271 8298      (fax) +61-7-271 8567         v


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1992-03-13 13:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1992-03-11 21:19 DHV11 and CTS flow control Sterling G. Bjorndahl
1992-03-12 19:07 ` jeh
1992-03-13 13:34 ` Alex Sergejew

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox