URL: <http://savannah.gnu.org/bugs/?51832>
Summary: Cursor is left in the wrong position after leaving altscreen Project: GNU Screen Submitted by: None Submitted on: Wed 23 Aug 2017 10:24:26 PM UTC Category: Program Logic Severity: 3 - Normal Priority: 5 - Normal Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any Release: 4.6.0 Fixed Release: None Planned Release: None Work Required: None _______________________________________________________ Details: Hi, Since upgrading to screen 4.6.0 I have been having issues with cursor placement after leaving altscreen. I looked through the history and found commit 8062db33b87ed86ec54222c83babbf1aa5866ec9, which refers bug #49883 <https://savannah.gnu.org/bugs/?49883>. Reverting that commit fixes the problem. Steps to reproduce: 1. Start screen with altscreen on 2. Press enter at your shell prompt until you reach the bottom of the screen 3. Run 'echo foo | less' 4. Press 'q' to exit Expected behaviour: The cursor should be at the bottom of the screen, just like it was before I started less. Actual behaviour: The cursor is in the middle of my history, somewhere near the top of the screen. I'm running Arch Linux, up to date as of today. less 487, screen 4.6.1, ncurses 6.0+20170527, glibc 2.25, Linux 3.16.46. Happy to test any patches, thanks! _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?51832> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/