life after death (of uport)
Pim Zandbergen
pim at cti-software.nl
Sat Aug 12 08:53:28 AEST 1989
vjs at calcite.UUCP (Vernon Schryver) writes:
>In article <1989Aug10.230329.24196 at robohack.uucp>, woods at robohack.uucp (Greg A. Woods) writes:
>The 2.0.2 asy driver does not correctly understand DCD. If you try `cu -d`,
>you'll notice that SVR3.2 cu(1) and UUCP like to open the device with and
>later turn off NDELAY. The 2.0.2 driver seems to understand NDELAY to mean
>(1) "open even if DCD is false, and die if ever NDELAY and DCD are both
>false", instead of (2) "open even if DCD is false, and do not pay attention
>to DCD until DCD has been true." Whatever, the result is that cu(1)
>looses the port as soon as it turns off NDELAY.
This is exactly how NDELAY should work. You should set CLOCAL immediately
after having opened with O_NDELAY, if you want to keep the line after
having turned off NDELAY.
Cu and uucp will do this if you specify \M (set CLOCAL) and \m (turn it off)
in the Dialers file. This feature was introduced in HDB uucp in System V r 3.1.
--
Pim Zandbergen internet : pim at cti-software.nl
CTI Software BV uucp : ..!uunet!ctisbv!pim
Laan Copes van Cattenburch 70 phone : +31 70 542302
2585 GD The Hague, The Netherlands fax : +31 70 512837
More information about the Comp.unix.microport
mailing list