bugGNU nano - Bugs: bug #49771, when compiled --with-slang, the...

 
 

bug #49771: when compiled --with-slang, the modified cursor keys produce bad keycodes

Submitted by:  Benno Schulenberg <bens>
Submitted on:  Mon 05 Dec 2016 04:28:08 PM UTC  
 
Severity: 3 - NormalStatus: None
Assigned to: NoneOpen/Closed: Open

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Mon 05 Dec 2016 04:28:08 PM UTC, original submission:

Configure nano using --with-slang --enable-debug, compile, and then run 'src/nano 2>TRAIL'. Press all four Arrow keys, one after the other, then do the smae while holding Shift, then again while holding Ctrl, and finally again while holding Alt. Exit from nano and run 'grep codes TRAIL'. See how all the Arrow keys pressed together with a modifier produce the same truncated escape sequence: "Esc [ 1 ;" (0x1b 0x5b 0x31 0x3b). The two final bytes of these sequences are missing. I'm not sure whether nano is doing something wrong or Slang is short-changing us on the input.

Benno Schulenberg <bens>
Project Administrator

 

(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):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup1