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 15:56:43 -0500
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".
There is really no hard-and-fast rule to say that Meta means Command,
unless I can find Apple keyboard with a key actually labelled "Meta".
--
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