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: Brandon S Allbery KF8NH <email@hidden>
- Date: Fri, 31 Dec 2010 17:39:19 -0500
- Openpgp: id=2B0BDB95
- Organization: Carnegie Mellon University, Electrical & Computer Engineering, Computing Facilities
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
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.)
- --
brandon s. allbery [linux,solaris,freebsd,perl] email@hidden
system administrator [openafs,heimdal,too many hats] email@hidden
electrical and computer engineering, carnegie mellon university KF8NH
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk0eW2gACgkQIn7hlCsL25VJJQCfXxIoxX/UAHBFtJpJLBihJ5eQ
EmkAoKNrncOCBVUL+7JOlqE2eXiJhe1A
=N4Sk
-----END PGP SIGNATURE-----
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden