Jump to content

Reading out of a console like Telnet or Dos-Box


Recommended Posts

Hello,

I'm getting crazy.

I tried since some weeks to read the content of a telnet box.

I tried it, to copy the text of the console and save it in a variable.

That was really good, but I want to get the content of the box synchronous.

But if in the box an error occured I want to now it promptly and not after a certain time, autoit scans the content of the box with the copy-function.

The copy-function was like this:

When the console is open, then write:

send ( "!{SPACE}")

send ( "B")

send ( "A")

sleep (3000)

send ( "!{SPACE}")

send ( "B")

send ( "k")

But this is not the perfect solution.

I read a lot about reading from a console with autoit, but there isn't a perfect solution.

I tried the telnet-console from souce-forge, I tried Terra Term Pro, I tried to build my own console with autoit-Gui, but nothing gives me an acceptable solution.

PLEASE HELP ME!!!!

What can I do.

My aim is: Get the conent of a telnet session from a unix-mashine...

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...