bugGNU nano - Bugs: bug #48318, verbatim input is too gluttonous

 
 

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

bug #48318: verbatim input is too gluttonous

Submitter:  Benno Schulenberg <bens>
Submitted:  Sun 26 Jun 2016 01:53:35 PM UTC
   
 
Severity:  2 - Minor Status:  Fixed
Assigned to:  bens Open/Closed:  Closed

Mon 01 Aug 2016 12:57:11 PM UTC, comment #1: 

Fixed in git, 08c51cf.

Benno Schulenberg <bens>
Group administrator
Sun 26 Jun 2016 01:53:35 PM UTC, original submission:  

In the manual it says that verbatim input inserts the next keystroke verbatim into the text.  (It says "character", but "keystroke" is meant.)  However, if during verbatim input nano is stalled (which one can simulate by inserting a sleep(3) at the start of get_verbatim_kbinput()), all the available keystrokes in the keystroke buffer get inserted verbatim.  I don't think this is the intention.  When the machine is under pressure or a remote connection is choking, this shouldn't result in ^Cs or ^Xs (given far after an M-V) being entered into the text instead of being acted upon.

Expected behavior: after an M-V only the first keystroke is entered verbatim into the text (as a control code or an escape sequence).

Benno Schulenberg <bens>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #37919:  0001-input-eat-verbatim-only-a-control-code-or-one-or-mor.patch added by bens (2KiB - text/x-diff - a version of the patch that compiles)

 

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

    Date Changed by Updated Field Previous Value => Replaced by
    2016-08-11 bens Open/ClosedOpen Closed
    2016-08-01 bens StatusIn Progress Fixed
    2016-07-17 bens Attached File- Added 0001-input-eat-verbatim-only-a-control-code-or-one-or-mor.patch, #37919
    2016-07-17 bens Attached File#37918 Removed
    2016-07-17 bens Attached File- Added 0001-input-take-in-only-control-codes-verbatim.patch, #37918
        StatusNone In Progress
        Assigned toNone bens

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code