Missing SysV tty device driver feature??

M. J. Shannon mjs at s4mjs.UUCP
Sun Feb 10 04:30:38 AEST 1991


In article <ZOIN42U at geminix.in-berlin.de> gemini at geminix.in-berlin.de (Uwe Doering) writes:
)allbery at NCoast.ORG (Brandon S. Allbery KB8JRR) writes:
)In most SysV tty drivers the assertion of DTR doesn't depend on the CLOCAL
)flag. It is always raised if at least one process has opened the device,
)and is dropped if the last process closes the device.
)
)This is implementation dependent because the termio(7) man page isn't very
)clear about what lines belong to the modem control group.
)
)Although, the man page clearly states that the HUPCL flag determines whether
)the DTR line is to be dropped with the last close or not. Therefor, I think
)controlling the behaviour of DTR with the HUPCL flag instead of CLOCAL is
)the right thing to do.

The way I always treated it was: HUPCL deals with DTR; CLOCAL deals
with CD (in a very different way, of course: CLOCAL on is supposed to
mean "ignore the state of the CD signal").

)Uwe Doering  |  INET : gemini at geminix.in-berlin.de
)Berlin       |----------------------------------------------------------------
)Germany      |  UUCP : ...!unido!fub!geminix.in-berlin.de!gemini


-- 
--------------+ <Delapsus Resurgam: When I fall I shall rise. --(10cc)>
Marty Shannon | My opinions are just that.  You may share them.  No one
mjs at s4mjs.uucp| speaks for me, and I speak only for myself -- no matter
--------------+ where I post from.  Get it?		Post no flames.



More information about the Comp.unix.sysv386 mailing list