bugGNU nano - Bugs: bug #51735, arrow keys are mistakenly rebound...

 
 

bug #51735: arrow keys are mistakenly rebound by using "F dash number"

Submitted by:  Benno Schulenberg <bens>
Submitted on:  Sat 12 Aug 2017 10:22:33 AM UTC  
 
Severity: 2 - MinorStatus: Fixed
Assigned to: Benno Schulenberg <bens>Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 14 Aug 2017 09:52:08 AM UTC, comment #1:

Fixed in git, as a "side effect" of 1cc030f7. The original patch was by Urja Rannikko.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Sat 12 Aug 2017 10:22:33 AM UTC, original submission:

To reproduce, put this line in your ~/.nanorc:

bind F-6 findnext main

Then run 'nano somefile' and press <Down>. It tries to find the next occurrence of the last string that was searched for, instead of moving the cursor one line down.

Expected behavior: nano should complain at startup that "F-x" is not a valid key name, and then ignore it.

Bug was found by Urja Rannikko and reported as an aside in:
http://lists.gnu.org/archive/html/nano-devel/2017-08/msg00009.html

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by bens (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 28 Aug 2017 07:09:22 PM UTCbensOpen/ClosedOpen=>Closed
    Mon 14 Aug 2017 09:52:08 AM UTCbensStatusNone=>Fixed

    Back to the top


    Powered by Savane 3.1-cleanup1