Mail Archives: cygwin-developers/1998/02/17/02:01:42
Ian Lance Taylor wrote:
> I guess I don't understand this. I thought it was already safe for
> the master to open and close the tty slave, particularly with the
> patch I checked in a few days ago. Can you give an example of a
> program which fails without this patch?
Rxvt-2.20 terminal emulator, Xemacs.
>
> I've appended one simple pty testing program I use. It works on Unix,
> and needs to continue to work on cygwin32. When it works, it should
> print the output of stty.
Your program hangs in parent's read with this patch. I know the difference
now - both rxvt and Xemacs sets pty master handle to non-blocking.
--
Sergey Okhapkin, http://www.lexa.ru/sos
Moscow, Russia
Looking for a job.
- Raw text -