in reply to Re: Making a shell work like a Net::Telnet session
in thread Making a shell work like a Net::Telnet session
IO::Pty does not compile there, you could just use IPC::Open2 but Net::Telnet uses select to poll the connection and on Windows select does not work with pipes.
Later versions of perl have a socketpair emulation that uses TCP internally (it goes through localhost) but the last time I tried it with OpenSSH, it didn't like having its stdio attached to a TCP socket.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Making a shell work like a Net::Telnet session
by belden (Friar) on Feb 10, 2011 at 22:29 UTC |