Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
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 ( #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
Node Status?
node history
Node Type: note [id://1087564]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2020-09-23 03:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If at first I donít succeed, I Ö










    Results (130 votes). Check out past polls.

    Notices?