Re: keypad bindings in gnome not in xTerm ??
  Home FAQ Contact Sign in
gnu.emacs.help only
 
Advanced search
POPULAR GROUPS

more...

gnu.emacs.help Profile…
 Up
Re: keypad bindings in gnome not in xTerm ??         


Author: Kevin Rodgers
Date: Aug 19, 2008 01:29

William Case wrote:
> Hi Kevin;
>
> On Fri, 2008-08-15 at 05:16 -0600, Kevin Rodgers wrote:
>> William Case wrote:
>>> I have some basic commands such 'kill-this-buffer' bound to keypad keys
>>> e.g. . As long as I am in a Gnome desktop it works fine.
>>> If I switch to an xterm (C-A-Fx), the binding no longer works even
>>> though C-h w says that 'kill-this-buffer' is still bound to
>>> . I have double checked that Num Lock is off.
>>>
>>> How can I get my keypad bindings to work in xTerminals? They are what I
>>> am used to now.
>> What does `C-h k ' show in xterm?
>
> "self-insert-command"

Ah, I see the same thing: - runs the command self-insert-command
Show full article (1.33Kb)
1 Comment
Re: keypad bindings in gnome not in xTerm ??         


Author: Thomas E. Dickey
Date: Aug 20, 2008 05:37

Kevin Rodgers gmail.com> wrote:
>
> Ah, I see the same thing: - runs the command self-insert-command
>
> Note the absence of "(translated from )", which means
> that the terminal sent "-" to Emacs rather than an escape sequence.
> You can confirm that with ` C-h l'.
>
> So I think you are out of luck and cannot bind
> independently of "-" in xterm. But a little bit of Googling

Actually, xterm would send an escape sequence for the keypad-minus in
keypad application mode (not requiring X resource changes). The
relevant (but terse...) information is in xterm's control-sequences
document, e.g.,

http://invisible-island.net/xterm/ctlseqs/ctlseqs.html
Show full article (1.07Kb)
no comments