From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.help Subject: Re: numeric keypad buttons Date: Mon, 28 Jul 2003 11:29:01 -0600 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <3F255D5D.1090804@yahoo.com> References: <20030724224909.0f2725e5.tobias_verbeke@skynet.be> <3F21BE5D.5070005@yahoo.com> <20030726225655.611cd33c.tobias_verbeke@skynet.be> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1059413554 3996 80.91.224.249 (28 Jul 2003 17:32:34 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 28 Jul 2003 17:32:34 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jul 28 19:32:33 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19hBqT-0000ya-00 for ; Mon, 28 Jul 2003 19:31:37 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19hBpf-0000gt-2P for geh-help-gnu-emacs@m.gmane.org; Mon, 28 Jul 2003 13:30:47 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fu-berlin.de!uni-berlin.de!170.207.51.80!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 46 Original-NNTP-Posting-Host: 170.207.51.80 Original-X-Trace: news.uni-berlin.de 1059413340 20849937 170.207.51.80 (16 [82742]) User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2 X-Accept-Language: en-us Original-Xref: shelby.stanford.edu gnu.emacs.help:115500 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 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 Xref: main.gmane.org gmane.emacs.help:11418 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:11418 Tobias Verbeke wrote: > Kevin Rodgers wrote: >>Sorry, that should be (all caps) >> >> M-x getenv RET TERM RET > > This gives xterm Good. >>No, I was suggesting code to put in your ~/.emacs file as a >>workaround. > > I put it there, but this appeared not > to solve the problem. I tried then to > add these lines to xterm.el, thinking > the gnome terminal could be some reincarnation > of xterm, but it didn't work out either The gnome terminal (or the shell running in the terminal) is telling Emacs via the TERM environment variable that it is an xterm. I don't know whether that's correct or not, but since its sending unrecognized escape sequences for the keypad keys, I guess it's not -- but it's a problem that should be easy to work around. Making changes to the .el files distributed with Emacs is a not a good idea, because it is generally ineffective and complicates site maintenance. > I guess another terminal will have to do > the job, then. > Unless you have another idea to get this newbie take > another step in the right direction. Let's see if we can get the work around to actually work. Please post exactly what you added to your ~/.emacs. -- Kevin Rodgers