[twsocket] Simple Telnet question

2008-02-17 Thread Paul
Hi, I am using latest ICS telnet connection to develop a simple test tool. This tool needs to start and stop a program via telnet. I have no problem starting, but I can't find anyway of sending a command from telnet to stop it - the equivalent of pressing control & C on the keyboard. I kno

Re: [twsocket] Simple Telnet question

2008-02-17 Thread Anatoly Podgoretsky
Telnet server usualy inform about this escape sequece in Welcome Message, usualy it is Ctrl+[ Best regards, Anatoly Podgoretsky http://www.podgoretsky.com > I am using latest ICS telnet connection to develop a simple test tool. This > tool needs to start and stop a program via telnet. I have no

Re: [twsocket] Simple Telnet question

2008-02-17 Thread Paul
Thank you, but my problem is I cannot see how to send this using ICS telnet connection. How can I send CTRL ? Thanks - Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Anatoly Podgoretsky Sent: 17 February 2008 11:19 To: ICS support mailing Subject:

Re: [twsocket] Simple Telnet question

2008-02-17 Thread Anatoly Podgoretsky
Sorry I incorrectly understood your initial question. About - it is not sequence, it is form of expression. In Delphi you can express it as <^[> or <#number>, where number is code of character <[> and $1F, that equal $1B or #27 or ^[ You can send it directly to telnet server, like other keys. I