http://www.perlmonks.org?node_id=857814


in reply to IO::Pty with Cygwin - can't install

Can't really help - IO-Tty-1.08 installs fine for me on Cygwin-1.7.5, perl-5.10.1:
1..4 Configuration: -DHAVE_CYGWIN -DHAVE_DEV_PTMX -DHAVE_GRANTPT -DHAVE_OPE +NPTY -DHAVE_POSIX_OPENPT -DHAVE_PTSNAME -DHAVE_PTY_H -DHAVE_SIGACTION + -DHAVE_STRLCPY -DHAVE_TERMIOS_H -DHAVE_TERMIO_H -DHAVE_TTYNAME -DHAV +E_UNLOCKPT Checking for appropriate ioctls: Checking that returned fd's don't clash with stdin/out/err... trying posix_openpt()... trying grantpt()... trying unlockpt()... trying ptsname()... trying to open /dev/tty0... ok 1 Checking if child gets pty as controlling terminal... trying posix_openpt()... trying grantpt()... trying unlockpt()... trying ptsname()... trying to open /dev/tty0... ok 2 gimme on /dev/tty: seems OK! back on STDOUT: SEEMS OK! ok 3 Checking basic functionality and how your ptys handle large strings... This test may hang on certain systems, even though it is protected by alarm(). If the counter stops, try Ctrl-C, the test should conti +nue. trying posix_openpt()... trying grantpt()... trying unlockpt()... trying ptsname()... trying to open /dev/tty0... isatty($master): YES isatty($slave): YES Child PID = 2016 Good, your raw ptys can handle at least 512 bytes at once. ok 4 Passed 4 of 4 tests.
Cheers,
Rob