From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: dickey@invisible-island.net (Thomas E. Dickey) Newsgroups: gmane.emacs.help Subject: Re: keypad bindings in gnome not in xTerm ?? Date: 20 Aug 2008 12:37:08 GMT Organization: Jtan (jtan.com) Message-ID: <48ac0ff4$0$24558$e4f62565@news.jtan.com> References: <1218775262.11374.15.camel@CASE> <1218813981.3551.16.camel@CASE> NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1219324507 20987 80.91.229.12 (21 Aug 2008 13:15:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 21 Aug 2008 13:15:07 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Aug 21 15:15:59 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KWA0e-0000Xd-Ge for geh-help-gnu-emacs@m.gmane.org; Thu, 21 Aug 2008 15:15:28 +0200 Original-Received: from localhost ([127.0.0.1]:58773 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KW9zg-0004pW-U7 for geh-help-gnu-emacs@m.gmane.org; Thu, 21 Aug 2008 09:14:28 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!news-xxxfer.readnews.com!news-out.readnews.com!postnews3.readnews.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: tin/1.6.2-20030910 ("Pabbay") (UNIX) (OpenBSD/3.7 (i386)) Original-Lines: 30 Original-NNTP-Posting-Host: 218fa195.news.jtan.com Original-X-Trace: DXC=QBkVYi List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:56839 Archived-At: Kevin Rodgers 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 > suggests that you might be able to get xterm to send escape > sequences via X resources; then Emacs should automatically > recognize 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