Debian Bug report logs - #800562
ncurses-term: screen terminfo is missing 'erase_chars' capstring

version graph

Package: ncurses-term; Maintainer for ncurses-term is Ncurses Maintainers <[email protected]>; Source for ncurses-term is src:ncurses (PTS, buildd, popcon).

Reported by: Paul LeoNerd Evans <[email protected]>

Date: Wed, 30 Sep 2015 22:48:02 UTC

Severity: normal

Tags: upstream, wontfix

Found in version ncurses/6.0+20150810-1

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], Craig Small <[email protected]>:
Bug#800562; Package ncurses-term. (Wed, 30 Sep 2015 22:48:06 GMT) (full text, mbox, link).


Acknowledgement sent to Paul LeoNerd Evans <[email protected]>:
New Bug report received and forwarded. Copy sent to Craig Small <[email protected]>. (Wed, 30 Sep 2015 22:48:06 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Paul LeoNerd Evans <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: ncurses-term: screen terminfo is missing 'erase_chars' capstring
Date: Wed, 30 Sep 2015 23:37:37 +0100
Package: ncurses-term
Version: 6.0+20150810-1
Severity: normal
Tags: upstream

The `screen` program has the ability to perform the 'erase_chars'
behaviour, using an ECMA-48-standard CSI X; for example:

  $ echo -e "ABCDEF\e[3G\e[2X"
  AB  EF

correctly erases the 2 chars in the middle when run via screen.

However, the `screen` terminfo file fails to include the `erase_chars`
capstring:

  $ infocmp -L1 screen | grep erase_chars
  <no output>

as compared other terms that do; for example:

  $ infocmp -L1 xterm | grep erase_chars
          erase_chars=\E[%p1%dX,

This capstring should be added to the screen terminfo. (and likewise
screen-bce, screen-256color, screen-256color-bce)


-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

-- no debconf information



Information forwarded to [email protected], Craig Small <[email protected]>:
Bug#800562; Package ncurses-term. (Thu, 01 Oct 2015 00:45:03 GMT) (full text, mbox, link).


Acknowledgement sent to [email protected]:
Extra info received and forwarded to list. Copy sent to Craig Small <[email protected]>. (Thu, 01 Oct 2015 00:45:03 GMT) (full text, mbox, link).


Message #10 received at [email protected] (full text, mbox, reply):

From: Thomas Dickey <[email protected]>
To: [email protected]
Cc: [email protected]
Subject: Re: Bug#800562: ncurses-term: screen terminfo is missing 'erase_chars' capstring
Date: Wed, 30 Sep 2015 20:36:19 -0400
[Message part 1 (text/plain, inline)]
On Wed, Sep 30, 2015 at 11:37:37PM +0100, Paul LeoNerd Evans wrote:
> Package: ncurses-term
> Version: 6.0+20150810-1
> Severity: normal
> Tags: upstream
> 
> The `screen` program has the ability to perform the 'erase_chars'
> behaviour, using an ECMA-48-standard CSI X; for example:
> 
>   $ echo -e "ABCDEF\e[3G\e[2X"
>   AB  EF
> 
> correctly erases the 2 chars in the middle when run via screen.

maybe/maybe not: there are a few descriptions where ECH is not used
because the terminal's treatment of bce differs from that used in ncurses.

I can investigate it (again)...

-- 
Thomas E. Dickey <[email protected]>
http://invisible-island.net
ftp://invisible-island.net
[signature.asc (application/pgp-signature, inline)]

Message sent on to Paul LeoNerd Evans <[email protected]>:
Bug#800562. (Thu, 01 Oct 2015 00:45:06 GMT) (full text, mbox, link).


Information forwarded to [email protected], Craig Small <[email protected]>:
Bug#800562; Package ncurses-term. (Sat, 10 Oct 2015 18:33:03 GMT) (full text, mbox, link).


Acknowledgement sent to [email protected]:
Extra info received and forwarded to list. Copy sent to Craig Small <[email protected]>. (Sat, 10 Oct 2015 18:33:03 GMT) (full text, mbox, link).


Message #18 received at [email protected] (full text, mbox, reply):

From: Thomas Dickey <[email protected]>
To: [email protected]
Cc: [email protected]
Subject: Re: Bug#800562: ncurses-term: screen terminfo is missing 'erase_chars' capstring
Date: Sat, 10 Oct 2015 14:29:09 -0400
[Message part 1 (text/plain, inline)]
On Wed, Sep 30, 2015 at 08:36:19PM -0400, Thomas Dickey wrote:
> On Wed, Sep 30, 2015 at 11:37:37PM +0100, Paul LeoNerd Evans wrote:
> > Package: ncurses-term
> > Version: 6.0+20150810-1
> > Severity: normal
> > Tags: upstream
> > 
> > The `screen` program has the ability to perform the 'erase_chars'
> > behaviour, using an ECMA-48-standard CSI X; for example:
> > 
> >   $ echo -e "ABCDEF\e[3G\e[2X"
> >   AB  EF
> > 
> > correctly erases the 2 chars in the middle when run via screen.
> 
> maybe/maybe not: there are a few descriptions where ECH is not used
> because the terminal's treatment of bce differs from that used in ncurses.

In a quick check, vttest screen 11.6.5 shows the problem I mentioned.
	Test BCE-style clear line/display (ECH, Indexing)

-- 
Thomas E. Dickey <[email protected]>
http://invisible-island.net
ftp://invisible-island.net
[signature.asc (application/pgp-signature, inline)]

Message sent on to Paul LeoNerd Evans <[email protected]>:
Bug#800562. (Sat, 10 Oct 2015 18:33:08 GMT) (full text, mbox, link).


Added tag(s) wontfix. Request was from Thomas Dickey <[email protected]> to [email protected]. (Thu, 23 Nov 2017 15:21:11 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Fri May 16 02:10:47 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.