URL: <https://savannah.gnu.org/bugs/?65506>
Summary: bad terminal configuration, which can disable the alternate screen, e.g. with rxvt Group: GNU Screen Submitter: vinc17 Submitted: ven. 22 mars 2024 15:00:51 Category: None Severity: 3 - Normal Priority: 5 - Normal Status: None Privacy: Public Assigned to: None Open/Closed: Open Release: 4.9.1 Discussion Lock: Any Fixed Release: None Planned Release: None Work Required: None _______________________________________________________ Follow-up Comments: ------------------------------------------------------- Date: ven. 22 mars 2024 15:00:51 By: Vincent Lefèvre <vinc17> At least with GNU Screen from 4.0.3 (issue found in 2011) to 4.9.1 (current version) and rxvt from 9.09 to 9.31 (current version), the screen contents are not restored when a GNU Screen session is detached. To reproduce the problem: 1. Run rxvt-unicode. 2. Run some commands, just to generate contents in the screen. 3. Run "screen". 4. Detach the GNU Screen session ([Cmd key] d), or simpler: terminate the shell (this will close the session and quit "screen"). Quoting https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=618332#10 (Emanuele Giaquinta): > This happens because screen sends "is2" after "smcup", and is2 disables the alternate screen buffer. The problem does not occur in xterm because xterm's is2 does not disable the alternate screen buffer. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=618332#25 (Marc Lehmann) gives additional explanations. So, according to both, this is due to bad terminal configuration in GNU Screen. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?65506> _______________________________________________ Message posté via Savannah https://savannah.gnu.org/