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

 
 

You are not allowed to post comments on this tracker with your current authentication level.

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

Submitter:  Jordi Mallach <jordi>
Submitted:  Fri 27 Nov 2009 09:56:51 PM UTC
   
 
Severity:  3 - Normal Status:  Fixed
Assigned to:  astyanax Open/Closed:  Closed

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

Leftover has gone too.

Benno Schulenberg <bens>
Group administrator
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>
Group 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>
Group administrator
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>
Group administrator

 

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

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 bens (Posted a comment)
  • -email is unavailable- added by astyanax (Posted a comment)
  • -email is unavailable- added by jordi (Submitted the item)
  •  

    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.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-02-21 bens Open/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
    2009-11-28 astyanax StatusNone Fixed
        Assigned toNone astyanax

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code