Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re^2: Expect.pm control terminal widthby jmclark (Novice) |
on Oct 07, 2008 at 22:08 UTC ( [id://715864]=note: print w/replies, xml ) | Need Help?? |
problem with converting it over to Net::SSH::Expect is that the script is completely done and is around 4k lines of code. It just recently became a problem because of some changes on the devices that have longer outputs so I'd have to competely re-write the script.
$object->stty(qw("cols 200")); Returns: IO::Stty::stty passed invalid parameter '"cols' IO::Stty::stty passed invalid parameter '200"' I also tried columns, no quotes, etc.
In Section
Seekers of Perl Wisdom
|
|