From: "Xavier MARCELET" <xavier@marcelet.com>
To: <help-gnu-emacs@gnu.org>
Subject: Emacs key bindings + Putty
Date: Sun, 13 Jun 2010 20:13:26 +0200 [thread overview]
Message-ID: <00a601cb0b24$251d8190$6f5884b0$@com> (raw)
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
Obviously, I could add the following directive to my .emacs and it would do
the job :
(global-set-key (kbd "ESC <down>") '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 <down>".
I have the same problem with the "C-x <right>" key. When using putty, emacs
translates "C-x M-[ C" as "C-x <right>" instead of "C-x <C-right>"
How can I do that ?
Thanks for your help,
--
Xavier
next reply other threads:[~2010-06-13 18:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-13 18:13 Xavier MARCELET [this message]
2010-06-14 9:30 ` Emacs key bindings + Putty Michal Sojka
2010-06-14 11:29 ` Xavier MARCELET
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='00a601cb0b24$251d8190$6f5884b0$@com' \
--to=xavier@marcelet.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.