|
KiTTY : ForumLast modification : - |
|
|
|---|---|---|
| Welcome / Recent changes / News / Forum / Download / Contacts | Edit | |
Remap key using shortcuts
mark - Thu 22/11/2012 07:57:17 CET +0100
Hi I am using portable kitty with ssh and xterm. I need the shift f3 key to send [[25~ That is ESC [25~ like what is listed in my terminfo for F13. I tried using shortcuts listed below without luck.
[Shortcuts] {SHIFT}{F3}=\x1b[25~\ Any ideas? I tried a number of variations on the above. If I turn off shortcuts is sends the above code but then my {SHIFT}{F9} no longer sends [[33 which I need. I am just looking for a quick way of defining these keys. Thanks in advance. Cyd - Thu 22/11/2012 11:26:53 CET +0100
[Shortcuts]
list={SHIFT}{F3} {SHIFT}{F3}=\x1b[25~\ mark - Sun 25/11/2012 05:50:23 CET +0100
Thanks cyd. That was a quick response. That works for the last key defined in my shortcut list. I have two to define. Could you suggest why the below does not work to remap shift F7? The ShiftF3 works. If I put in 3 shortcut definitions it will only take the last one defined? Could you give me the ini format to define multiple keys?
[Shortcuts] list={SHIFT}{F7} {SHIFT}{F7}=\x1b[31~\ list={SHIFT}{F3} {SHIFT}{F3}=\x1b[25~\ Cyd - Mon 26/11/2012 19:01:31 CET +0100
[Shortcuts]
list={SHIFT}{F7} {SHIFT}{F3} {SHIFT}{F7}=\x1b[31~\ {SHIFT}{F3}=\x1b[25~\ should works mark - Mon 26/11/2012 21:53:13 CET +0100
Excellent cyd. Thanks for the help. That works. I am adding a little information here for the next kitty user who wants to do this. Correct anything you think is wrong. Thanks again.
Using kitty xterm on a unix application that typically uses a vt220 terminal. Some of the function keys were not sending the codes the application requires. To remap them in kitty.ini turn on kitty shortcuts. This is the format to remap them. [Shortcuts] list={SHIFT}{F2} {SHIFT}{F3} {SHIFT}{F7} {SHIFT}{F2}=\x1b[24~\ {SHIFT}{F3}=\x1b[25~\ {SHIFT}{F7}=\x1b[31~\ In the "list" put a space between each key. Do NOT put a trailing space at the end of the list otherwise a Newline is also included in the function key definition. Then put in the chars you want the function key to send. \x1b is the hex code for escape. So \x1b[24~\ sends Escape [24~ to the unix machine. To see what codes the terminal server on your unix server is using for a specific terminal type use:
Christos - Sat 07/05/2016 14:17:08 CEST +0200
Guys I need help remapping comma and period keys.
So far I have this working [Shortcuts] list=n m n=\x2c m=\x2e And n inputs comma and m inputs dot. I would like when comma is pressed to send dot to the terminal. So I tried these with no success. Any ideas? It is driving me crazy. [Shortcuts] list=\x2c \x2c=\x2e [Shortcuts] list={\x2c} {\x2c}=\x2e [Shortcuts] list=, ,=\x2e [Shortcuts] list={COMMA} {COMMA}=\x2e Christos - Mon 09/05/2016 17:32:58 CEST +0200
Thanks Cyd for the answer. I'll repost it here for reference.
Hi Christos It's completely impossible to guess. The mapping definition for comma is: [Shortcuts] list={OEM_COMMA} {OEM_COMMA}=.\ Regards Cyd Christos - Mon 09/05/2016 18:07:16 CEST +0200
Also if someone wants to remap numpad period this is what they have to use.
[Shortcuts] list={DECIMAL} {DECIMAL}=.\ John - Mon 23/04/2018 22:38:20 CEST +0200
I have been trying for ages to map the Control V key combo so that it pastes the contents of the clipboard.
I know that Shift Insert will do this but I cannot figure out how to map Control V to Shift Insert. list={CONTROL}V {CONTROL}V=?????? Answer |
||
|
Wiki utilisant PumaWiki 1.0, merci aux membres de la PuTTY Team 2026/06/10 02:03 -- en -- 216.73.216.230 -- |
||