bugGNU Screen - Bugs: bug #51832, Cursor is left in the wrong...

 
 

bug #51832: Cursor is left in the wrong position after leaving altscreen

Submitter:  None
Submitted:  Wed 23 Aug 2017 10:24:26 PM UTC
   
 
Category:  Program Logic Severity:  3 - Normal
Priority:  * 5 - Normal Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed Release:  4.6.0
Fixed Release:  4.6.2 Planned Release:  4.6.2
Work Required:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 23 Oct 2017 12:38:11 PM UTC, comment #2: 

Should be fixed in 4.6.2 release.

Amadeusz Sławiński <amade>
Group administrator
Tue 03 Oct 2017 09:25:20 AM UTC, comment #1: 

Reverted it for now until better fix for original bug is created.

Amadeusz Sławiński <amade>
Group administrator
Wed 23 Aug 2017 10:24:26 PM UTC, original submission:  

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. 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!

Anonymous

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by amade (Posted a comment)
  • -email is unavailable- added by delx
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-10-23 amade Open/ClosedOpen Closed
        Fixed ReleaseNone 4.6.2
    2017-10-03 amade StatusNone Fixed
        Planned ReleaseNone 4.6.2
    2017-08-23 delx Carbon-Copy- Added delx

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code