[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[screen-devel] [bug #51186] In screenrc, 'te' should be present when 'ti
From: |
Jeff Smith |
Subject: |
[screen-devel] [bug #51186] In screenrc, 'te' should be present when 'ti' is |
Date: |
Mon, 5 Jun 2017 22:26:24 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:51.0) Gecko/20100101 Firefox/51.0 |
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/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [screen-devel] [bug #51186] In screenrc, 'te' should be present when 'ti' is,
Jeff Smith <=