bugGNU nano - Bugs: bug #53308, the --linenumbers option affects...

 
 

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

bug #53308: the --linenumbers option affects the display of help texts

Submitted by:  Benno Schulenberg <bens>
Submitted on:  Fri 09 Mar 2018 10:29:07 AM UTC  
 
Severity:  2 - Minor Status:  Fixed
Assigned to:  Benno Schulenberg <bens> Open/Closed:  Closed

Fri 09 Mar 2018 11:08:23 AM UTC, comment #1: 

Fixed in git, commit 1fb3218a.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Fri 09 Mar 2018 10:29:07 AM UTC, original submission:  

To reproduce, run:

  stty cols 75 && LANGUAGE=en nano --linenumbers

Then press ^G and see the weird dollar signs at the ends of some lines, and how some words on those lines are truncated.

Bug exists since nano-2.8.2 -- since the help texts are searchable.

What happens is that, when showing a help text, 'margin' is set to zero, but 'editwincols' is not adjusted to the full width of the screen -- it stays COLS minus the old margin.

(Bug was found because in 2.9.4 in Dutch a few of the descriptions are so long that the dollar signs appear even on an 80-column terminal, and on the tested machine the nanorc file contains 'set linenumbers', something I normally never use.)

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.

 

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

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-03-30 bens Severity3 - Normal => 2 - Minor
        Open/ClosedOpen => Closed
    2018-03-09 bens StatusIn Progress => Fixed

    Back to the top


    Powered by Savane 3.5