Parity on 4.x BSD UNIX ports

Kirk Smith ks at pur-ee.UUCP
Fri Apr 15 01:22:28 AEST 1988


In article <12952 at brl-adm.ARPA> cpw%sneezy at lanl.gov (C. Philip Wood) writes:
>It appears that there are only two
>choices on output, odd or even parity.

As it turns out, if you use :rw:ap: in the gettytab description, it will
go into cbreak mode, which happens to only use 7 bits for your output data,
and will hopefully output no parity.  Some device drivers have historically
not handled ANYP "correctly" on output.  That is, even with ANYP set in
the tty mode word, they default to some sort of parity on output
(usually EVEN).  This appears to be a historical problem and was
discussed some time ago.

We have those terminals too, and we set up gettytab like that
and "fixed" the device driver for the port board.  It has worked fine
for about 2 months and we have had no problems with it thus far.

					Kirk Smith



More information about the Comp.unix.wizards mailing list