From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: Strange keypad bindings Date: Sun, 28 Oct 2007 22:45:46 +0100 Message-ID: References: <1193524208.114555.16400@50g2000hsm.googlegroups.com> <1193589037.638040.122840@o38g2000hse.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1193607988 17181 80.91.229.12 (28 Oct 2007 21:46:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 28 Oct 2007 21:46:28 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: David Sagan Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Oct 28 22:46:30 2007 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 1ImFxl-0008LK-Ee for geh-help-gnu-emacs@m.gmane.org; Sun, 28 Oct 2007 22:46:29 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ImFxc-0001xL-G3 for geh-help-gnu-emacs@m.gmane.org; Sun, 28 Oct 2007 17:46:20 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ImFx9-0001nj-EK for help-gnu-emacs@gnu.org; Sun, 28 Oct 2007 17:45:51 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ImFx7-0001mz-Oh for help-gnu-emacs@gnu.org; Sun, 28 Oct 2007 17:45:51 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ImFx7-0001mu-Kg for help-gnu-emacs@gnu.org; Sun, 28 Oct 2007 17:45:49 -0400 Original-Received: from fmmailgate03.web.de ([217.72.192.234]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1ImFx7-0003YO-10 for help-gnu-emacs@gnu.org; Sun, 28 Oct 2007 17:45:49 -0400 Original-Received: from smtp06.web.de (fmsmtp06.dlan.cinetic.de [172.20.5.172]) by fmmailgate03.web.de (Postfix) with ESMTP id 36BACA7CAF08; Sun, 28 Oct 2007 22:45:48 +0100 (CET) Original-Received: from [195.4.205.101] (helo=[192.168.1.2]) by smtp06.web.de with asmtp (TLSv1:AES128-SHA:128) (WEB.DE 4.108 #208) id 1ImFx5-0004Wb-00; Sun, 28 Oct 2007 22:45:48 +0100 In-Reply-To: <1193589037.638040.122840@o38g2000hse.googlegroups.com> X-Mailer: Apple Mail (2.752.2) X-Sender: Peter_Dyballa@web.de X-Provags-ID: V01U2FsdGVkX1+kqI0Y58veYemHv28q6W8aYu/xOYNAcu8zIeb/ aKVS+QqI9FHNVtfaFACiNrTmo44lx47fdjcGH5Ef4jyvIrPPj/ hHpPYszEoTtvvUeYvW2w== X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor 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:48885 Archived-At: Am 28.10.2007 um 17:30 schrieb David Sagan: >> Before launching GNU Emacs set a reasonable value for TERM >> environment variable. Terminal.app allows some adjustments in its >> preferences. >> > > I was using xterm. I tried, for example, vt102 and that fixed the "5" > key but that made some keys inoperable like the "=" key on the keypad > so I'm no better off than before. When you press in Terminal a function or cursor or numerical keypad key, then these keys produce ANSI Esc sequences (you can record them, for example in *scratch* buffer, with: C-q ). These codes are quite characteristic for each terminal (or its emulation). So it should help when Terminal and the remote shell have the same TERM value set and since Terminal is quite inflexible make the remote site follow Terminal (I am using xterm-color). Did you make a test with this set-up? It might also help to launch GNU Emacs with -Q that no customisation disturbs. Does it make a difference with and without -Q? -- Greetings Pete "I wouldn't recommend sex, drugs or insanity for everyone, but they've always worked for me." -- Hunter S. Thompson