in reply to Expecting more from expect
You may need to reset the accumulator size. From the Expect manpage:
$object->max_accum($maximum_buffer_length | undef)Set the maximum accumulator size for object. This is useful if you think that the accumulator will grow out of hand during expect() calls. Since the buffer will be matched by every match_pattern it may get slow if the buffer gets too large. Returns current value if called without parameters. Not defined by default.
P.S. The scp(1) program might be a better way to go.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Expecting more from expect
by bret.foreman (Acolyte) on Jul 08, 2004 at 16:33 UTC | |
by TilRMan (Friar) on Jul 08, 2004 at 23:19 UTC |