URL: <https://savannah.gnu.org/bugs/?68427>
Summary: DCS (device control string) is not properly
terminated.
Group: GNU Screen
Submitter: bakul
Submitted: Sun 07 Jun 2026 02:00:34 AM 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: Sun 07 Jun 2026 02:00:34 AM UTC By: bakul <bakul>
As per ANSI/ECMA-48 a DCS started with '\x1bP' (ESC P) and terminates with ST
(string termination) '\1xb\\' (ESC backslash).
Screen program doesn't handle this right so for instance
printf '\x1bP\$qm\x1b\\'
should not display anything but under screen you see '$qm'. This messes up the
display. Note that tmux handles this right.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?68427>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
