moews@zariski (David Moews) (05/02/89)
I am running an interactive program with stdin, stdout & stderr all set to the slave side of a pty (so it thinks it's in a terminal.) It puts the terminal in raw mode. I want to wait until my slave program is waiting for an input character from the terminal. I tried select() on the master but that didn't work. I also tried resetting the process group of the terminal and waiting for the SIGTTIN but this seems to stall the slave process permanently. What do I do? I am running under SunOS 4.0. -- David Moews moews@zariski.harvard.edu