gjh@tybalt.caltech.edu (Greg J. Hiscott) (02/24/90)
I have a question for you unappreciated and talented Sun SysAdmins out there: What hacks do you use to accomplish hardware handshaking on RS232 ports? In more detail, I want to use hardware handshaking with HP plotters on Sun SS1s and a 4/110. Has anyone done this? Can you save me the time of writing a filter program to do it? In the 4.0.3 manual pages: c_cflag field can take on the values: CRTSCTS 020000000000 Enable RTS/CTS flow control. If CRTSCTS is set, and the terminal has modem control lines associated with it, the Request To Send (RTS) modem control line will be raised, and output will occur only if the Clear To Send (CTS) modem status line is raised. If the CTS modem status line is lowered, output is suspended until CTS is raised. Some hardware may not support this function, and other hardware may not permit it to be disabled; in either of these cases, the state of the CRTSCTS flag is ignored. Please advise. +-------+ Greg Hiscott gophers = gophers - 18; |+-----+| gjh@ligo.caltech.edu |+-----+| Disclaimer: Caltech has nothing to do with this message. +-------+ (818) 356-2974 FAX:(818)304-9834
poffen@sj.ate.slb.com (Russ Poffenberger) (03/05/90)
In article <5268@brazos.Rice.edu> gjh@tybalt.caltech.edu (Greg J. Hiscott) writes: >X-Sun-Spots-Digest: Volume 9, Issue 56, message 14 > >SS1s and a 4/110. Before you can use hardware handshaking on the Sun serial lines (specifically the CPU ports), you MUST enable it in the kernel. This is done via the zs0 config line. Normally the 'flags' field is 0x3, setting hardware CTS/RTS off. To enable it on port A, change it to 0x2, for port B, set it to 0x1, to enable it on both, set it to 0. Russ Poffenberger DOMAIN: poffen@sj.ate.slb.com Schlumberger Technologies UUCP: {uunet,decwrl,amdahl}!sjsca4!poffen 1601 Technology Drive CIS: 72401,276 San Jose, Ca. 95110 (408)437-5254