bugGNU nano - Bugs: bug #58955, with --raw, Ctrl+Alt+letter can...

 
 

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

bug #58955: with --raw, Ctrl+Alt+letter can sometimes act like Ctrl+letter

Submitter:  Benno Schulenberg <bens>
Submitted:  Fri 14 Aug 2020 06:02:19 PM UTC
   
 
Severity:  2 - Minor Status:  Fixed
Assigned to:  bens Open/Closed:  Closed

Sat 15 Aug 2020 12:48:41 PM UTC, comment #3: 

Fixed in git, commit d09055db, by pausing 20 milliseconds after an ESC when --rawsequences is used.

Benno Schulenberg <bens>
Group administrator
Sat 15 Aug 2020 12:31:27 PM UTC, comment #2: 

Bug existed since version 2.6.2.  The offending commit is f2150d3f: "treat Ctrl+Alt+key different from Esc followed by Ctrl+key".

(The bug at first appeared to exist since version 4.0, but that was only because the option --rawsequences was called --rebindkeypad before that.)


Benno Schulenberg <bens>
Group administrator
Sat 15 Aug 2020 10:50:58 AM UTC, comment #1: 

What triggers this is "set rawsequences" that I added a few days ago to my nanorc.  However, I cannot reproduce this on two other machines (one of them faster, the other older and slower).

(On the faster machine I could sometimes kind of reproduce it, but the probable cause was that I wasn't holding the Ctrl key down properly, resulting in nano acting upon Alt+R and opening the Replace menu, not the Insert menu.)

Benno Schulenberg <bens>
Group administrator
Fri 14 Aug 2020 06:02:19 PM UTC, original submission:  

To reproduce, run 'src/nano'.  (It needs something in the .nanorc file, but I haven't yet figured out what.  It doesn't happen when using --ignore.)  Then hold down Ctrl+Alt and type repeatedly: R

Within a couple of keystrokes the "File to insert" prompt will appear, as if you had typed ^R.

Bug exists since version 4.0.  (Sometimes the bug is hard to trigger, but once it happens, it then happens at almost every other keystroke.)

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

    Date Changed by Updated Field Previous Value => Replaced by
    2020-08-25 bens Open/ClosedOpen Closed
    2020-08-15 bens StatusIn Progress Fixed
    2020-08-15 bens StatusNone In Progress
    2020-08-15 bens SummaryCtrl+Alt+letter will sometimes act like Ctrl+letter with --raw, Ctrl+Alt+letter can sometimes act like Ctrl+letter
    2020-08-15 bens Severity3 - Normal 2 - Minor

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code