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: Re: Emacs key bindings + Putty Date: Mon, 14 Jun 2010 13:29:56 +0200 Message-ID: <4C1612B4.1090507@marcelet.com> References: <00a601cb0b24$251d8190$6f5884b0$@com> <87wru29d24.fsf@steelpick.2x.cz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------030205020607020808090107" X-Trace: dough.gmane.org 1276516638 30672 80.91.229.12 (14 Jun 2010 11:57:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 14 Jun 2010 11:57:18 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jun 14 13:57:17 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 1OO8Hx-0002L3-0m for geh-help-gnu-emacs@m.gmane.org; Mon, 14 Jun 2010 13:57:16 +0200 Original-Received: from localhost ([127.0.0.1]:59914 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OO8Hu-0007jI-2U for geh-help-gnu-emacs@m.gmane.org; Mon, 14 Jun 2010 07:57:10 -0400 Original-Received: from [140.186.70.92] (port=46570 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OO8HD-0006oe-MA for help-gnu-emacs@gnu.org; Mon, 14 Jun 2010 07:56:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OO7gm-0005MM-33 for help-gnu-emacs@gnu.org; Mon, 14 Jun 2010 07:18:49 -0400 Original-Received: from smtpout01s1.x-echo.com ([193.252.149.37]:56279) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OO7gl-0005Lh-MY for help-gnu-emacs@gnu.org; Mon, 14 Jun 2010 07:18:48 -0400 User-Agent: Thunderbird 2.0.0.24 (X11/20100411) In-Reply-To: <87wru29d24.fsf@steelpick.2x.cz> X-AV-Checked: ClamAV using ClamSMTP X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:73888 Archived-At: This is a multi-part message in MIME format. --------------030205020607020808090107 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Michal Sojka a =E9crit : > On Sun, 13 Jun 2010, Xavier MARCELET wrote: > =20 >> Hi, >> >> I'm using emacs on a remote server on which I'm connecting via SSH eit= her >> from a native Linux console or from Windows using Putty.=20 >> 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 :=20 >> ESC (translated from ESC M-O B) is undefined >> =20 > > Hi, you can specify the terminal type in Putty configuration. Try to se= t > it to "Linux". > > -Michal > =20 Hi Michal, Are you talking about the "Function keys and Keypad option" in the=20 "Terminal" configuration section ? If yes, I already tried every possible values=20 for this option and this does not change the emacs interpretation of my keys. From what=20 I read about this feature, it changes only the keypad and the F1->F12 keys. --=20 Xavier --------------030205020607020808090107 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Michal Sojka a écrit :
On Sun, 13 Jun 2010, Xavier MARCELET wrote:
  
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 <down> (translated from ESC M-O B) is undefined
    

Hi, you can specify the terminal type in Putty configuration. Try to set
it to "Linux".

-Michal
  
Hi Michal,

Are you talking about the "Function keys and Keypad option" in the "Terminal"
configuration section ? If yes, I already tried every possible values for this option
and this does not change the emacs interpretation of my keys. From what I read
about this feature, it changes only the keypad and the F1->F12 keys.

--
Xavier --------------030205020607020808090107--