Hi, I have updated the rxvt-unicode.terminfo file to include:
- The shifted variants of kcud1 (down arrow) and kcuu1 (up arrow). Shifted up arrow is kUP; shifted down arrow is kDOWN according to [1], but that’s the only reference to it. ncurses’ terminfo.src[2] and even a demo[3] call it kDN, so I have used kDN as well. - kFND[4], the shifted variant of kfnd (find). - The Ctrl and Shift+Ctrl variants of Delete, Home, End, Find, Prior, Next and Insert and the Ctrl variants of Up, Down, Left and Right. According to [5] and [2] these variants are named by appending 5 (Ctrl) or 6 (Shift+Ctrl) to the shifted key name. For the arrow keys there is no Shift+Ctrl variant, only the Application Keypad mode, so I have left out the k*6 variants for them. Also, by default, rxvt-unicode sends \E for Meta, so there are no “dedicated” k*[3467] keys either. The actual key codes are taken from urxvt(7). Sebastian References: =========== [1]: https://anonscm.debian.org/cgit/collab-maint/ncurses.git/tree/include/Caps.keys?h=upstream/6.0%2b20150810#n631 [2]: https://anonscm.debian.org/cgit/collab-maint/ncurses.git/tree/misc/terminfo.src?h=upstream/6.0%2b20150810 [3]: https://anonscm.debian.org/cgit/collab-maint/ncurses.git/tree/test/demo_terminfo.c?h=upstream/6.0%2b20150810#n383 [4]: https://anonscm.debian.org/cgit/collab-maint/ncurses.git/tree/include/Caps.keys?h=upstream/6.0%2b20150810#n527 [5]: http://invisible-island.net/ncurses/ncurses.faq.html#modified_keys The actual patch: ================= Index: doc/etc/rxvt-unicode.terminfo =================================================================== RCS file: /schmorpforge/rxvt-unicode/doc/etc/rxvt-unicode.terminfo,v retrieving revision 1.34 diff -u -r1.34 rxvt-unicode.terminfo --- doc/etc/rxvt-unicode.terminfo 13 Dec 2014 10:02:39 -0000 1.34 +++ doc/etc/rxvt-unicode.terminfo 4 Oct 2015 10:32:42 -0000 @@ -54,13 +54,34 @@ is1=\E[\041p, is2=\E[r\E[m\E[2J\E[?7;25h\E[?1;3;4;5;6;9;66;1000;1001;1049l\E[4l, kDC=\E[3$, + kDC5=\E[3\^, + kDC6=\E[3@, + kDN=\E[b, + kDN5=\EOb, kIC=\E[2$, + kIC5=\E[2\^, + kIC6=\E[2@, kEND=\E[8$, + kEND5=\E[8\^, + kEND6=\E[8@, + kFND=\E[1$, + kFND5=\E[1\^, + kFND6=\E[1@, kHOM=\E[7$, + kHOM5=\E[7\^, + kHOM6=\E[7@, kLFT=\E[d, + kLFT5=\EOd, kNXT=\E[6$, + kNXT5=\E[6\^, + kNXT6=\E[6@, kPRV=\E[5$, + kPRV5=\E[5\^, + kPRV6=\E[5@, kRIT=\E[c, + kRIT5=\EOc, + kUP=\E[a, + kUP5=\EOa, kbs=\177, ka1=\EOw, ka3=\EOy,
signature.asc
Description: PGP signature
_______________________________________________ rxvt-unicode mailing list [email protected] http://lists.schmorp.de/mailman/listinfo/rxvt-unicode
