bugGNU nano - Bugs: bug #52652, nano compiled with Slang does not...

 
 

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

bug #52652: nano compiled with Slang does not handle window resizes

Submitter:  David Lawrence Ramsey <dolorous>
Submitted:  Tue 12 Dec 2017 09:21:51 PM UTC
   
 
Severity:  3 - Normal Status:  Wont Fix
Assigned to:  None Open/Closed:  Closed

Sun 17 Dec 2017 03:39:35 PM UTC, comment #5: 

And some brokenness cannot be worked around (at least: I don't know how) -- see bug #49771.  If it were possible to work around that one, I would do that -- it would make for a much more capable nano-tiny on Debian.

Benno Schulenberg <bens>
Group administrator
Sat 16 Dec 2017 10:22:45 PM UTC, comment #4: 

I'm aware we can't remove Slang support; it's just that it would be nice not to have to work around all of its broken curses emulation.

David Lawrence Ramsey <dolorous>
Group Member
Sat 16 Dec 2017 06:19:23 PM UTC, comment #3: 

We cannot remove support for Slang because Jordi needs it.  Or rather: Debian needs it for their nano-tiny.  See http://lists.gnu.org/archive/html/nano-devel/2016-08/msg00068.html.  As resizes do not work in the tiny version anyway, it's not really a problem that they don't work when using Slang.

Benno Schulenberg <bens>
Group administrator
Fri 15 Dec 2017 10:14:14 PM UTC, comment #2: 

I'm certain I remember it working at some point, but that was probably during the 1.3/2.0 branch, and that's definitely not recent.

I don't build it with Slang often; I only did it recently to help test the backtab support.  And if it were up to me, I'd remove the Slang support entirely, because of this kind of thing.  (Not having KEY_BACKTAB defined is a simple problem, and it might occur with some non-ncurses version of curses for all I know.  Not having resizes work properly is not a simple problem.)

So... go ahead and mark it as wontfix.  Maybe someone else who really uses the Slang support can help come up with a solution, assuming it's not a deficiency in Slang's curses emulation.

David Lawrence Ramsey <dolorous>
Group Member
Fri 15 Dec 2017 06:24:43 PM UTC, comment #1: 

As far as I know, window resizes never worked with Slang.  It doesn't work in 2.2.6, nor in 2.3.6, nor in 2.4.3.  I haven't tried it further.  So... I am inclined to mark this as wontfix, unless you can point at a recent version where it worked.

Benno Schulenberg <bens>
Group administrator
Tue 12 Dec 2017 09:21:51 PM UTC, original submission:  

This is with 64-bit Slackware 14.2, under Slang 2.3.0 (although it also occurs after manually upgrading to Slang 2.3.1a).

Compiling nano with the --with-slang option (and not in tiny mode, which doesn't handle window resizes anyway) produces a version of nano which no longer resizes itself properly when the terminal does.  (This worked at some point before; I'm not sure when it changed, and I don't have time right now to look into when.)

Run nano with --ignore, and then try resizing via maximizing, unmaximizing, and dragging window edges.  nano's internal windows will not change at all, except for when you make the window smaller and then press Ctrl-L to refresh: the text that no longer fits will spill over onto the next line and shift the succeeding text forward when it shouldn't.

David Lawrence Ramsey <dolorous>
Group Member

 

(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 dolorous (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
    2017-12-17 bens Open/ClosedOpen Closed
    2017-12-16 bens StatusNone Wont Fix
        Summarynano compiled with slang no longer handles window resizes properly nano compiled with Slang does not handle window resizes

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code