Control: reassign -1 src:ncurses
Control: affects -1 screen
Control: forwarded -1 https://savannah.gnu.org/bugs/?68371
Control: tags -1 + upstream patch
Control: found -1 5.0.1-2

Hi Paul,

Thanks for your bug report & detailed analysis.

I've confirmed this is missing, and have forwarded the bug upstream with a patch.

I'm reassigning this to the Ncurses Maintainers. As noted in README.terminfo, Debian uses terminfo from ncurses. We only ship screeninfo.src for reference/backup.

Cheers,
Peter Dey
Author: Peter Dey <[email protected]>
Forwarded: https://savannah.gnu.org/bugs/?68371
Bug-Debian: https://bugs.debian.org/707308
Last-Update: 2026-05-19
Description: Advertise ECH (erase_chars) in screen terminfo entries
 Screen implements CSI Ps X (ECH), but screeninfo.src does not advertise the
 corresponding terminfo capability. Add ech=\E[%p1%dX to the screen, screen-bce
 and screen-s entries.

diff --git a/terminfo/screeninfo.src b/terminfo/screeninfo.src
index c5f254a..a4b7101 100644
--- a/terminfo/screeninfo.src
+++ b/terminfo/screeninfo.src
@@ -6,6 +6,7 @@ screen|VT 100/ANSI X3.64 virtual terminal,
 	cub=\E[%p1%dD, cub1=\b, cud=\E[%p1%dB, cud1=\n,
 	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
 	cuu=\E[%p1%dA, cuu1=\EM, dch=\E[%p1%dP, dch1=\E[P,
+	ech=\E[%p1%dX,
 	dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
 	enacs=\E(B\E)0, home=\E[H,
 	ht=\t, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L,
@@ -30,6 +31,7 @@ screen-bce|VT 100/ANSI X3.64 virtual terminal with bce,
 	cub=\E[%p1%dD, cub1=\b, cud=\E[%p1%dB, cud1=\n,
 	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
 	cuu=\E[%p1%dA, cuu1=\EM, dch=\E[%p1%dP, dch1=\E[P,
+	ech=\E[%p1%dX,
 	dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
 	enacs=\E(B\E)0, home=\E[H,
 	ht=\t, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L,
@@ -54,6 +56,7 @@ screen-s|VT 100/ANSI X3.64 virtual terminal with hardstatus line,
 	cub=\E[%p1%dD, cub1=\b, cud=\E[%p1%dB, cud1=\n,
 	cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
 	cuu=\E[%p1%dA, cuu1=\EM, dch=\E[%p1%dP, dch1=\E[P,
+	ech=\E[%p1%dX,
 	dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
 	enacs=\E(B\E)0, home=\E[H,
 	ht=\t, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L,

Reply via email to