It sounded like you didn't have CB60 open and weren't catching all the responses, so here's a transcript:
- Tanktalus 2012-10-26 15:55:09 UTC
anandk_vec: I would start by trying to send the characters across the telnet session directly: chr(25) . 'm'
- anandk_vec 2012-10-26 16:00:34 UTC
how? i cant get you
- Tanktalus 2012-10-26 16:04:47 UTC
Are you using Net::Telnet? How do you send text with that?
- Tanktalus 2012-10-26 16:07:19 UTC
Looks like Net::Telnet has a put method: $obj->put(String => chr(25) . 'm')
- anandk_vec 2012-10-26 16:11:43 UTC
i use ->cmd();
- anandk_vec 2012-10-26 16:12:48 UTC
$obj->cmd()
- anandk_vec 2012-10-26 16:10:14 UTC
voronich..you there
- Tanktalus 2012-10-26 16:13:45 UTC
Yes, but cmd will also send the \n character, whereas put doesn't. So you still use cmd for the command you're running, but use put for this.
| [reply] |
Yes, look at the Expect module
----
I Go Back to Sleep, Now.
OGB
| [reply] |
I see the problem coming from the delay between the keys release and the M and the Enter. I bet the timing gets thrown off after going thru the network connection.How about using SendKeys in a script on the server? Then just telnet in and execute the SendKeys script.
| [reply] |