From: Blackstone, J. D. <jda...@ci...> - 2002-10-01 17:33:55
|
> -----Original Message----- > From: ab...@en... [mailto:ab...@en...] > Sent: Monday, September 30, 2002 4:58 PM > To: RGI...@cp... > Cc: exp...@li... > Subject: RE: [Expectperl-discuss] Perl, Expect under the Win2k. > > > Roland, the installation went smoothly, but when I tried the > programs, which work ok on solaris, I've got a problem with > telnet connection. > The expect do not go to exp_continue. > > The spawn of telnet was ok. > after this: > > spawn id(4): Does `hello;\r\n' > match: > pattern #2: -ex `TL1 Agent Copyright'? No. > pattern #3: -re `\\[\w+(\-(X|Y))?\] '? No. > > Closing spawn id(4). > > The timeout was 30 sec., but it is getting out of expect loop > ommediately. > > Any ideas? > > How would you suggest and if anybody used the Expect with the > Net::Telnet module? Can you provide the code? |