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
 

Sending keystrokes to terminal

Paul - Wed 30/07/2014 18:15:35 CEST +0200

Hi,
I found a very useful post in this forum headed "Remap key using shortcuts" where cyd and Mark give a great tip on setting up the keyboard mappings in the kitty.ini file as follows:

[Shortcuts]
list={SHIFT}{F2} {SHIFT}{F3} {SHIFT}{F7}
{SHIFT}{F2}=\x1b[24~\
{SHIFT}{F3}=\x1b[25~\
{SHIFT}{F7}=\x1b[31~\

This is perfect for my needs, but I also need to map my Windows Delete key to the CTRL+D key sequence.

Do you know how I would do that in the kitty.ini file?

I tried
{Delete}={CTRL}+D
but that didn't work.

Any ideas I could try?

Thanks

Leo - Wed 30/07/2014 19:30:00 CEST +0200

Maybe
{DEL}={CTRL}d\

Paul - Fri 01/08/2014 11:37:11 CEST +0200

Thanks, I managed to solve it.

{DEL}=\x04\
{INS}=\x01\

04 is the Hex for D and 01 is the Hex for A. And that now works.

Thanks.






Answer


The forum is actually closed