unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: dickey@invisible-island.net (Thomas E. Dickey)
To: help-gnu-emacs@gnu.org
Subject: Re: keypad bindings in gnome not in xTerm ??
Date: 20 Aug 2008 12:37:08 GMT	[thread overview]
Message-ID: <48ac0ff4$0$24558$e4f62565@news.jtan.com> (raw)
In-Reply-To: mailman.17021.1219134578.18990.help-gnu-emacs@gnu.org

Kevin Rodgers <kevin.d.rodgers@gmail.com> 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


  parent reply	other threads:[~2008-08-20 12:37 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-15  4:41 keypad bindings in gnome not in xTerm ?? William Case
2008-08-15 11:16 ` Kevin Rodgers
2008-08-15 15:26   ` William Case
2008-08-19  8:29     ` Kevin Rodgers
2008-08-19 14:09       ` William Case
     [not found]     ` <mailman.17021.1219134578.18990.help-gnu-emacs@gnu.org>
2008-08-20 12:37       ` Thomas E. Dickey [this message]
     [not found]   ` <mailman.16810.1218813978.18990.help-gnu-emacs@gnu.org>
2008-08-15 23:37     ` Chat
2008-08-16  5:59       ` William Case
2008-08-16  6:02       ` William Case
     [not found] ` <mailman.16792.1218798998.18990.help-gnu-emacs@gnu.org>
2008-09-11  2:00   ` David Combs

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='48ac0ff4$0$24558$e4f62565@news.jtan.com' \
    --to=dickey@invisible-island.net \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).