On Fri, Sep 12, 2008 at 04:23:12PM +0200, Marc Haber wrote: > Description : Emulation of a VT102 terminal in a Perl data structure > > Term::VT102 provides emulates a VT102 terminal in a Perl data > structure. You can print strings and VT102 control sequences to a > VT102 objects and then query the contents of the "virtual screen". > Like expect(1), this is primarily for use as a way of automatig > processes. For instance, it is possible to write a script which > connects via telnet to a full-screen service of some kind (such as a > router, or a telephone switch9, uses this module to parse the output > and therefore can tell what is currently "on the screen" and react > accordingly. Expect(1) cannot really do this, as it is > stream-oriented, rather than being able to tell, say, what's on the > top row of the screen.
A better description pulled from the pod (sorry for missing this): The VT102 class provides emulation of most of the functions of a DEC VT102 terminal. Once initialized, data passed to a VT102 object is processed and an in-memory "screen" modified accordingly. This "screen" can be interrogated by the calling program in a variety of ways. . This allows a program to interface with full-screen console programs by running them in a subprocess and passing their output to a VT102 object. It can then be seen what the application has written on the screen by querying the object appropriately. Grüße Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 3221 2323190 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]