help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Page Up/Down Issues With Emacs in Terminal


From: Brandeis King
Subject: Re: Page Up/Down Issues With Emacs in Terminal
Date: Wed, 6 Jul 2016 12:40:58 -0700 (PDT)
User-agent: G2/1.0

On Wednesday, July 6, 2016 at 11:28:18 AM UTC-4, Yuri Khan wrote:
> Neither could I. Moreover, when I start "TERM=tmux emacs -Q -nw", the
> variable input-decode-map still contains a sequence for ESC [ 5 ~. I
> presumed it were added by xterm.el and that by setting a TERM which
> Emacs doesn’t know about would prevent that, but it seems at least one
> of those assumptions is false.
> 
> @Brandeis: Please also show us what you get when you press Ctrl+V PgUp
> at the zsh prompt, and what you have in the input-decode-map variable
> in emacs -Q -nw.

I tried "emacs -Q -nw" again today, and the page up/down buttons do work as 
expected. 

In answer to previously asked questions, term is "screen-256color" -- this is 
set in my Xresources file -- Ctrl+V PgUp prints ^[[5~  

Input-Decode Map variable holds:
Value: (keymap
 (27 keymap
     (79 keymap
         (83 .
             [f4])
         (82 .
             [f3])
         (81 .
             [f2])
         (80 .
             [f1])
         (66 .
             [down])
         (67 .
             [right])
         (65 .
             [up])
         (68 .
             [left]))
     (91 keymap
         (53 keymap
             (126 .
                  [prior]))
         (54 keymap
             (126 .
                  [next]))
         (90 .
             [backtab])
         (51 keymap
             (126 .
                  [deletechar]))
         (50 keymap
             (52 keymap
                 (126 .
                      [f12]))
             (51 keymap
                 (126 .
                      [f11]))
             (49 keymap
                 (126 .
                      [f10]))
             (48 keymap
                 (126 .
                      [f9]))
             (126 .
                  [insertchar]))
         (52 keymap
             (126 .
                  [end]))
         (49 keymap
             (57 keymap
                 (126 .
                      [f8]))
             (56 keymap
                 (126 .
                      [f7]))
             (55 keymap
                 (126 .
                      [f6]))
             (53 keymap
                 (126 .
                      [f5]))
             (126 .
                  [home])))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]