Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!watmath!clyde!burl!ulysses!mhuxl!ihnp4!inuxc!pur-ee!uiucdcs!uiucuxc!shapiro
From: shapiro@uiucuxc.UUCP
Newsgroups: net.wanted
Subject: wanted: handler for ACT printer - (nf)
Message-ID: <6202@uiucdcs.UUCP>
Date: Fri, 16-Mar-84 22:36:55 EST
Article-I.D.: uiucdcs.6202
Posted: Fri Mar 16 22:36:55 1984
Date-Received: Sun, 18-Mar-84 07:52:58 EST
Lines: 18

#N:uiucuxc:33200009:000:758
uiucuxc!shapiro    Mar 16 08:21:00 1984

	I have need of a tty (or other device) handler that
does not change the parity bit (ie. full 8 bit output) but still
handles the ctrl-S/Q handshaking.
	We are trying to drive an 8 bit ACT ink-jet graphics printer.
We are running 4.1c Bsd Unix on a SUN micro.  We don't have UNIX source.

	I have solved the problem for the moment with the
normal tty handler by openning the device and setting RAW mode
(to get 8 bit output) and the using the ioctl() call FIONREAD
to look for characters sent by the printer and handling the
ctrl-S/Q handshaking myself.  But this can't be done in background
because the read of the ctrl-S/Q stops the job.

	What I really need is for the tty handler to be able to
be told to do 'RAW' on output only. Anybody have any ideas?