[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Alt vs Meta key in Emacs



On Mon, Nov 25, 2002 at 09:28:25 -0800, Joe Riel wrote:
> I currently would like to have the <alt-L> and <alt-R> keys 
> act as <meta> keys in emacs

These keys should be the mod1 modifiers. The modifiers are given by
"xmodmap -pme". You can set them with:

keycode xxx = Alt_L
keycode yyy = Alt_R
clear mod1
add mod1 = Alt_L Alt_R

where xxx and yyy are the keycodes of the keys (given by xev).

Note that with some configuration of xterm, you must have Meta_L
instead of Alt_L.

-- 
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/> - 100%
validated (X)HTML - Acorn Risc PC, Yellow Pig 17, Championnat International
des Jeux Mathématiques et Logiques, TETRHEX, etc.
Work: CR INRIA - computer arithmetic / SPACES project at LORIA



Reply to: