From: Austin S. <te...@of...> - 2003-05-01 21:42:33
|
On Thu, May 01, 2003 at 08:39:18PM +0200, Miguel wrote: > I tried setting $exp->raw_tty(1) ... no joy > > I tried $exp->spawn('COLUMNS=250 ; telnet foo') ... no joy ... although > this does work from the command line > > I tried $exp->spawn('TERM=dumb ; telnet foo') ... no joy ... although > this does work from the command line > > I didn't see anything in the man page Here's a bit of ugliness that should work: $telnet = $exp->spawn('stty columns 250; telnet foo'); though Roland's suggestion of using Net::Telnet is a good bet. Austin |