Shift Arrows

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

+3
source share
2 answers

emacs , , , emacs escape-, .

(define-key input-decode-map "\e[1;2A" [S-up])

.emacs, emacs, shift , CTRL-H L. Emacs , .

+1

- (KiTTY - 0.66 PuTTY), ! : D

http://www.9bis.net/kitty/?page=Download

​​ + ( shift + ssh)

sanos http://www.jbox.dk/sanos/editor.htm

Sanos 1 :

wget http://www.jbox.dk/downloads/edit.c
gcc -o edit edit.c -Os
./edit edit.c

, , , , ctrl +, ctry + y

enter image description here

+3

All Articles