Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!romp!auschs!awdprime!sandino.austin.ibm.com!jeffe From: jeffe@sandino.austin.ibm.com (Peter Jeffe 512.823.4091) Newsgroups: comp.unix.aix Subject: Re: RTS/CTS flow control (AIX V3) Message-ID: <3192@awdprime.UUCP> Date: 16 Aug 90 18:35:21 GMT References: <1352@msa3b.UUCP> Sender: news@awdprime.UUCP Organization: IBM AWD, Austin, TX Lines: 19 In article <1352@msa3b.UUCP> kevin@msa3b.UUCP (Kevin P. Kleinfelter) writes: >How does one enable/disable RTS/CTS flow control on a tty line using >AIX V3, from a C program? The only info provided by "info" is that >"stty add rts" can be issued from the shell level. This is esentially what an "stty add rts" does: #include main() { if (ioctl(0, TXADDCD, "rts")) perror("ioctl"); } Substitute TXDELCD if you want to "stty del rts". ------------------------------------------------------------------------------- Peter Jeffe ...uunet!cs.utexas.edu!ibmaus!auschs!sandino.austin.ibm.com!jeffe first they want a disclaimer, then they make you pee in a jar, then they come for you in the night