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

 
 

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

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

Submitter:  Benno Schulenberg <bens>
Submitted:  Thu 01 Dec 2016 10:06:07 AM UTC
   
 
Severity:  3 - Normal Status:  Fixed
Assigned to:  bens Open/Closed:  Closed

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

The keycodes were added in git, commit c9680b8.

Benno Schulenberg <bens>
Group administrator
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>
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 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-12-13 bens Open/ClosedOpen Closed
    2016-12-01 bens StatusNone Fixed

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code