bugGNU nano - Bugs: bug #58868, pressing ^C in tiny version while...

 
 

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

bug #58868: pressing ^C in tiny version while piping in a large file causes mayhem

Submitter:  Benno Schulenberg <bens>
Submitted:  Sun 02 Aug 2020 08:12:11 AM UTC
   
 
Severity:  4 - Important Status:  Fixed
Assigned to:  bens Open/Closed:  Closed

Sun 02 Aug 2020 08:35:59 AM UTC, comment #2: 

Fixed in git, commit 312bcebf, by delaying the printing of the "Interrupted" message on the status bar until it is certain we are in curses mode again.

Benno Schulenberg <bens>
Group administrator
Sun 02 Aug 2020 08:17:53 AM UTC, comment #1: 

The offending commit is 57390cff: "exclude another bug check from the tiny version".

Benno Schulenberg <bens>
Group administrator
Sun 02 Aug 2020 08:12:11 AM UTC, original submission:  

To reproduce, first create a large file:

for x in $(seq 98); do cat src/*.c; done  >2million

Then configure nano with --enable-tiny, compile, and run:

cat 2million | src/nano -

and immediately type ^C.

Result: a rapid beeping fire of each remaining line in the catted file.  :|

Bug exists since somewhere in the 4.x series.

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-08-13 bens Open/ClosedOpen Closed
    2020-08-02 bens Severity5 - Blocker 4 - Important
        StatusNone Fixed

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code