Re: emacs, X, and Alt key--SOLVED!
On Wed, 21 Jan 1998, Daniel Martin at cush wrote:
> Mark Phillips <email@example.com> writes:
> > I, like Thomas Vaughan, have been having problems getting emacs to
> > recognise the Alt key under X. (The system is a Toshiba laptop.)
> The `problem' is that the Alt keys aren't acting as the Meta keys -
> instead, your X is configured to have the Windows-Logo keys act as
> Meta. XFree86 does this if you tell it that you have a 104-key
> keyboard (the keyboards without these amusing keys are 101-key
> keyboards). Based on earlier correspondence with the original person
> who posted this problem, I think that XFree86 may now default to
> 104-key keyboard behavior unless you tell it otherwise.
The laptop doesn't have meta keys or windows-logo keys.
> Anyway, there are two ways to fix this:
> 1) Tell XFree86 that you have a 101-key keyboard.
> XkbModel "pc101"
I did this, restarted X, and it didn't fix the problem.
> 2) Just force the Alt keys to act as Meta
> Add the following lines to the end of your /etc/X11/Xmodmap:
> keycode 64 = Alt_L Meta_L
> keycode 113 = Alt_R Meta_R
Thanks for your help, all of you.
____\__/_____\__/--\__/______/ /__"To be is to do."__I. Kant___/
____\__/______\______/_______/ /__"To do is to be."__A. Sartre_/
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
Trouble? e-mail to firstname.lastname@example.org .