SCO RTSFLOW (was re: Help Telebit and SCO RTS/CTS Setup)
Greg Andrews
gandrews at netcom.COM
Sun Apr 7 12:43:22 AEST 1991
In article <LVQPHKW at geminix.in-berlin.de> gemini at geminix.in-berlin.de (Uwe Doering) writes:
>gandrews at netcom.COM (Greg Andrews) writes:
>
>>Then why does RTS stay high all the time at slower speeds? If it behaved
>>consistently, then the modem could simply be configured to use half duplex
>>flow control (S58=1 S68=255) and be done with it.
>
>Yes, but half duplex flow control, per definition, is only for one
>direction (computer -> modem). This won't help you with receiving
>data.
>
I'm afraid that's not the case. Half duplex data flow is defined as
data flow in one direction at a time. Half duplex RTS/CTS signals when
the computer is ready to receive, and when it is ready to transmit.
By definition, when the computer is ready to transmit, it is not ready
to receive. When RTS is asserted, the computer is signalling a 'ready
to transmit' state, which means 'NOT ready to receive'. It does control
the modem ---> computer data flow. Data is sent to the computer only
when RTS is off.
>
>>Unfortunately, in my version of SCO Unix (3.2.0 according to the kernel),
>>RTS stays on all the time when getty is using the B9600 or slower entries
>>in /etc/gettydefs. That violates the rules for half duplex RTS/CTS. RTS
>>should be low while the computer is not transmitting.
>
>One detail I remember now is that the RTS/CTSFLOW flags have a meaning
>only if CLOCAL is cleared. That is, as far as I know, you can't use
>these flags on a dialout line (tty1a, tty1b etc.) because it has CLOCAL
>always set. And therefore RTS is always high. But I may be wrong here.
>And maybe there are other strange interactions between flags in the sio
>driver. I don't know.
>
That may be true for dialout, but the inconsistent behavior of RTSFLOW
I reported was observed on dial-in, where CLOCAL is not set.
--
.------------------------------------------------------------------------.
| Greg Andrews | UUCP: {apple,amdahl,claris}!netcom!gandrews |
| | Internet: gandrews at netcom.COM |
`------------------------------------------------------------------------'
More information about the Comp.unix.sysv386
mailing list