Package: xterm Version: 4.2.1-3 Severity: minor /usr/share/doc/xterm/xterm.terminfo.gz contains
# The terminfo defines some special keys which are documented as "shifted", # e.g., kDC is shifted-delete-character. In this description, the modifier is # actually the control key, to avoid conflict with the common usage of shifted # pageup and pagedown for window manager functions. # xterm-xfree86|xterm-new|xterm terminal emulator (XFree86), npc, kDC=\E[3;2~, kEND=\EO2F, kHOM=\EO2H, where the funny thing is that "\E[3;2~" is actually what xterm sends when one presses shift-del, rather than control-del. Control-del would be \E[3;5~. Similarly for the other shifted capabilities. Thus the actual terminfo code differs from what the comment claims about it. Interestingly, the actual terminfo record for xterm in ncurses-base (5.3.20021109-2) contains, according to infocmp: # Reconstructed via infocmp from file: /etc/terminfo/x/xterm xterm|X11 terminal emulator, am, bce, km, mc5i, mir, msgr, npc, xenl, (... blah blah blah ...) kDC=\E[3;5~, kEND=\EO5F, kHOM=\EO5H, kIC=\E[2;5~, kLFT=\EO5D, kNXT=\E[6;5~, kPRV=\E[5;5~, kRIT=\EO5C, (... blah blah blah ...) which matches the *comment* in the xterm doc file, rather than the actual *code*. -- Henning Makholm "Eat the bunnies. Stomp the hamsters. And boil three mice for gold!"