Hey, Pavel! :) PR> I understand there are two separate problems. One problem is that PR> TIOCSWINSZ doesn't work on pty as it should. Another problem is that it's PR> possible for ioctl() to return a non-zero value without errno becoming PR> non-zero.
Not exactly. There are two problems with TIOCSWINSZ handling on pty childs: 1. ioctl() returns always -1 but leaves errno untouched. 2. TIOCSWINSZ doesn't work with pty childs :) Other than that ioctl()s on Cygwin return non-zero on error (-1), as on Linux, and set the errno appropriately. _______________________________________________ Mc-devel mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/mc-devel
