Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Facing Problem with Perl Expect, if the command length is slightly longer is splitting into 2-3 lines with garbage

by igelkott (Priest)
on May 27, 2014 at 17:36 UTC ( [id://1087564]=note: print w/replies, xml ) Need Help??


in reply to Facing Problem with Perl Expect, if the command length is slightly longer is splitting into 2-3 lines with garbage

default terminal line-length problem

I don't really understand how you got that mangled line in your log but you could try to have the session match your local line-length with:

$exp->slave->clone_winsize_from(\*STDIN);

If that doesn't work, try sending a direct command like: stty columns 144

  • Comment on Re: Facing Problem with Perl Expect, if the command length is slightly longer is splitting into 2-3 lines with garbage
  • Select or Download Code

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2024-04-19 21:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found