On Feb 24, 3:58 pm, "Paul B. Mahol" <[email protected]> wrote: > >> --- Terminal keys --- > >> t_kl <Left> ^[O*D > >> t_#4 <S-Left> ^[OD > >> <xLeft> ^[[1;*D > >> t_kr <Right> ^[O*C > >> t_%i <S-Right> ^[OC > >> <xRight> ^[[1;*C > > > Thus the shifted cursor keys are defined wrong. ... > key ku: ^[OA > key kd: ^[OB > key kr: ^[OC > key kl: ^[OD > key #2: ^[OH > key #4: ^[OD > key %i: ^[OC > key *7: ^[OF > key k1: ^[OP > key k2: ^[OQ > key k3: ^[OR > key k4: ^[OS > key k5: ^[[15~ > key k6: ^[[17~ > key k7: ^[[18~ > key k8: ^[[19~ > key k9: ^[[20~ > key k;: ^[[21~ > key F1: ^[[23~ > key F2: ^[[24~ > key %1: ^[[28~ > key &8: > key kb: ^H > key kI: ^[[2~ > key kD: ^[[3~ > key kh: ^[OH > key @7: ^[OF > key kP: ^[[5~ > key kN: ^[[6~ > key K1: ^[OH > key K3: ^[[5~ > key K4: ^[OF > key K5: ^[[6~ > key kB: ^[[Z
That's consistent with vt220 keyboard setting. (I don't see any modified keys). In patch #238, I modified xterm to not return anything for tcap-query if it finds that it's a modified (e.g., shift) key which does not differ from the unmodified one. That seemed to help vim not get confused between modified/unmodified keys which were returning the same strings. -- Thomas E. Dickey <[email protected]> http://invisible-island.net ftp://invisible-island.net --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
