bwc@ganehd.UUCP (Brantley Coile) (02/11/86)
I have been playing with the serial port on a unixpc. When programs running at the port try to open /dev/tty they sleep forever. I wrote a small program to read the state word of the tty structure the process was sleeping on and noticed that its state was RTO + WOPEN + ISOPEN. 1) what does the RTO (raw timeout) bit mean? 2) why would it wait for a pending open on a serial port? (I haven't set the RTS/CTS bits with an ioctl) 3) Does anybody have any fixes for this????
mjs@sfsup.UUCP (M.J.Shannon) (02/12/86)
> I have been playing with the serial port on a unixpc. When programs running > at the port try to open /dev/tty they sleep forever. I wrote a small program > to read the state word of the tty structure the process was sleeping on and > noticed that its state was RTO + WOPEN + ISOPEN. > > 1) what does the RTO (raw timeout) bit mean? > 2) why would it wait for a pending open on a serial port? (I haven't > set the RTS/CTS bits with an ioctl) > 3) Does anybody have any fixes for this???? Which version of the UNIX System are you running? -- Marty Shannon UUCP: ihnp4!attunix!mjs Phone: +1 (201) 522 6063 Disclaimer: I speak for no one.