I want Putty to recognize arrow arrow sequences
as I know, for example, [[A means up and ^ [[1; 2A shift + up
I changed the putty source code as follows
if (shift_state == 1)
if (app_flg)
p += sprintf((char *) p, "\x1BO1;2%c", xkey);
else
p += sprintf((char *) p, "\x1B[1;2%c", xkey);
else
if (app_flg)
p += sprintf((char *) p, "\x1BO%c", xkey);
else
p += sprintf((char *) p, "\x1B[%c", xkey);
instead
if (app_flg)
p += sprintf((char *) p, "\x1BO%c", xkey);
else
p += sprintf((char *) p, "\x1B[%c", xkey);
running seams cat -vt seams to provide the correct key code for the terminal, but in emacs I still cannot move the selected text (instead it puts the text, 2A for up, etc.)
running begPutty, which already contains this fix (I also do not have the source code) cat -vt prints the same key codes when using the shift arrows and works fine in emacs.
Basically, I want to implement begPutty functionality fixes for key codes, but I don't have source code
source
share