Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

How do I emulate a VT100 terminal to interact with a remote GUI

by Toubib (Initiate)
on Oct 24, 2000 at 01:54 UTC ( [id://38040]=perlquestion: print w/replies, xml ) Need Help??

Toubib has asked for the wisdom of the Perl Monks concerning the following question:

I need to interface with a vt100 GUI on a remote system. When I log in, my "shell" is a vt100 GUI. All I need to do is send some keys to it but for that I need to emulate some kind of VT100 terminal through my socket. Does someone have an idea how to do that?

Originally posted as a Categorized Question.

  • Comment on How do I emulate a VT100 terminal to interact with a remote GUI

Replies are listed 'Best First'.
Re: How do I emulate a VT100 terminal to interact with a remote GUI
by lhoward (Vicar) on Oct 24, 2000 at 01:57 UTC
    See Expect. The Expect programming language (and the perl Expect module that provides that functionality to Perl users) are designed percisely for doing what you want: interacting with console and command-line processes like it was a user at a keyboard.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://38040]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2024-04-26 08:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found