From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Sagan Newsgroups: gmane.emacs.help Subject: Re: Strange keypad bindings Date: Mon, 29 Oct 2007 20:37:51 -0700 Organization: http://groups.google.com Message-ID: <1193715471.338889.157570@d55g2000hsg.googlegroups.com> References: <1193524208.114555.16400@50g2000hsm.googlegroups.com> <1193589037.638040.122840@o38g2000hse.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: ger.gmane.org 1193715652 1953 80.91.229.12 (30 Oct 2007 03:40:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 30 Oct 2007 03:40:52 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Oct 30 04:40:53 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 1Imhy9-0007UG-Rg for geh-help-gnu-emacs@m.gmane.org; Tue, 30 Oct 2007 04:40:46 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Imhy0-0004Ur-DW for geh-help-gnu-emacs@m.gmane.org; Mon, 29 Oct 2007 23:40:36 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!d55g2000hsg.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 35 Original-NNTP-Posting-Host: 69.202.74.22 Original-X-Trace: posting.google.com 1193715471 3724 127.0.0.1 (30 Oct 2007 03:37:51 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 30 Oct 2007 03:37:51 +0000 (UTC) In-Reply-To: User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.1.8) Gecko/20071008 Firefox/2.0.0.8,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: d55g2000hsg.googlegroups.com; posting-host=69.202.74.22; posting-account=ps2QrAMAAAA6_jCuRt2JEIpn5Otqf_w0 Original-Xref: shelby.stanford.edu gnu.emacs.help:153429 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:48914 Archived-At: On Oct 28, 5:45 pm, Peter Dyballa wrote: > Am 28.10.2007 um 17:30 schrieb David Sagan: > > 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 The problem with the "=" key being inoperable with TERM = vt102 turns out to be specific to the Terminal program since I do not get this behavior with the X11 program. I looked and Terminal does not have anything obvious to change this behavior. In any case -q does not change the situation. Also when I use ssh the TERM variable on the remote host is set to what it is on my local Mac so that is not the source of the problem. So the problem remains but thanks for your suggestions. -- David