URL: <http://savannah.gnu.org/bugs/?51186>
Summary: In screenrc, 'te' should be present when 'ti' is Project: GNU Screen Submitted by: whydoubt Submitted on: Tue 06 Jun 2017 02:26:22 AM UTC Category: None Severity: 3 - Normal Priority: 5 - Normal Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any Release: None Fixed Release: None Planned Release: None Work Required: None _______________________________________________________ Details: I have noticed in terminal emulators where TERM=xterm, exiting screen returns the cursor to where it was upon entering screen. However, it does not clear the terminal, which sometimes leads to garbled results. In src/etc/etcscreenrc, 'ti' is being set (to \E7\E[?47l) for xterm|xterms|xs but 'te' is not. When one is set (or re-set as it were), the other should be too. I think one of these choices for 'te' would be best: 1. te= 2. te=\E[H\E[2J Choice 2 matches the standard terminfo 'clear' for xterm, and is the one I prefer. Choice 1 does not clear the terminal, but does avoid the strange results by exiting at the bottom of the terminal. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?51186> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/