From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Jesper Harder Newsgroups: gmane.emacs.help Subject: Re: Keymaps and Emacs and libreadline ? Date: Tue, 19 Aug 2003 15:04:06 +0200 Organization: http://purl.org/harder/ Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1061309688 24428 80.91.224.253 (19 Aug 2003 16:14:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 19 Aug 2003 16:14:48 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Aug 19 18:14:47 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19p98A-0002rZ-00 for ; Tue, 19 Aug 2003 18:14:46 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19p6Ks-00017A-Vq for geh-help-gnu-emacs@m.gmane.org; Tue, 19 Aug 2003 09:15:42 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!elnk-nf2-pas!newsfeed.earthlink.net!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!colt.net!news.tele.dk!not-for-mail Original-Newsgroups: gnu.emacs.help X-Face: ^RrvqCr7c,P$zTR:QED"@h9+BTm-"fjZJJ-3=OU7.)i/K]<.J88}s>'Z_$r; List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:11922 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:11922 "It's me FKtPp ;)" 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.