From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Espen Newsgroups: gmane.emacs.help Subject: Re: translating numpad keys in linux terminal Date: Wed, 01 Apr 2015 19:46:30 -0400 Organization: A noiseless patient Spider Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1427932223 7961 80.91.229.3 (1 Apr 2015 23:50:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 1 Apr 2015 23:50:23 +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 Apr 02 01:50:20 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YdSOn-0005Jk-VI for geh-help-gnu-emacs@m.gmane.org; Thu, 02 Apr 2015 01:50:18 +0200 Original-Received: from localhost ([::1]:55403 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YdSOn-0000uc-1X for geh-help-gnu-emacs@m.gmane.org; Wed, 01 Apr 2015 19:50:17 -0400 Original-Path: usenet.stanford.edu!news.kjsl.com!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 22 Injection-Info: mx02.eternal-september.org; posting-host="ad871ce417d1fb2ea3c87e49e48c0ae1"; logging-data="8153"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19pfUzWDu054cSxeem8oKfaI45430yIPpc=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) Cancel-Lock: sha1:s3RS9h6/q1q3RnnxdVPmT8M0j5I= Original-Xref: usenet.stanford.edu gnu.emacs.help:211216 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:103498 Archived-At: Tim Johnson writes: > With emacs 24 on linux ubuntu 14.04 > > Gui emacs translates all numeric keypad keys except the backspace as > distinct from the equivalent on the main keyboard. > > Example : kp-up vs. up > > Unfortunately, my preference is emacs -nw from the terminal, which > in this case is gnome-terminal. emacs -nw only translates > kp-(divide, multiply, minus, plus and enter). > > Is there a way to read the other keys with "kp-" as in gui emacs? If you were using xterm, rxvt, you could use X-Resources to set the "translations" resource to create any kind translation of X11 key to any string you like. The xterm man page describes this. -- Dan Espen