Subject: Re: An old unix Issue the Delete key how do you fix it
To: None <netbsd-help@NetBSD.org>
From: James K. Lowden <jklowden@schemamania.org>
List: netbsd-help
Date: 05/06/2007 13:57:33
Valeriy E. Ushakov wrote:
> > > Extra credit for explaining how to get the Compose key working in X
> > > in less than 30 minutes.
> >=20
> > I can't test it at the moment, but make sure your compose key is
> > Multi_key. E.g. add to the keyboard InputDevice section something
> > like:
> >=20
> > Option "XkbModel" "pc105compose"
> >=20
> > to make right windows key Multi_key. Your locale should be set
> > correctly too (i.e. only the compose sequences that result in the
> > chars from the locale charset will work). See xc/nls/Compose for
> > details.
>=20
> I've just did some testing and the easiest way is to add one of:
>=20
> Option "XkbOptions" "compose:ralt"
> #Option "XkbOptions" "compose:rwin"
> #Option "XkbOptions" "compose:menu"
>=20
> to make the corresponding key Multi_key.
Valeriy,=20
Thanks, I appreciate your effort. I'm not sure how to describe concisely
the setup I'm using, except to say it's a stock OS X Powerbook. The only
X modification I make is that I have this file:
$ cat ~/.Xmodmap=20
keycode 84 =3D Multi_key
Being too lazy to figure out OS X's X startup -- this file doesn't take
effect even though the start up file suggests it should:
$ grep Xmodmap /etc/X11/xinit/xinitrc=20
usermodmap=3D$HOME/.Xmodmap
sysmodmap=3D/etc/X11/xinit/.Xmodmap
so I just do:
$ xmodmap ~/.Xmodmap=20
whenever I need to type Swedish characters like '=C5'.=20
I realize I'm OT on a NetBSD list. I just wanted to show you I'm using a
different keyboard and another technique to get a working Compose key.=20
What I really want to ask is, am I DTRT, or am I abusing xmodmap somehow?=20
This thread began with getting a destructive backspace to work. As you
can see, I'm *still* confused by the layers between the keyboard and the
application. :-/
Regards,=20
--jkl