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

 
 

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

Submitted by:  None
Submitted on:  Wed 23 Aug 2017 10:24:26 PM UTC  
 
Category: Program LogicSeverity: 3 - Normal
Priority: 5 - NormalStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: ClosedRelease: 4.6.0
Fixed Release: 4.6.2Planned Release: 4.6.2
Work Required: None

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

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

Should be fixed in 4.6.2 release.

Amadeusz Sławiński <amade>
Project 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>
Project 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 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 amade (Posted a comment)
  • -unavailable- added by delx
  •  

    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):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 23 Oct 2017 12:38:11 PM UTCamadeOpen/ClosedOpen=>Closed
      Fixed ReleaseNone=>4.6.2
    Tue 03 Oct 2017 09:25:20 AM UTCamadeStatusNone=>Fixed
      Planned ReleaseNone=>4.6.2
    Wed 23 Aug 2017 10:26:22 PM UTCdelxCarbon-Copy-=>Added delx

    Back to the top


    Powered by Savane 3.1-cleanup1