List Info

Thread: keyboard map for alt key?




keyboard map for alt key?
user name
2006-08-08 17:00:20
I'm proud to say that I have NetBSD up and running on my
quadra 840av. It's 
really beautiful! X works, although only in B&W. But
hey, at least it runs 
without any trouble. I also have some of my favorite
packages installed 
thanks to pkgsrc and Greg Oster. 

One of the packages I installed is emacs, with the intended
purpose that 
I'll be using it to do some coding. As you may know, emacs
makes extensive 
use of the control and meta (alt/option) keys. Unfortunately
my mac's alt 
key doesn't seem to work in NetBSD. I've done some digging
around, and found 
that the tool one would normally use to change keymappings,
wsconsctl, 
doesn't work. It complains that /dev/wskbd doesn't exist.
I'm thinking I 
remember that the kernel uses /dev/adb0 or something like
that for the 
keyboard, so I can't say I'm too suprised. 

Getting back to X for a moment, I recall that I used to do
ctrl-alt-delete 
to exit X sessions. Obviously this doesn't work for me. I
don't remember any 
other way to exit X so for now I'm unable to use X. 

This leads me to the question, do any of you know how to get
the apple key 
or option key on my mac extneded keyboard to work as the
meta key in emacs? 
I've seen some tips that the keymap is compiled into the
kernel. I hope I 
don't have to compile a new kernel just to get a keyboard
key to work; I 
think my poor 840av would cry if I asked it to compile that
much. 

Thanks,
Jeff

keyboard map for alt key?
user name
2006-09-03 19:22:01
At 13:00 Uhr -0400 8.8.2006, Jeffrey Loren Shaw wrote:

[This is quite old, but there has been no public answer, at
least.]

>Getting back to X for a moment, I recall that I used to
do ctrl-alt-delete
>to exit X sessions. Obviously this doesn't work for me.
I don't remember any
>other way to exit X so for now I'm unable to use X.
>
>This leads me to the question, do any of you know how to
get the apple key
>or option key on my mac extneded keyboard to work as the
meta key in emacs?
>I've seen some tips that the keymap is compiled into
the kernel.

X11 does its own keyboard mapping; please see xev(1) and
xmodmap(1).

There is an Xmodmap for a German keyboard layout floating
around since
1997, from which you could copycat the alt & cmd
mappings.

HTH,
	hauke

--
"It's never straight up and down"     (DEVO)


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )