[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Keymaps and Emacs and libreadline ?
From: |
Jesper Harder |
Subject: |
Re: Keymaps and Emacs and libreadline ? |
Date: |
Tue, 19 Aug 2003 15:04:06 +0200 |
User-agent: |
Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) |
"It's me FKtPp ;)" <m_pupil@yahoo.com.cn> writes:
> I setup-ed libreadline so that I can use Emacs key-binding and
> key-sequences to edit shell command lines. It works perfect in
> X-terminal, but, when I switch to console mode(not X) the right-alt
> key no longer act as a meta key like what left-alt key do :( I
> viewed the keymap files and find out:
>
> Keycode 56 = Alt
> Keycode 100 = AltGr
>
> What's the meaning of "AltGr"??
AltGr is used to write characters that might not otherwise be
accessible on the keyboard -- you hold AltGr down and press another
key. Here some examples that work on my keyboard:
AltGr e = €
AltGr r = ®
AltGr c = ©
AltGr d = ð
But exactly what you get by using AltGr (if anything) probably depends
on you locale settings.
> Why map right-alt to AltGr?
On many (European) keyboards the right Alt key is labeled as AltGr.
> How can I configure right-alt do the same work as the left-alt do?
> change keymap or change inputrc??
If you never need AltGr I suppose it's easiest just to map the right
Alt key to Alt rather than AltGr.