From: Roland G. <Ro...@Gi...> - 2002-09-24 08:20:15
|
> It's been awhile since I've worked with modems, but IIRC you need > to stty('raw') the line before talking to the modem. In particular > I think they don't like the default 'ICANON' setting. Please note that you can do this directly from Expect, without getting stty involved: my $exp = new Expect; $exp->raw_pty(1); $exp->spawn($command, @parameters) or die "Cannot spawn $command: $!\n"; Roland -- Ro...@Gi... |