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

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

Re: keypad bindings in gnome not in xTerm ??


From: Thomas E. Dickey
Subject: Re: keypad bindings in gnome not in xTerm ??
Date: 20 Aug 2008 12:37:08 GMT
User-agent: tin/1.6.2-20030910 ("Pabbay") (UNIX) (OpenBSD/3.7 (i386))

Kevin Rodgers <address@hidden> wrote:
> 
> Ah, I see the same thing: - runs the command self-insert-command
> 
> Note the absence of "(translated from <kp-subtract>)", which means
> that the terminal sent "-" to Emacs rather than an escape sequence.
> You can confirm that with `<kp-subtract> C-h l'.
> 
> So I think you are out of luck and cannot bind <kp-subtract>
> 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

> suggests that you might be able to get xterm to send escape
> sequences via X resources; then Emacs should automatically
> recognize <kp-subtract> via function-key-map.
> 
> Please let us know if you figure out how to get xterm to
> send escape sequences for the keypad.
> 

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net


reply via email to

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