ctrl+c application kills

Posted by Geis on Sun 08 May 2005 08:04 AM — 2 posts, 13,210 views.

#0
Hello,

recently been running tests at work through a command prompt but am finding I need a client with a larger display buffer. So ofcourse I think of my trusty mushclient app!

It works great except that I need to be able to send a ctrl+c command to cancel running programs on the telnet server. I was wondering if there is a a way to alias or macro the ctrl+c command to send to the server?

Thanks!
Amended on Sun 08 May 2005 08:16 AM by Geis
USA #1
What scripting language are you using?

Basically, you can map ctrl-c using an acellerator, and then just send \x03 to the server (that's the hex sequence for ctrl-c) by embedding it in a string (and using Send).

At least, I'm pretty sure that will work. Haven't tested it, since I don't have a shell to connect to at the moment.