bugGNU Screen - Bugs: bug #51186, In screenrc, 'te' should be...

 
 

bug #51186: In screenrc, 'te' should be present when 'ti' is

Submitted by:  Jeff Smith <whydoubt>
Submitted on:  Tue 06 Jun 2017 02:26:22 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: OpenRelease: None
Fixed Release: NonePlanned Release: None
Work Required: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 06 Jun 2017 02:26:22 AM UTC, original submission:

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.

Jeff Smith <whydoubt>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by whydoubt (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup1