shapiro@uiucuxc.UUCP (03/17/84)
#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?