From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.help Subject: Re: translating numpad keys in linux terminal Date: Wed, 01 Apr 2015 12:08:37 +0200 Message-ID: <87twx0cg9m.fsf@web.de> References: <20150330151214.GA1753@mail.akwebsoft.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1427882958 19044 80.91.229.3 (1 Apr 2015 10:09:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 1 Apr 2015 10:09:18 +0000 (UTC) To: Emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Apr 01 12:09:09 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 1YdFa5-0002b3-Jw for geh-help-gnu-emacs@m.gmane.org; Wed, 01 Apr 2015 12:09:05 +0200 Original-Received: from localhost ([::1]:49330 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YdFa4-0000kJ-6t for geh-help-gnu-emacs@m.gmane.org; Wed, 01 Apr 2015 06:09:04 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60641) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YdFZl-0000e0-Hp for Help-gnu-emacs@gnu.org; Wed, 01 Apr 2015 06:08:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YdFZh-0004OI-BR for Help-gnu-emacs@gnu.org; Wed, 01 Apr 2015 06:08:45 -0400 Original-Received: from mout.web.de ([212.227.17.11]:53121) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YdFZh-0004My-37 for Help-gnu-emacs@gnu.org; Wed, 01 Apr 2015 06:08:41 -0400 Original-Received: from drachen.dragon ([92.74.177.235]) by smtp.web.de (mrweb103) with ESMTPSA (Nemesis) id 0Md4pC-1YuEE842xG-00IAU9; Wed, 01 Apr 2015 12:08:39 +0200 In-Reply-To: <20150330151214.GA1753@mail.akwebsoft.com> (Tim Johnson's message of "Mon, 30 Mar 2015 07:12:14 -0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-Provags-ID: V03:K0:BN9/gfmPFJXSYLxvvz1H2Z9JNBfppwaq31WQ0CAaEX1lPLtH25U Jq/yLygy19gsrvijeaaMxC4etHXrO9nz60J/EnetoGX1W1RPJUyemzzLADEosa+LLe1+yXd 2KVtDxuOZG8d+xhmtlNdrgT6ztuktiH7/NiJO0n1oHJER6mAiTA84A0BepTL9TajSjmaNZz caXckmxiSp/H7QGR7CcOA== X-UI-Out-Filterresults: notjunk:1; X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 212.227.17.11 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:103476 Archived-At: Tim Johnson writes: > Is there a way to read the other keys with "kp-" as in gui emacs? I don't think so. If you have a look at the lossage (C-h l), you see what events Emacs receives before doing any key translations. For the up and kp-up keys for example I see the same events coming from the terminal: ESC O A. Thus Emacs can't distinguish the two. At least that's what happens here. Maybe it is different when using a different terminal or different terminal settings. Michael.