Missing SysV tty device driver feature??

Peter da Silva peter at ficc.ferranti.com
Tue Jan 29 08:20:58 AEST 1991


In article <ZOIN42U at geminix.in-berlin.de> gemini at geminix.in-berlin.de (Uwe Doering) 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.

It is also dropped if CLOCAL is clear and the speed is set to B0. Which
is lucky, because of the difficulty of re-opening ones control terminal
while process group leader... you don't have a control terminal any more
and you can't get one because setpgrp fails if you're already process
group leader. Gritch.
-- 
Peter da Silva.  `-_-'  peter at ferranti.com
+1 713 274 5180.  'U`  "Have you hugged your wolf today?"



More information about the Comp.unix.sysv386 mailing list