> I already looked at TnScript 2-3 minutes, but I think this only works if
> the Telnet session is designed like this:
>
> Step 1 - Step 2 - Step 3... so each step is a screen completely
> different from each other.

TTnScript associate events to strings detected in the data flow no matter 
how it is organized in "screens". You can add/remove events dynamically if 
you have complex things to do.

> My session will more look like this:
>
> Step 1 (Screen 1) - Step 2 (Screen 2) - Step 3 (Screen 1 again) etc. so
> the same screen will come again and again.
>
> And I can't guarantee that the last line is always the same for these
> screens, because the vendor of the device to be configured could enhance
> the configuration...

There is no guarantee. It is only dependent on the way the device vendor 
organized his program.

> Do you have a short example of this (for my special case)?

I have no example for any case :-(
I wrote that code to automate a specific application I had to write. And as 
usual I've put that code in a reusable component. The only doc I have is 
what you can see in the comments in the source file.

> Or some explanaitions on OnDataAvailable,

Data has been received.

> OnLocalEcho, the properties LocalEcho

That is telnet protocol options negociation. Using telnet (as with an old 
RS232 terminal), when a user type on the keyboard, the character is either 
immediately shown on screen (local echo on) and sent to the remote host, or 
(local echo off) only sent to the remote host which will echo it back to the 
user screen.

> and Backlog?

The component handle terminal emulation with the screen higher than actual 
screen. For example, the host think it has a 80x25 screen while the 
component keep characters which have scrolled out of the screen.


--
Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html
--
[EMAIL PROTECTED]
http://www.overbyte.be


-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to