bugGNU nano - Bugs: bug #56010, nano gets entangled when resizing...

 
 

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

bug #56010: nano gets entangled when resizing screen during external spell check

Submitter:  Benno Schulenberg <bens>
Submitted:  Wed 27 Mar 2019 03:40:30 PM UTC
   
 
Severity:  4 - Important Status:  Fixed
Assigned to:  bens Open/Closed:  Closed

Wed 27 Mar 2019 04:47:31 PM UTC, comment #1: 

Fixed in git, commit 978c121d -- a plain unchanged revert of commit 1f39f60b.  (Some improvements will follow later.)

Benno Schulenberg <bens>
Group administrator
Wed 27 Mar 2019 03:40:30 PM UTC, original submission:  

To reproduce, put this into your nanorc:

  set speller "aspell -l en -x -c"

Then run 'nano README' and type ^T.  It suggests to replace the "xvzf" word, but ignore that.  Resize the screen.  (My terminal has hair borders that I can't grab with the mouse, so I use <Alt+Space>, choose the resize option, and then press the <Right> key several times.)  See how on almost every resize both nano and aspell write to the screen, turning it into a mess.  And when finishing the resizing and starting to type something, both nano and aspell read the input, and sometimes one gets it and sometimes the other.  I have to do 'killall nano' and 'killall aspell' in another terminal to regain control.

The culprit is of course commit 1f39f60b, where I removed the blocking of a sigwinch for the external spell checker.  I don't know what I did there.  When I tested it then, it worked fine: resizing the terminal caused no problem whatsoever.  Again a case of failing to run 'make' at the right moment?

The bug was released with version 3.2.

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 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-04-16 bens Open/ClosedOpen Closed
    2019-03-27 bens StatusIn Progress Fixed

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code