[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#547443: marked as done (xterm: wrong backspace key behavior in xterm{16,256,88}-color)



Your message dated Sat, 08 May 2010 12:19:08 +0000
with message-id <E1OAizs-0005Do-SQ@ries.debian.org>
and subject line Bug#547443: fixed in xterm 258-1
has caused the Debian Bug report #547443,
regarding xterm: wrong backspace key behavior in xterm{16,256,88}-color
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
547443: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=547443
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: xterm
Version: 248-1
Severity: wishlist

I've just noticed that the xterm{16,256,88}-color terminfo entries have
wrong backspace behavior, because they are derived from xterm-new rather
than xterm-debian; thus they have kbs=^H instead of kbs=\177 as it's
supposed to be in Debian.

Most applications do not care about that, but the ne¹ editor is picky
and deletes forward instead of backward when you hit the backspace key.
I'm going to correct this in ncurses², but as the xterm.ti in ncurses is
just a gunzipped copy of /usr/share/doc/xterm/xterm.terminfo.gz, it
would be nice if we could keep the patches in sync.

Attached is a patch for debian/patches/900_debian_xterm.diff, it is a
bit noisy because "quilt refresh" had to update some fuzzy lines in
unrelated files.

¹ http://packages.debian.org/sid/ne
² http://git.debian.org/?p=users/joachim-guest/ncurses.git;a=commit;h=db203a5a4d30f9b3effaf746c38b8bad0aa5b5f8

>From a7092a6cf56f8bfef23501a6bab5a7325a8835c2 Mon Sep 17 00:00:00 2001
From: Sven Joachim <svenjoac@gmx.de>
Date: Sat, 19 Sep 2009 21:25:57 +0200
Subject: [PATCH] Derive xterm{16,256,88}-color from xterm-debian

With TERM=xterm-256color, the backspace key would delete forward in
the "ne" text editor. Using kbs=\177 corrects that and brings these
terminals in line with Debian policy.
---
 debian/patches/900_debian_xterm.diff |   53 ++++++++++++++++++++++-----------
 1 files changed, 35 insertions(+), 18 deletions(-)

diff --git a/debian/patches/900_debian_xterm.diff b/debian/patches/900_debian_xterm.diff
index f455a30..27d678f 100644
--- a/debian/patches/900_debian_xterm.diff
+++ b/debian/patches/900_debian_xterm.diff
@@ -21,10 +21,15 @@ Make Debian-specific tweaks to xterm:
 
 This patch by Branden Robinson.
 
-Index: xterm/termcap
-===================================================================
---- xterm.orig/termcap
-+++ xterm/termcap
+---
+ XTerm-col.ad |   42 +++++++++++++++++++++++++++---------------
+ XTerm.ad     |    4 ++++
+ termcap      |   11 ++++++++++-
+ terminfo     |   14 +++++++++++---
+ 4 files changed, 52 insertions(+), 19 deletions(-)
+
+--- a/termcap
++++ b/termcap
 @@ -71,6 +71,14 @@
  	:so=\E[7m:sr=\EM:st=\EH:te=\E[?1049l:ti=\E[?1049h:\
  	:ue=\E[24m:up=\E[A:us=\E[4m:ve=\E[?25h:vi=\E[?25l:
@@ -48,10 +53,8 @@ Index: xterm/termcap
 +	:tc=xterm-debian:
 +#	:tc=xterm-new:
  #	:tc=xterm-r6:
-Index: xterm/terminfo
-===================================================================
---- xterm.orig/terminfo
-+++ xterm/terminfo
+--- a/terminfo
++++ b/terminfo
 @@ -955,6 +955,13 @@
  	u8=\E[?1;2c,
  	u9=\E[c,
@@ -66,6 +69,24 @@ Index: xterm/terminfo
  #
  # The xterm-new description has all of the features, but is not completely
  # compatible with vt220.  If you are using a Sun or PC keyboard, set the
+@@ -1393,7 +1400,7 @@
+ 	setaf=\E[%?%p1%{8}%<%t%p1%{30}%+%e%p1%{82}%+%;%dm,
+ 	setb=%p1%{8}%/%{6}%*%{4}%+\E[%d%p1%{8}%m%Pa%?%ga%{1}%=%t4%e%ga%{3}%=%t6%e%ga%{4}%=%t1%e%ga%{6}%=%t3%e%ga%d%;m,
+ 	setf=%p1%{8}%/%{6}%*%{3}%+\E[%d%p1%{8}%m%Pa%?%ga%{1}%=%t4%e%ga%{3}%=%t6%e%ga%{4}%=%t1%e%ga%{6}%=%t3%e%ga%d%;m,
+-	use=xterm-new,
++	use=xterm-debian,
+ #
+ # This uses RGB values 0..1000
+ #
+@@ -1408,7 +1415,7 @@
+ 	setaf=\E[%?%p1%{8}%<%t3%p1%d%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;%p1%d%;m,
+ 	setb@,
+ 	setf@,
+-	use=xterm-new,
++	use=xterm-debian,
+ xterm-88color|xterm with 88 colors,
+ 	colors#88,
+ 	pairs#7744,
 @@ -1935,5 +1942,6 @@
  # is widely used for a variety of incompatible terminal emulations including
  # color_xterm and rxvt.
@@ -74,10 +95,8 @@ Index: xterm/terminfo
 +	use=xterm-debian,
 +#	use=xterm-new,
  #	use=xterm-r6,
-Index: xterm/XTerm.ad
-===================================================================
---- xterm.orig/XTerm.ad
-+++ xterm/XTerm.ad
+--- a/XTerm.ad
++++ b/XTerm.ad
 @@ -121,6 +121,10 @@
  *tek4014*font3: 6x13
  *tek4014*fontSmall: 6x10
@@ -89,11 +108,9 @@ Index: xterm/XTerm.ad
  ! If xterm is built with a toolbar, the widget hierarchy looks like this,
  ! showing widget name / class names.  The complete menu hierarchy is built
  ! at startup because it is needed to make the layout work for the menubar:
-Index: xterm/XTerm-col.ad
-===================================================================
---- xterm.orig/XTerm-col.ad
-+++ xterm/XTerm-col.ad
-@@ -7,9 +7,9 @@
+--- a/XTerm-col.ad
++++ b/XTerm-col.ad
+@@ -6,9 +6,9 @@
  *VT100*boldColors: on
  *VT100*dynamicColors: on
  
@@ -106,7 +123,7 @@ Index: xterm/XTerm-col.ad
  
  ! - OR -
  ! Uncomment this for black text on a "white" background.
-@@ -114,20 +114,32 @@
+@@ -113,20 +113,32 @@
  *Form.background: AntiqueWhite
  *form.background: AntiqueWhite
  
-- 
1.6.4.3


--- End Message ---
--- Begin Message ---
Source: xterm
Source-Version: 258-1

We believe that the bug you reported is fixed in the latest version of
xterm, which is due to be installed in the Debian FTP archive:

xterm_258-1.diff.gz
  to main/x/xterm/xterm_258-1.diff.gz
xterm_258-1.dsc
  to main/x/xterm/xterm_258-1.dsc
xterm_258-1_amd64.deb
  to main/x/xterm/xterm_258-1_amd64.deb
xterm_258.orig.tar.gz
  to main/x/xterm/xterm_258.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 547443@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Julien Cristau <jcristau@debian.org> (supplier of updated xterm package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sat, 08 May 2010 13:48:12 +0200
Source: xterm
Binary: xterm
Architecture: source amd64
Version: 258-1
Distribution: unstable
Urgency: low
Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
Changed-By: Julien Cristau <jcristau@debian.org>
Description: 
 xterm      - X terminal emulator
Closes: 547443 572928
Changes: 
 xterm (258-1) unstable; urgency=low
 .
   * terminfo: derive xterm{16,256,88}-color from xterm-debian (patch by Sven
     Joachim), closes: #547443.
   * New upstream release
     + modify AllocateTermColor() to separate initialization from control
       sequences, fixing problem from patch #254 changes where enabling
       allowSendEvents resource prevents setting cursor color on command-line
       (closes: #572928)
Checksums-Sha1: 
 6e3e9b2d02f67fdc8597953ce61f9b7b404a1b6a 1948 xterm_258-1.dsc
 d3357fc88917e23210eea2db32b185799bb2d22e 919580 xterm_258.orig.tar.gz
 c87db3c3f07b17ab4b8501c2da5188da3eb61464 73973 xterm_258-1.diff.gz
 403a877b2a5c60d03072a80c850247dc66bb82a3 534144 xterm_258-1_amd64.deb
Checksums-Sha256: 
 1c3a7a0705e1d58d647bc1afeeb4b4f04f45f767927fcf18a5deade2571e63aa 1948 xterm_258-1.dsc
 6e25c1c0fd9071f08f81637a1bf0e825a18f26f97e909cc56df40417f173bd3d 919580 xterm_258.orig.tar.gz
 7233d6f20e50d866734a1bd5ddd3715c907a8a081467af6e567dc52519788853 73973 xterm_258-1.diff.gz
 7865313f218475e70c9d32f23080bc7ed85b015887bfe0787b83789be38fbef8 534144 xterm_258-1_amd64.deb
Files: 
 882483c3af788517d9537c58cec27368 1948 x11 optional xterm_258-1.dsc
 bcf4f0ba51f5f58fd5bef76b3d05e40e 919580 x11 optional xterm_258.orig.tar.gz
 707fc14f79e0df7a5549bb0138021ab0 73973 x11 optional xterm_258-1.diff.gz
 f03ab823dfb12f87c8169d9b9efa4ce8 534144 x11 optional xterm_258-1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQIcBAEBCAAGBQJL5VKKAAoJEDEBgAUJBeQMuDsP/joDAekx30ikY4ZsHQGca226
NT9XwJKL7RSeFiGk5iTJWNbzQ/XIqrWrFxcid//u7smLvikourG8E7H2MX3xLt9b
+jQX2I0WhJSneATSOLGseoBcSSwxTb0aXuEDPZh3Pua2c0jPBk0fyi7Ko3XVHnAI
yM6GnwSE2YYXh14TwjwzLoLPShtl/AaF+8N0Vt/lc3mLoV6XiVxMTlV0s8ew61Hc
EB7XAGckK900jmfJKzMhdcxF2E/KnqahZEU5OHoX94Ni2pEdeO2i786kJgWzAlmf
d7ApI62tlchrC4jC4XIbIArI9cOEe9vW0soVxFmPO3Mwg3D+fOdUvDYjqFX77yqT
ixjnWqjAF55OxT/vYhnB4FuHzPif3Loa6ZVtH1+IkkEWsW09iKgn8ABQvTwT/a2D
06zzywxEGwFF3mjj7T4pcGIkKt35OfVxTE/2TCnf8LHBONMSbc3Q1ykNN8enst/e
076DbFPGr95Gvwaylb3F+wm0Dr7WMr6KMvFC3Vu88BXzemG6EDx+RS2Addjy9XNt
5IsWNmDZpk81d//K0S5VDc358W+z1z2CNCZVxwUmyCeHT65+MS+dHj4zZmyqa20R
jexSvmBET2zxXf5ekw4PMK3xbkezPodrHflG4gC2dBSqus1+Sh93XRtRhG4cRtG+
WVhF9wheaCAB5VReNXPL
=cxMW
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: