From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Xavier MARCELET" Newsgroups: gmane.emacs.help Subject: Emacs key bindings + Putty Date: Sun, 13 Jun 2010 20:13:26 +0200 Message-ID: <00a601cb0b24$251d8190$6f5884b0$@com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1276463945 15657 80.91.229.12 (13 Jun 2010 21:19:05 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 13 Jun 2010 21:19:05 +0000 (UTC) To: Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jun 13 23:19:03 2010 connect(): No such file or directory 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.69) (envelope-from ) id 1ONua3-0002Ui-To for geh-help-gnu-emacs@m.gmane.org; Sun, 13 Jun 2010 23:19:00 +0200 Original-Received: from localhost ([127.0.0.1]:53663 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ONua3-0001WJ-8W for geh-help-gnu-emacs@m.gmane.org; Sun, 13 Jun 2010 17:18:59 -0400 Original-Received: from [140.186.70.92] (port=34227 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ONrgs-0003MB-V2 for help-gnu-emacs@gnu.org; Sun, 13 Jun 2010 14:13:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1ONrgr-0001Ox-Q5 for help-gnu-emacs@gnu.org; Sun, 13 Jun 2010 14:13:50 -0400 Original-Received: from smtp5-g21.free.fr ([212.27.42.5]:49033) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ONrgr-0001ON-6N for help-gnu-emacs@gnu.org; Sun, 13 Jun 2010 14:13:49 -0400 Original-Received: from psynet (mar06-1-88-167-174-177.fbx.proxad.net [88.167.174.177]) by smtp5-g21.free.fr (Postfix) with ESMTP id AF42DD480AD for ; Sun, 13 Jun 2010 20:13:42 +0200 (CEST) X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AcsLJB4ENMBLRZMlRdC+e4aaJiQJXw== Content-Language: fr X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Sun, 13 Jun 2010 17:18:37 -0400 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:73884 Archived-At: Hi, I'm using emacs on a remote server on which I'm connecting via SSH either from a native Linux console or from Windows using Putty. I have configured all my emacs bindings and they all work well when I'm connecting through Linux. My problem is that some of them don't work with Putty. For instance, I've defined " (global-set-key [A-down] 'end-of-buffer) " which triggers when I'm pressing ALT+down on Linux. When using Putty, the binding does not work. When using describe-key function, emacs answers : ESC (translated from ESC M-O B) is undefined Obviously, I could add the following directive to my .emacs and it would do the job : (global-set-key (kbd "ESC ") 'end-of-buffer) However, I'm looking for a way to "redefine" keys so that emacs translates "ESC M-O B" to " [A-down] " instead of "ESC ". I have the same problem with the "C-x " key. When using putty, emacs translates "C-x M-[ C" as "C-x " instead of "C-x " How can I do that ? Thanks for your help, -- Xavier