Subject: Re: An old unix Issue the Delete key how do you fix it
To: None <netbsd-help@NetBSD.org>
From: Valeriy E. Ushakov <uwe@stderr.spb.ru>
List: netbsd-help
Date: 05/08/2007 16:15:33
[Replying off-list]

In article <20070506135733.26860d53.jklowden@schemamania.org> you wrote:

> Valeriy E. Ushakov wrote:
> > > > Extra credit for explaining how to get the Compose key working in X
> > > > in less than 30 minutes.
> > > 
> > > 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:
> > > 
> > >         Option "XkbModel" "pc105compose"
> > > 
> > > 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.
> > 
> > I've just did some testing and the easiest way is to add one of:
> > 
> >     Option "XkbOptions" "compose:ralt"
> >     #Option "XkbOptions" "compose:rwin"
> >     #Option "XkbOptions" "compose:menu"
> > 
> > to make the corresponding key Multi_key.
> 
> Valeriy, 
> 
> 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 
> keycode 84 = 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 
> usermodmap=$HOME/.Xmodmap
> sysmodmap=/etc/X11/xinit/.Xmodmap
> 
> so I just do:
> 
> $ xmodmap ~/.Xmodmap 
> 
> whenever I need to type Swedish characters like '?'. 
> 
> 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. 
> What I really want to ask is, am I DTRT, or am I abusing xmodmap somehow? 

I don't think Mac X11 uses startx.  man Xquarz lists an option to
specify the keymap, that might help.  I don't use my mini under MacOS
X much, so I'm not really familiar with the details.


SY, Uwe
-- 
uwe@stderr.spb.ru                       |       Zu Grunde kommen
http://snark.ptc.spbu.ru/~uwe/          |       Ist zu Grunde gehen