Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: SSH::W32Perl and STDOUT

by quester (Vicar)
on Feb 22, 2007 at 20:45 UTC ( [id://601639]=note: print w/replies, xml ) Need Help??


in reply to SSH::W32Perl and STDOUT

Oh, sorry, I forgot to mention: Expect.pm works in Perl under Cygwin http://cygwin.com/. If you can use native (meaning TCL-based rather than Perl-based) Expect, it is available either under Cygwin or as part of ActiveTCL http://www.activestate.com/products/ActiveTcl/.

In theory, it ought to be possible to run Net::SSH::Perl under cygwin, but when I tried to install it from CPAN, test t/01-dh of the prerequisite Crypt-DH package hung.

-----

I used to use Windows without Cygwin, but I have repented. Life is too short to be a craftsman with an empty toolbag.

Replies are listed 'Best First'.
Re^2: SSH::W32Perl and STDOUT
by almut (Canon) on Feb 22, 2007 at 23:39 UTC
    ...when I tried to install it from CPAN, test t/01-dh of the prerequisite Crypt-DH package hung.

    yeah, when I had built Crypt::DH, I thought so too... so I aborted the test after a couple of minutes. But looking at the test source, I then figured it might just take a little longer. So, I reran the tests, and they did in fact complete. You have to be patient though :) The last group of tests (#16-18) use a somewhat larger prime (4096 bits). On my (pretty decent) machine, this took over half an hour:

    ~/.cpan/build/Crypt-DH-0.06 $ make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_h +arness(0, 'inc', 'blib/lib', 'blib/arch')" t/00-compile.t t/01-dh.t t/00-compile....ok + t/01-dh.........ok + All tests successful. Files=2, Tests=19, 2100 wallclock secs (2099.05 cusr + 0.70 csys = 20 +99.75 CPU) ^^^^ ~/.cpan/build/Crypt-DH-0.06 $ dmesg | grep Athlon AMD Athlon(tm) 64 X2 Dual Core Processor 4600+ stepping 01
      Hey Monks, I'm in the same position as the OP. Hangs on me unless i redirect to a file. Is there a work around for this? OP have you worked out how to sent the information back to the screen? Thanks.
        Its been like 2 years but still no one has resolved this !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!??????????????????????????????????????????????????????????????????????????

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://601639]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2024-03-28 22:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found