bugGNU nano - Bugs: bug #28110, when suspended, it clears the...

 
 

bug #28110: when suspended, it clears the screen even though xterm alternate screen switching is off

Submitted by:  Jordi Mallach <jordi>
Submitted on:  Fri 27 Nov 2009 09:56:51 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Chris Allegretta <astyanax>
Open/Closed: ClosedRelease: None

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Fri 21 Feb 2014 07:03:56 PM UTC, comment #3:

Leftover has gone too.

Benno Schulenberg <bens>
Project Member
Sat 28 Nov 2009 04:16:32 AM UTC, comment #2:

Ok, thanks! In the nitpick department... there's a leftover ;)

/* Blank the screen, and move the cursor to the last line of the
* screen. */

Jordi Mallach <jordi>
Project Administrator
Sat 28 Nov 2009 03:05:20 AM UTC, comment #1:

Agreed, and fixed in r4446.

Historically, we've had several issues with suspending when we did not clear the screen, but I think David probably had it right in that we need to move the cursor to the last line first before suspending. Unfortunately Pico does clear the screen when suspending, but as we're supposed to try and do better than Pico we should be compatible with other unix text editors when possible.

I've personally been bitten by this several time but forgot about it until now, so thank you for the bug :-)

Chris Allegretta <astyanax>
Project AdministratorIn charge of this item.
Fri 27 Nov 2009 09:56:51 PM UTC, original submission:

(This was originally submitted as http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=460510 against nano 2.0.7)

I have turned off the vastly evil alternate screen switching in xterm,
by turning on the XTerm.VT100.titeInhibit Xresource setting.
Unfortunately, this works for all programs other than nano, which
helpfully clears the screen before returning back to the shell upon
being backgrounded.

Is there a sane reason why this is done? Can it be turned off?

Jordi Mallach <jordi>
Project Administrator

 

(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 bens (Posted a comment)
  • -unavailable- added by astyanax (Posted a comment)
  • -unavailable- added by jordi (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):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 21 Feb 2014 07:03:56 PM UTCbensOpen/ClosedOpen=>Closed
      Summarywhen suspended, clears the screen even though xterm alternate screen switching off =>when suspended, it clears the screen even though xterm alternate screen switching is off
    Sat 28 Nov 2009 03:05:20 AM UTCastyanaxStatusNone=>Fixed
      Assigned toNone=>astyanax

    Back to the top


    Powered by Savane 3.1-cleanup