all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Emacs key bindings + Putty
@ 2010-06-13 18:13 Xavier MARCELET
  2010-06-14  9:30 ` Michal Sojka
  0 siblings, 1 reply; 3+ messages in thread
From: Xavier MARCELET @ 2010-06-13 18:13 UTC (permalink / raw)
  To: help-gnu-emacs

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





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-06-14 11:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-13 18:13 Emacs key bindings + Putty Xavier MARCELET
2010-06-14  9:30 ` Michal Sojka
2010-06-14 11:29   ` Xavier MARCELET

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.