Re: emacs, X, and Alt key--SOLVED!
On Wed, 21 Jan 1998, Daniel Martin at cush wrote:
> Mark Phillips <mark@ist.flinders.edu.au> 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
This worked!
Thanks for your help, all of you.
Mark.
__________________________________________________________________________
_\________/___\______/___________________________Mark_Phillips___________/
____\__/_____\__/--\__/__________________________mark@ist.flinders.edu.au/
____\__/HE___\__/------APTAIN/ ________________________________
____\__/_____\__/--\__/______/ /__"To be is to do."__I. Kant___/
____\__/______\______/_______/ /__"To do is to be."__A. Sartre_/
/__"I am."____________God_______/
/__Jesus did.___________________/
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org .
Trouble? e-mail to templin@bucknell.edu .
Reply to: