Just to refresh my memory, I checked infocmp and see that xterm-color's
kdch1 is (other than in Debian) \E[3~

(using infocmp):

comparing xterm-r6 to xterm-color.
    comparing booleans.
    comparing numbers.
        colors: NULL, 8.
        ncv: NULL, NULL.
        pairs: NULL, 64.
    comparing strings.
        op: NULL, '\E[m'.
        setab: NULL, '\E[4%p1%dm'.
        setaf: NULL, '\E[3%p1%dm'.

Noting that xterm-color is defined using xterm-r6, I checked the Debian
package for ncurses to see if there was some additional insight.

Checking

http://ftp.de.debian.org/debian/pool/main/n/ncurses/ncurses_5.6+20080823-1.diff.gz

I see that the diff includes a copy of xterm's terminfo from 2005 - perhaps
from this item:

+ -- Daniel Jacobowitz <[EMAIL PROTECTED]>  Mon, 13 Jun 2005 10:28:04 -0400
+
+ncurses (5.4-5) unstable; urgency=low

In _that_ terminfo, the xterm-r6 entry uses kdch1=\177, but that is
not true for more recent xterm's terminfo.  (There are other changes,
which I don't recall at the moment, mostly dealing with xterm's
modified keys - which I'm told don't work well with vim due to a bug in
vim).

A quick check of ncurses shows xterm-r6 using kdch1=\E[3~ for more than
ten years.

xterm's terminfo history shows this detail was resync'd to ncurses in
the changes for patch #230 (actually in 2007/11/10). 

-- 
Thomas E. Dickey <[EMAIL PROTECTED]>
http://invisible-island.net
ftp://invisible-island.net

Attachment: signature.asc
Description: Digital signature

Reply via email to