Hi Xiaofang:

Because expect waits response from unix (or linux) - it 'EXPECTS' a
response, it won't work on xp. Expect is more like a tcl script than perl
and I don't think there's a tcl script either for xp (or dos) - I may be
wrong.

Hope this helps a little.

Ron

----- Original Message ----- 
From: "Gomez, Juan" <[EMAIL PROTECTED]>
To: "Xiaofang Zhou" <[EMAIL PROTECTED]>; "Perl Beginners List"
<beginners@perl.org>
Sent: Saturday, February 12, 2005 9:59 AM
Subject: RE: Re: Perl versus EXPECT(tcl)


Hi Xiaofang


I don’t think is posible you see pty's are only for unix

That’s what I remember and that’s why it crash

Let me get some more info and I send it to you


Have a good day




-----Original Message-----
From: Xiaofang Zhou [mailto:[EMAIL PROTECTED]
Sent: Friday, February 11, 2005 11:00 AM
To: Perl Beginners List
Subject: Re: Re: Perl versus EXPECT(tcl)

Hi, Bob,

Sounds the expert.pm  is cool. But when I try to install the pre-required
io::pty, I got a fatal error. Is it possible to install io::tty and expert
on xp?

---------------------------
        cl -c  -nologo -O1 -MD -Zi -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT
-DHAV E_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS
-DPERL_MSVCRT_READFIX -
O1 -MD -Zi -DNDEBUG    -DVERSION=\"1.02\"  -DXS_VERSION=\"1.02\"
-IE:\Perl\lib\
CORE  Tty.c
Tty.c
Tty.xs(94) : fatal error C1083: Cannot open include file: 'unistd.h': No
such fi le or directory NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
---------------------------



在 2005-02-11 21:42:00 您写道:
>Chris Devers wrote:
>> Several programming languages have mechanisms for building wrappers
>> around Expect, including Perl. In this case, you need a module like
>> Expect.pm or Expect::Simple, as described here:
>
>Pedantic point: Expect.pm is perhaps best thought of as an Expect
>"clone" or "workalike". It does not use or require a tcl installation.
>
>
>--
>To unsubscribe, e-mail: [EMAIL PROTECTED] For additional
>commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/>
><http://learn.perl.org/first-response>

                    致
礼!

            Xiaofang Zhou
            [EMAIL PROTECTED]



--
To unsubscribe, e-mail: [EMAIL PROTECTED] For additional
commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/>
<http://learn.perl.org/first-response>

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to