#1
|
||||
|
||||
Escape Sequence
Hello,
How can i send a escape sequnece (Ctrl+5+c) as a Button (Send String)? |
#2
|
|||
|
|||
Hi Mike01,
Is it really an escape sequence? Or is it a control sequence? How do you use it? (ie: Are you pressing Ctrl+5, then c? Or you really hold all three keys at the same time?) What does this combo do?
__________________
Thanks, --Brenda VanDyke Software Technical Support support@vandyke.com (505) 332-5730 |
#3
|
||||
|
||||
Quote:
Yes, i press "Ctrl" and "5" and then "C". Closed a Telnet session |
#4
|
|||
|
|||
Hi Mike01,
You should be able to map the button to send this string: \135c. You can use \135c\r if an ENTER is also required to close the connection.
__________________
Thanks, --Brenda VanDyke Software Technical Support support@vandyke.com (505) 332-5730 Last edited by bgagnon; 03-11-2020 at 12:11 PM. Reason: I think escape sequence is the term the telnet server used so removed that line |
#5
|
||||
|
||||
Hello Brenda,
unfortunately, that didn't work out. Here's a picture of us on line four, where we're in the "root..." from here I connect with "telnet localhost 21001" to the console. I want to close the console again to connect to another port. In secureCRT using the keys Ctrl and Plus (/035) pressed = output Telnet, now C and Return. Last edited by Mike01; 03-11-2020 at 01:54 PM. Reason: Embedded graphic into post for efficient viewing |
#6
|
|||
|
|||
Hi Mike01,
Sorry, I didn't mean to misinform you. ![]() The ^] character is actually \035. You can see this in the Configuring the Keyboard / ASCII Control Codes topic in SecureCRT's Help file. There's a chart there with all the control codes. So try \035c\r, or if you need to introduce a pause between \035\pc\r.
__________________
Thanks, --Brenda VanDyke Software Technical Support support@vandyke.com (505) 332-5730 |
#7
|
||||
|
||||
![]()
Hello, Brenda,
thanks for the support, the 2nd code worked. (\035\pc\r) Thanks |
#8
|
|||
|
|||
Hi Mike01,
Thanks for posting an update! ![]()
__________________
Thanks, --Brenda VanDyke Software Technical Support support@vandyke.com (505) 332-5730 |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|