http://www.perlmonks.org?node_id=715864


in reply to Re: Expect.pm control terminal width
in thread Expect.pm control terminal width

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.