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

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

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

Fixed in git, commit 1fb3218a.

Benno Schulenberg <bens>
Group administrator
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>
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
    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.13-f8d8.
    Corresponding source code