On Sat, 23 Jul 2005, Daniel Jacobowitz wrote:

On Sat, Jul 23, 2005 at 07:09:13AM -0400, Thomas E. Dickey wrote:
On Sat, 23 Jul 2005, Vincent Lefevre wrote:

Package: ncurses-base
Version: 5.4-9
Severity: normal

"infocmp xterm-color" says kdch1=\177 though the delete-character key
returns \E[3~.

There's no need to change this, since as noted in the comments in
terminfo.src, it does not correspond to any terminal type that is valid
for Debian.

Which comments?

I was thinking of
# The 'nxterm' distributed with Redhat Linux 5.2 is a slight rehack of
# xterm-sb_right-ansi-3d, which implements ANSI colors, but does not support
# SGR 39 or 49.  SGR 0 does reset colors (along with everything else).  This
# description is "compatible" with color_xterm, rxvt and XFree86 xterm, except
# that each of those implements the home, end, delete keys differently.
#
# Redhat Linux 6.x distributes XFree86 xterm as "nxterm", which uses bce
# colors; note that this is not compatible with the 5.2 version.
# csw (2002-05-15): make xterm-color primary instead of nxterm, to

"compatible" means it doesn't break anything bad.
But there's no such terminal.


I'm a bit confused really; the xterm-r6 definition in misc/terminfo.src
has kdch1=\E[3~.  The xterm-r6 definition in debian/xterm.ti has
kdch1=\177, and I'm pretty sure we get that from the xterm source
distribution... I wonder why they diverged?

I'm not 100% sure, since some of the changes are old. I see looking at xterm's terminfo history that kdch1 was originally \E[3~. In August 1996, there's a change to make it \177. I don't see that in any of my patches (though I did make other changes to the terminfo around then - added the ech string).

The XFree86 CVS only shows "updates" for the change comment on that file. So who and why the change was made - I doubt that the answer is forthcoming. I don't see any xterm-fixes for that period in XFree86's changelog other than mine, and doubt that David Dawes recalls who submitted the change.

ncurses's terminfo is maintained separately, and I probably ignored this since when I compare the two, I'm focused on the XFree86 flavor - xterm-r6 and xterm-r5 are in xterm's file just for convenience.

If I noticed it before, probably regarded it as confusion between kbs and kdch1 (as for example my fixes for xterm patch #124).

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to