in reply to Re^2: Expect.pm control terminal width
in thread Expect.pm control terminal width
Drop the quotation marks (the ones inside the qw):
What you have is passing "cols and 200" to stty, which it does not recognize (as indicated in the error messages). Also note that according to the docs, you probably want to be using the slave side of the pty:$object->stty(qw(cols 200));
$object->slave->stty(qw(cols 200));
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Expect.pm control terminal width
by jmclark (Novice) on Oct 08, 2008 at 13:54 UTC | |
Re^4: Expect.pm control terminal width
by jmclark (Novice) on Oct 08, 2008 at 14:40 UTC |
In Section
Seekers of Perl Wisdom