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