From: <ex...@ih...> - 2002-05-25 22:01:43
|
On Sat, 25 May 2002 22:40:29 +0200 Roland Giersig <RGi...@CP...> wrote: > > Maybe I haven't framed the question properly. But that might just be > > that I don't understand the problem properly. With debugging on and > > $timeout not defined I get this > > "Timed out waiting for an EOF from spawn id(6)" and then it does a > > hard close. > > Oh, but this error message comes from soft_close(), so there already > was something unusual happening... Yes I guess I'll keep digging around. > > > I'm really pining for more examples of using this module, I saw kibitz > > but there isn't much else. I can read the docs until I'm blue but > > I tend to benefit more from seeing things in action. > > Sorry, there aren't really any, except those two in the FAQ. > Maybe somebody > would care to post some example code from their applications? > Unfortunately I've got one example another reader sent along for doing cisco stuff. That helps. On another topic I think that the case when $timeout is undef isn't working properly. i.e. I think it's getting defined anyway but it's defined to the expect expression. I think something is getting shifted off but shouldn't be. I was seeing under debug that it was trying to subtract (line 612) using the expect string. Thanks. |