unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* newbie- meta key mapping
@ 2005-01-23  7:04 toto
  2005-01-23  8:24 ` Neon Absentius
  0 siblings, 1 reply; 2+ messages in thread
From: toto @ 2005-01-23  7:04 UTC (permalink / raw)


Hello, world!

I would be very happy if you could help me, i'm a bit lost in all the
doc i've read.
I'm using emacs with the keyborad-coding-system and the
terminal-coding-system in mode latin 1.
So, the alt key is used to produce non-ASCII characters. I have now to
use the ESC key for the meta key.
I have on my keyboard a WIN key that is not used.  Could I use it in
the functino of the META key? How to do that?

Thanks a lot for your help

A.J

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: newbie- meta key mapping
  2005-01-23  7:04 newbie- meta key mapping toto
@ 2005-01-23  8:24 ` Neon Absentius
  0 siblings, 0 replies; 2+ messages in thread
From: Neon Absentius @ 2005-01-23  8:24 UTC (permalink / raw)


On Sun, Jan 23, 2005 at 08:04:13AM +0100, toto wrote:
> Hello, world!
> 
> I would be very happy if you could help me, i'm a bit lost in all the
> doc i've read.
> I'm using emacs with the keyborad-coding-system and the
> terminal-coding-system in mode latin 1.
> So, the alt key is used to produce non-ASCII characters. I have now to
> use the ESC key for the meta key.
> I have on my keyboard a WIN key that is not used.  Could I use it in
> the functino of the META key? How to do that?
> 

If you are using GNU/Linux (and probably any other unix-like OS) you
can do that by using the xmodmap program to map win to meta. I have
done that in my pc104 keyboard, since I use the Alt key for bindings
for my window manager.

If you are not very fammiliar with the xmodmap syntax there is a
program xkeycaps that is a nice graphical interface to xmodmap.
You can get it here http://www.jwz.org/xkeycaps/

The relevant lines in my .Xmodmap seem to be

    keycode 0x73 =	   Meta_L
    keycode 0x40 =	   Alt_L
    keycode 0x71 =	   Alt_R
    keycode 0x74 =	   Meta_R
    keycode 0x75 =	   Menu
    
    clear Mod1
    clear Mod4

    add    Mod1    = Alt_L Alt_R
    add    Mod4    = Meta_L Meta_R

HTH

> Thanks a lot for your help
> 
> A.J
> 

-- 
Charity in capitalism is like urinating to extinguish a forest fire.
    -- Neon Absentius
absent a.in.cirle sdf period lonestar period org
SDF Public Access UNIX System - http://sdf.lonestar.org

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-01-23  8:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-23  7:04 newbie- meta key mapping toto
2005-01-23  8:24 ` Neon Absentius

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).