From: Hal V. <ha...@th...> - 2002-03-08 01:56:30
|
I've been using Expect for Perl to handle a connection with another system over a modem and it's been working well, but I've recently found IO::VT102. I've been using IO:VT102 in post processing the capture files. Now I'm wondering if it's possible to use this mod with Expect. That would let me extract the need information while online. To use VT102, I need to be able to send it the input strings, like $vt->process($mydata). I'm sure if I were more experienced, the answer would be obvious, but I'm still getting used to perl and all the tools it and *nix have. Is there some way to feed data coming from the modem into both Expect and VT102 at the same time? It would mean I can use Expect to tell when data I need is on the screen, then I could pull it straight from the virtual VT102 terminal. Thanks for any thoughts or suggestions. Hal |