bugGNU nano - Bugs: bug #58885, shrinking a tiny nano built with...

 
 

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

bug #58885: shrinking a tiny nano built with Slang will mess up the screen

Submitter:  Benno Schulenberg <bens>
Submitted:  Mon 03 Aug 2020 08:53:17 AM UTC
   
 
Severity:  3 - Normal Status:  Wont Fix
Assigned to:  None Open/Closed:  Closed

Thu 08 Oct 2020 09:04:35 AM UTC, comment #2: 

Also, it is not relevant to fix this because in the Debian installer nano is used either on a Linux console or in a special terminal window, and neither of them can be resized.

Benno Schulenberg <bens>
Group administrator
Sun 06 Sep 2020 01:55:42 PM UTC, comment #1: 

I don't know how to fix this.

Benno Schulenberg <bens>
Group administrator
Mon 03 Aug 2020 08:53:17 AM UTC, original submission:  

To reproduce, configure nano with --enable-tiny and --with-slang, compile, and then run on an 80 column:

src/nano --suspendable  README

Now shrink the terminal to 50 columns.  See that the display does not change.  That is correct: the tiny version does not adapt the screen size changes.  But now press <PageDown> <PageUp>.  Ho!  See that the text is garbled, saying "prowonderfully" and "uitethe GPL" and other such nonsense.  Somehow Slang has registered that the screen size has changed, but hasn't changed COLS, so nano still thinks the screen is 80 columns wide.

Now press ^Z, then type: fg <Enter>.  See that the title bar has disappeared and that the two help lines now occupy four rows.  It is a mess.  Nano really shouldn't be using Slang.

(Things work fine when using ncurses: nano and ncurses keep behaving as if the screen is still 80 columns wide, as they should.)

Benno Schulenberg <bens>
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 (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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-10-08 bens Open/ClosedOpen Closed
    2020-09-06 bens StatusNone Wont Fix
        Summaryshrinking a tiny nano built with slang will mess up the screen shrinking a tiny nano built with Slang will mess up the screen

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code