bugGNU nano - Bugs: bug #49746, on modern VTE-based terminals,...

 
 

bug #49746: on modern VTE-based terminals, Shift+PgUp/PgDown produce "Unbound key"

Submitted by:  Benno Schulenberg <bens>
Submitted on:  Thu 01 Dec 2016 10:06:07 AM UTC  
 
Severity: 3 - NormalStatus: 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.

 

Thu 01 Dec 2016 04:52:45 PM UTC, comment #1:

The keycodes were added in git, commit c9680b8.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Thu 01 Dec 2016 10:06:07 AM UTC, original submission:

Seen on Gnome Terminal 3.18.3 (on Linux Mint 18, "Sarah") and on Xfce4-terminal 0.8.1 (on an up-to-date Manjaro). Run a recent nano with --ignore --quick and press <Space>, <Shift+PageUp>, <Space>, <Shift+PageDown>. See how the two shift combos produce the message "Unbound key".

Compiling with --enable-debug shows that <Shift+PageUp> produces the code 0x18e, and <Shift+PageDown> 0x18c. Those are the codes KEY_SPREVIOUS and KEY_SNEXT of ncurses.

Apparently VTE has become smart: it doesn't swallow the shift combos any more when it doesn't make /sense/ to scroll the terminal. It lets <Shift+Ctrl+Up> and <Shift+Ctrl+Down> pass too. Great! These four combos work as terminal-scrolling keys only when nano is not active.

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
    Tue 13 Dec 2016 11:49:10 AM UTCbensOpen/ClosedOpen=>Closed
    Thu 01 Dec 2016 04:52:45 PM UTCbensStatusNone=>Fixed

    Back to the top


    Powered by Savane 3.1-cleanup1