URL:
  <https://savannah.gnu.org/bugs/?68371>

                 Summary: Add missing ECH capability to terminfo
                   Group: GNU Screen
               Submitter: pdey
               Submitted: Tue 19 May 2026 01:41:55 PM UTC
                Category: Program Logic
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Unlocked
                 Release: 5.0.1
           Fixed Release: None
         Planned Release: None
           Work Required: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Tue 19 May 2026 01:41:55 PM UTC By: Peter Dey <pdey>
We’ve had a bug raised in Debian (#707308) reporting that Screen’s
terminfo does not advertise the erase_chars (ECH) capability.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=707308

The documentation states that ESC [ X is recognized, and the code supports
this; it is just missing from terminfo/screeninfo.src.

This causes terminfo-driven tools/apps to assume ECH is unavailable (for
example, tput ech under TERM=screen).

Minimal fix is to add:

    ech=\E[%p1%dX,

to the screen, screen-bce, and screen-s entries.

Patch attached.






    _______________________________________________________
File Attachments:

Add ECH capability to screen&#039;s terminfo

Name: terminfo-erase-chars.patch     Size: 1.6KiB

<https://file.savannah.gnu.org/file/terminfo-erase-chars.patch?file_id=58642>



    AGPL NOTICE

These attachments are served by Savane. You can download the corresponding
source code of Savane at
https://savannah.gnu.org/source/savane-c36938be85ff6c1b727bc7dd7fd30e48f9142870.tar.gz

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?68371>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature

Reply via email to