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


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

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 - Normal Status:  None
Assigned to:  None Open/Closed:  Open

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


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)

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

    Only logged-in users can vote.




    No changes have been made to this item

    Back to the top

    Powered by Savane 3.5