Sorry I incorrectly understood your initial question. About <Ctrl+[ >- 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. Instead <Ctrl+[> it may another combnation of <Ctrl+Char> Best regards, Anatoly Podgoretsky http://www.podgoretsky.com ----- Original Message ----- From: "Paul" <[EMAIL PROTECTED]> To: "'ICS support mailing'" <twsocket@elists.org> Sent: Sunday, February 17, 2008 1:40 PM Subject: Re: [twsocket] Simple Telnet question > 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 > > 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 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 know I could run the application in another thread and end it's process, >> but I need to capture it's output. > -- > To unsubscribe or change your settings for TWSocket mailing list > please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket > Visit our website at http://www.overbyte.be > > -- > To unsubscribe or change your settings for TWSocket mailing list > please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket > Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be