Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: launch xterm for STDIO to perl script for telnet

by bellaire (Hermit)
on Mar 19, 2009 at 12:57 UTC ( [id://751700]=note: print w/replies, xml ) Need Help??


in reply to launch xterm for STDIO to perl script for telnet

I'm not sure I'm understanding your write-up, so I'll attempt to clarify. Why are you spawning an xterm in a child process, which connects via TCP back to its own parent, and having the parent do the connection to the router? Why don't you have the spawned child run a connection script on its own which connects directly to the router, not going through the parent? You would still need Expect.pm, but once the interactive login is complete, piping stdin/stdout to your router connection should be trivial.

I think I am missing something.
  • Comment on Re: launch xterm for STDIO to perl script for telnet

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (3)
As of 2024-04-23 22:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found