URL: <https://savannah.gnu.org/bugs/?67085>
Summary: corrupts the main terminal screen after detach when utmp is not supported by the system Group: GNU Screen Submitter: vinc17 Submitted: lun. 05 mai 2025 11:30:06 Category: Program Logic Severity: 3 - Normal Priority: 5 - Normal Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any Release: 4.9.1 Fixed Release: None Planned Release: None Work Required: None _______________________________________________________ Follow-up Comments: ------------------------------------------------------- Date: lun. 05 mai 2025 11:30:06 By: Vincent Lefèvre <vinc17> Under Debian/unstable, screen 4.9.1 corrupts the main terminal screen when a session is detached. I suspect that it outputs data (including escape sequences that move the cursor and erase data) to the main terminal screen instead of the alternate screen. To reproduce, just run screen in a terminal, then type C-a d to detach the session. Depending on the configuration, the effect may be more or less visible. This issue has occurred since utmp support got removed from systemd, and it disappears when I rebuild screen without utempter support (in which case, screen just complains that /var/run/utmp does not exist). I don't know the actual cause of the issue, though: it is rather surprising that a utmp-related bug has an effect on the data output. I think that the real fix would be to remove the deprecated utmp support entirely (possibly as an option, which does not seem to be possible right now). My Debian bug report and comments: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1104514 Removing utmp support would fix https://savannah.gnu.org/bugs/?func=detailitem&item_id=66036 _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?67085> _______________________________________________ Message posté via Savannah https://savannah.gnu.org/
signature.asc
Description: PGP signature