[comp.sys.sun] does rtscts work on SUN 3-60 ???

jaap@sci.kun.nl (Jaap Bril) (09/28/89)

For unmentionable reasons :-(the printer has to serve messy-dos also:-) I
have to configure a lpr serial line with rtscts-handshaking on a SUN 3-60.

The way to go seemed to set CRTSCTS in the ms-part of the printcap-entry.

	#
	aclsr|ul451| Analytische Chemie HP laserjet+ printer :\
		:lp=/dev/ttyb:\
		:br#9600:\
		:ms=cbreak,cs8,-parenb,-cstopb,-opost,crtscts:\
						      ^^^^^^^
		:tr=\f:\
		:sh:\
		:sd=/usr/spool/aclsr:
	#

No rtscts-handshaking occured not even dropping the cts by breakbox.

Reading the termio-man-page again:

          CRTSCTS 0010000   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.

The initial hardware control value after open is B9600, CS7, CREAD,
PARENB.

I discovered that "Some hardware may not support this function" so I asked
our supplier who told me that "SUN 3-60 hardware supports CRTSCTS."

Where do I go wrong?  Has someone implemented rtscts-handshaking
succesfully?  How did they do it?

Any pointers are welcome BY E-MAIL.  Post only THE solution.

Thanks in advance

*Jaap Bril                                 * jaap@sci.kun.nl                *
*computer&communicatie zaken               * mcvax!kunivv1!jaap             *
*faculteit wiskunde en natuurwetenschappen *                                *
*KU Nijmegen, The Netherlands              * +31-80612744                   *