From: Austin S. <te...@of...> - 2004-03-23 06:36:49
|
On Tue, Mar 23, 2004 at 12:44:19AM +0100, Mario Ohnewald wrote: > hello list! > > I dont know much perl, and i mainly want to use it for once special thing: > > I want to start a application, like ftp, or telnet, and redirect the stdin > and stdout. So that i could crontrol those programs remotely. I was told that > pty can do this in a nice way. > > http://search.cpan.org/dist/IO-Tty/Pty.pm > > I found it hard to understand that example they use there, and would be very > happy if someone could point me to a nicer/easier script or examples > regarding pty. > Being that you are sending this to the expectperl list you've heard of Expect, and the Expect.pm module this list represents, no? If not, start there. Also noted that most of those programs have modules already, such as Net::Telnet, Net::FTP, etc. Austin |