English version Russian version Version française Nederlandse versie Versión española Version portuguese Version polonaise Italian version Versiunea româna   KiTTY News

KiTTY : Forum

Last modification : -

KiTTY web site




Forum Home
 

kitty.exe -sendcmd "Ctrl-C"

Sebi - Sat 14/05/2016 14:03:12 CEST +0200

Is there a way to send Ctrl-C (Ctrl-D, etc.) to a Kitty console USING the Windows command prompt kitty.exe -sendcmd command?
Note:
- It is easy to send some basic text by doing kitty.exe -sendcmd "basic text".
- I have noticed that some special characters could be sent, e.g. \h acts like pressing Backspace in the Kitty console, \t acts like pressing Tab, \n acts like pressing Enter.
For instance kitty.exe -sendcmd "a\h" writes a, erase a and presses Enter in the Kitty Console.
- However I cannot find a way to send Ctrl-C
- What does \k \r \c \s \x correspond to? They seem to send special characters as well.
- I have noticed that \k \x pop up an error Window from the Kitty console. Is it a bug?
By the way, I am using Kitty to connect a serial console. Maybe the behavior is different depending on the console nature, e.g. ssh?

Cyd - Sat 14/05/2016 15:52:23 CEST +0200

I've never try it, but maybe \x03 works

Sebi - Sun 15/05/2016 20:48:29 CEST +0200

Unfortunately not...
Kitty pops up an error window saying:
Windows - Application Error
Instruction 0x000000000045689E uses memory address 0x000000000000034. The memory state cannot be written.
Click OK to end the application.
Anyhow thanks for your help!
Does anyone else have an idea worth trying?

Sebi - Tue 24/05/2016 09:07:47 CEST +0200

Dear Cyd,
Can you confirm that it is impossible with the current version to send Kitty Ctrl-C through the command line?
With kind regards,

martin - Sun 19/06/2016 19:48:03 CEST +0200

Hi,
Sending Control-C using the command line is also important to me
Did you find a solution?

Cyd - Mon 20/06/2016 19:21:28 CEST +0200

A fix for the next offical release is almost ready.
You can test it in last beta: http://www.9bis.net/kitty/data/beta/kitty.exe

Sebi - Wed 17/08/2016 03:11:29 CEST +0200

Dear Cyd, I have tried the last beta and the fix works perfectly!!!
Thank you for your great job!!!




Answer


The forum is actually closed