[Israel.pm] telnet without Net::Telnet

Oron Peled oron at actcom.co.il
Fri Jul 16 01:49:10 PDT 2004


On Thursday 15 July 2004 11:22, Yossi.Itzkovich at ecitele.com wrote:
> BTW: can someone explain why I can do it with ftp but not with telnet :

Sure, ftp reads from STDIN, while telnet needs a tty device because
it has to change its working mode (via ioctl) to raw mode. Tools like
Expect (and probably Net::Telnet -- haven't tested) are opening
pseudo-ttys and talk to them.

-- 
Oron Peled                             Voice/Fax: +972-4-8228492
oron at actcom.co.il                  http://www.actcom.co.il/~oron
ICQ UIN: 16527398

First we take Manhattan , then we take Berlin...(Leonard Cohen).
Linux and Open Source - The Revolution of Choice



More information about the Perl mailing list