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: How to bind (shift Fx) for emacs in putty? Date: Sun, 25 Dec 2005 18:53:36 +0100 Message-ID: <35a9bfac534b504f8e9b1826975c15e3@Web.DE> References: <1135441849.685785.266180@g44g2000cwa.googlegroups.com> <1135515520.172954.182570@g14g2000cwa.googlegroups.com> <1135519472.158005.6690@g44g2000cwa.googlegroups.com> <1135524811.832189.279390@g47g2000cwa.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v623) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1135533263 23838 80.91.229.2 (25 Dec 2005 17:54:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 25 Dec 2005 17:54:23 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Dec 25 18:54:21 2005 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Eqa4V-0004fZ-QZ for geh-help-gnu-emacs@m.gmane.org; Sun, 25 Dec 2005 18:54:16 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Eqa5f-0005rs-Rl for geh-help-gnu-emacs@m.gmane.org; Sun, 25 Dec 2005 12:55:27 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Eqa59-0005qf-VM for help-gnu-emacs@gnu.org; Sun, 25 Dec 2005 12:54:56 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Eqa57-0005pc-AZ for help-gnu-emacs@gnu.org; Sun, 25 Dec 2005 12:54:54 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Eqa57-0005pS-2D for help-gnu-emacs@gnu.org; Sun, 25 Dec 2005 12:54:53 -0500 Original-Received: from [217.72.192.224] (helo=smtp06.web.de) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1Eqa4n-0004Z8-1p for help-gnu-emacs@gnu.org; Sun, 25 Dec 2005 12:54:33 -0500 Original-Received: from [84.245.180.46] (helo=[192.168.1.2]) by smtp06.web.de with asmtp (TLSv1:RC4-SHA:128) (WEB.DE 4.105 #340) id 1Eqa3u-00049O-00; Sun, 25 Dec 2005 18:53:38 +0100 In-Reply-To: <1135524811.832189.279390@g47g2000cwa.googlegroups.com> X-Image-Url: http://homepage.mac.com/sparifankal/.cv/thumbs/me.thumbnail Original-To: "c.c" X-Mailer: Apple Mail (2.623) X-Sender: Peter_Dyballa@web.de 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:32223 Archived-At: Am 25.12.2005 um 16:33 schrieb c.c: > And I am using Putty to connect the debian box. Are there some special > things I need to notice about that? > Oh, that can be! All your local keyboard activity is stolen by putty and transferred to the remote debian system. What (remote, debian?) Emacs receives is filtered by the shell and its TERM setting (as with my Emacs on Mac OS X which cannot distinguish between fn and S-Fn). I think you either need to find a terminal emulation on the debian system that knows to make a difference between Fn and Shift-Fn, and/or you need to teach putty to send too the 'modified' keyboard event. This can be a second cause. I think starting with DEC vt320 or using xterm you might become a happy human ... But: I just tried an Emacs in an xterm. It receives two different key events, what you can prove in *scratch* buffer by typing C-q and then pressing the F or Shift-F key. You might see two different ANSI strings starting with Esc (or '^[') each, as I do, but my Emacs, running without windows in xterm, does not look up two different key bindings. So it's Emacs itself that needs to be set up better, I mean, by loading TERM specific Elisp files? Do you see in your remote Emacs two different events? I presume before you tested in Losedows ... -- Greetings Pete If you're not confused, you're not paying attention