tty w/wo modem control inquiry
Jonathan Clark
jhc at mtune.UUCP
Thu Apr 24 14:41:53 AEST 1986
Having come late to this question (our news feed having been down
for a few days), but being slightly familiar with the USG tty driver,
I can comment that if you read the termio man page many things are
possible. As I read the VAX 5.0 code the following scenario will
occur every time:
dcd is down throughout all this
proc 1 opens line with O_NDELAY
proc 1 sets CLOCAL (which I read as 'ignore DCD')
proc 1 does a write and blocks
proc 2 does a !O_NDELAY open (which succeeds)
proc 2 does a write which succeeds
pric 1 is still blocked...
Apparently this is fixed in 3b2 SVR2. I'm very close to fixing it for
the UNIX PC. But the set of interactions inside the tty driver
is heavily religious. Informed comments are welcomed.
--
Jonathan Clark
[NAC]!mtune!jhc
My walk has become rather more silly lately.
More information about the Comp.unix.wizards
mailing list