KiTTY icon indicating copy to clipboard operation
KiTTY copied to clipboard

F5 and F11 function keys return tildes in Xterm R6 mode

Open ofors opened this issue 4 years ago • 0 comments

Hi @cyd01 ,

I'm running Kitty v0.74.4.7p under Win10 on a HP ProBook laptop (with Fn key just on the right-side of Left-Ctrl). I'm sshing into a Linux box where my TERM=vt220 and SHELL=ksh . The console-oriented program uses F[1-12] function keys (actually Fn+F[1-12]).

The KiTTy setting Function Keys and keypad = Xterm R6 is the one which provides more F[1-12] function keys working correctly. The only exceptions are F5 and F11, which are returning the wrong values (in both cases only a single ~ is displayed in the console-oriented program running inside linux).

According to showkey -a:

  • F5 (Fn+F5) returns ^[[15~
  • F11 (Fn+F11) returns ^[[23~

Whatever help/suggestion to fix these Fn+F5,Fn+F11 wrongly-tilded values would be more than welcome.

Thanks in advance.

ofors avatar Mar 04 '21 13:03 ofors