Re: xmodmap, readline, and ye olde meta key
Re: xmodmap, readline, and ye olde meta key
- Subject: Re: xmodmap, readline, and ye olde meta key
- From: Ambrose LI <email@hidden>
- Date: Fri, 31 Dec 2010 18:02:47 -0500
2010/12/31 Brandon S Allbery KF8NH <email@hidden>:
>
> On 12/31/10 15:56 , Ambrose LI wrote:
>> 2010/12/31 Jeremy Huddleston <email@hidden>:
>>>
>>> On Dec 31, 2010, at 04:34, Richard Cobbe wrote:
>> [stuff deleted]
>>>> If by "alt" you mean "command", then this works right out of the box (but
>>>> see below). If by "alt" you mean "option", then additional effort is
>>>> necessary. I don't know that I agree with Jeremy that .inputrc is the
>>>> right place to do this
>>>
>>> Because that's exactly the place as defined by readline(3)'s INITIALIZATION FILE section. From radline(3):
>>>
>>> forward-word (M-f)
>>> Move forward to the end of the next word. Words are composed of alphanumeric characters (let-
>>> ters and digits).
>>> backward-word (M-b)
>>> Move back to the start of the current or previous word. Words are composed of alphanumeric
>>> characters (letters and digits).
>>
>> No, that is not what it says. It says "Meta", which the Mac keyboard
>> does *not* have (nor does the PC keyboard). In terms of functionality
>> mapping, certainly bash treats it as a control key which would imply
>> that it should be mapped to Command, but before that "Meta" was
>> traditionally used to get alternate characters and so it ought to be
>> "Option".
>
> Ambrose, you're confusing this with the old meta-vs.-ISO8859/1 issue, which
> died with Unicode. And in any case, Alt has always been the "alternate
> character set" key in every environment I've used that had multiple
> shift-type keys. (I'm specifically thinking of Solaris here, but it also
> applies to Linux and OSX in my experience. Generic PC keyboards are more
> difficult, as the Windows key has been co-opted for meta in PC-based Linux
> but in Windows and with 101-key keyboards Alt has to serve double duty.)
I can't see how this is a meta-vs-ISO8859-1 issue. It was because in
old text-type terminals, this (setting the 8th bit) was just how the
Meta key used to work. In the old days ISO8859-1 was not even the
standard.
I would personally agree that Alt *ought* to be an alternate character
set key. Except that it was not in DOS, nor in Windows.
--
cheers,
-ambrose
please visit my web site at http://littlepotato.webfreehosting.net/ |
does anyone know how to fix Snow Leopard? it broke input method
switching and is causing many typing mistakes so it is very annoying
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden
References: | |
| >xmodmap, readline, and ye olde meta key (From: "James K. Lowden" <email@hidden>) |
| >Re: xmodmap, readline, and ye olde meta key (From: Richard Cobbe <email@hidden>) |
| >Re: xmodmap, readline, and ye olde meta key (From: Jeremy Huddleston <email@hidden>) |
| >Re: xmodmap, readline, and ye olde meta key (From: Ambrose LI <email@hidden>) |
| >Re: xmodmap, readline, and ye olde meta key (From: Brandon S Allbery KF8NH <email@hidden>) |