Re: Using putty with emacs
From: Owen Dunn (owend_at_chiark.greenend.org.uk)
Date: 19 Apr 2004 14:18:40 +0100
AMetts <email@example.com> writes:
> I'm using putty on Windows to access remote Linux servers. I'm
> noticing behavior that I only experience with putty:
> --*-- The left "Alt" key works fine as the Meta key in emacs. The
> right Alt key seems to have no effect.
That's because the right Alt key isn't actually Alt, it's AltGr.
PuTTY is British, and we don't have these keyboards with two Alt keys.
This might be fixed at some point in the future:
> summary: Support for Right Alt on keyboards which don't call it AltGr
> difficulty: tricky: Needs many tuits.
> class: wish: This is a request for an enhancement.
> priority: medium: This should be fixed one day.
> Most PC keyboards use the key to the right of the space bar as
> AltGr, an extra shift key for generating interesting graphic
> characters, but some keyboard layouts (apparently the US one, at
> least) don't, and users of such layouts might like to have an option
> that makes it work the same way as the left Alt key.
> This would be easy to implement by means of a configuration option,
> but it would be nicer if we could somehow detect this property of
> the active keymap and automatically switch between that key being
> Right Alt and being AltGr.
> We might be able to make a guess by comparing the result of
> GetKeyboardLayout() to known values from the table of language
> identifiers, but this is flaky enough that it'd want to be a
> On/Off/Auto option and may not be worth the effort.
> --*-- The <enter> key on the qwerty keyboard works fine when completing
> emacs commands. The <enter> key on the numeric keypad has no effect.
Both do the same thing for me on xemacs, but not on emacs. Since
emacs understands the keys as RET and kp-enter, I think you need to
fiddle with your emacs configuration to make the minibuffer understand
kp-enter as well as RET.