Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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 taking refuge in the Monastery: (2)
As of 2025-11-18 05:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your view on AI coding assistants?





    Results (72 votes). Check out past polls.

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.