[comp.unix.ultrix] 8-bit path with flow control needed

vasoll@a.cs.okstate.edu (Mark Vasoll) (03/02/88)

I am currently writing a program to make outgoing connections (ala UUCP)
on async lines to a graphics printer.  My problem is that I need an 8-bit
datapath (the graphics codes are 128-255), but I need to retain CRMOD and
TANDEM (flow control).  Now, the BSD/V7 style ioctl interface (tty(4))
specifically states that unless RAW is set, the terminal driver always generates
EVEN parity (regardless of EVENP/ODDP settings which are used only on input).

Since this software is already running under System V (with CS8, IXON, IXOFF
set), I decided to try the SVID interface of Ultrix instead.  Sadly, this
does not seem to do what it is suppose to do (it still sets EVEN parity
on output and in this case it is certainly not suppose to).  In trying this
I also noticed that output with write(2) is MUCH slower than when using
the BSD/V7 stuff, almost like a CRDELAY of some kind is being set.  Does
anyone have any suggestions short of setting RAW mode and doing my own
flow control handling?  We've reported all of this to DEC, but have not had
a response...

Thanks for any help you can provide.

-- 
Mark Vasoll
Computing and Information Sciences   Internet:  vasoll@a.cs.okstate.edu
Oklahoma State University            UUCP:  {cbosgd, ihnp4,
Stillwater, Oklahoma                         rutgers}!okstate!vasoll