Bug#909963: xterm-256color: Corrupts first line in hexedit window

Mathieu Malaterre malat at debian.org
Fri Apr 3 07:41:01 BST 2020


Hi Sven,

On Thu, Apr 2, 2020 at 9:06 PM Sven Joachim <svenjoac at gmx.de> wrote:
>
> On 2020-04-02 09:20 +0200, Mathieu Malaterre wrote:
>
> > Control: retitle -1 REP (repeat previous character) escape sequence
> >
> > On Wed, Apr 1, 2020 at 10:21 PM Thomas Dickey <dickey at his.com> wrote:
> >>
> >> On Wed, Apr 01, 2020 at 11:02:13AM +0200, Mathieu Malaterre wrote:
> >> > Hi Thomas,
> >> >
> >> > Thanks for your time reading my bug report.
> >> >
> >> > On Wed, Apr 1, 2020 at 10:09 AM Thomas Dickey <dickey at his.com> wrote:
> >> > >
> >> > > On Wed, Apr 01, 2020 at 08:48:20AM +0200, Mathieu Malaterre wrote:
> >> > > > Control: affects -1 src:hexedit
> >> > > >
> >> > > > Here is the output of:
> >> > >
> >> > > neither the original report nor any followup identifies the actual
> >> > > terminal which is being used.  In addition to that, there is only
> >>
> >> But what is the actual terminfo used?
> >>
> >> a) a terminal emulator such as KDE konsole (and version)
> >> b) Linux console
> >>
> >> > > a copy/paste from the screen (a "typescript" using "script" would
> >> > > show what ncurses actually does).
> >> >
> >> > I have attached the two generated "typescript" files. One is what I
> >> > called the good session (setting XTERM to linux) while the other
> >> > called the bad one is with the default settings.
> >> ...
> >> > +|0|
> >> > +: Esc [ 7 b
> >> > +& REP: REPEAT
> >>
> >> This is the feature mentioned in the FAQ.
> >> It is in xterm for more than 20 years.
>
> However, in ncurses 6.1+20190713-2 and later this feature has been
> dropped from the xterm-* terminfo entries, precisely because many
> terminal emulators had problems with it.  See #933053.

I see the bug report now ! Thanks for the fix. Long story short I've
had this bug for many months, I eventually decided to report it since
I could reproduce it at work. The thing is that system at work is
Ubuntu 19.04 with:

$ apt-cache policy ncurses-base
ncurses-base:
  Installed: 6.1+20181013-2ubuntu2
  Candidate: 6.1+20181013-2ubuntu2
  Version table:
 *** 6.1+20181013-2ubuntu2 500
        500 http://fr.archive.ubuntu.com/ubuntu disco/main amd64 Packages
        500 http://fr.archive.ubuntu.com/ubuntu disco/main i386 Packages
        100 /var/lib/dpkg/status



> > Well spotted ! Thanks much. I'll reassign to the correct package.
>
> I see that you have already reassigned and closed the bug (thanks!), but
> you really should not be seeing it anymore.  Maybe there's an
> xterm-256color terminfo file under /etc/terminfo or ${HOME}/.terminfo
> which shadows the one in ncurses-base?

No the issue is that I did not pay attention I cannot reproduce on my
Debian/stable at home anymore. My bad.

> Run "infocmp -x xterm-256color | head -n1" to see which file provides
> xterm-256color.

Neet trick. I'll override the terminfo for my Ubuntu system at work.

> Cheers,
>        Sven
>
> --
> To unsubscribe, send mail to 909963-unsubscribe at bugs.debian.org.



More information about the pkg-gnome-maintainers mailing list