Hardware flow control for TTY ports under V.3
Chris Martinus
chris at iosys.UUCP
Fri Apr 12 00:32:29 AEST 1991
In article <451 at frcs.UUCP>, paul at frcs.UUCP (Paul Nash) writes:
> I think that I have a problem. I need to talk from a TTY port on
> a 386 Unix box (Intel V.3.2) to a device that does hardware flow
> control. The output port (currently) uses the FAS drivers, but
> this software needs to be portable to machines that don't have
> such luxuries.
>
> When I openthe port, I use a TCSETA ioctl() to play with baud rates,
> etc. However, as far as I can tell, whether or not I set CLOCAL
> (which is the only relevant looking flag that I can find), dropping
> CTS doesn't halt the port. What am I doing wrong? Is there a
> hidden flag, or a hidden field in the termio struct, or a hidden
> ioctl call? Is there something else entirely that I should use for
> this? Is my break-out box broken?
Uuuh... I dunno about V.3.2 of FAS drivers, but on V.4 if you want
hardware flow control, use /dev/ttyhXX instead of /dev/ttyXX.
Does this help at all?
--
Chris Martinus
chris at iosys
More information about the Comp.unix.questions
mailing list