How to generate a break/disconnect? - (nf)
edwards at uiucuxc.UUCP
edwards at uiucuxc.UUCP
Wed Feb 22 18:39:01 AEST 1984
#R:druky:-61300:uiucuxc:29300007:000:437
uiucuxc!edwards Feb 21 23:50:00 1984
You might want to look at ioctl(2) and tty(4) if you're
running 4.1 bsd. I think TIOCSBRK and TIOCCDTR will be of interest
along with their counter parts TIOCCBRK and TIOCSDTR. Assuming that
DTR is the signal line that you want to toggle and that TIOCSBRK does
send a break!
Alan Edwards
US Army Corps of Engineers
Construction Engineering Research Lab (CERL)
UUCP {...,ihnp4,pur-ee}!uiucdcs!uiucuxc!edwards
More information about the Comp.unix
mailing list