MathGroup Archive 1998

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Linux: couldn't reach []{} with latin2 keyboard layout

Davor Cengija <dcengija at> schrieb:
> Peter Breitfeld wrote:
> > 
> > Davor Cengija <dcengija at> schrieb/wrote:
> > > I'm using Mathematica 3 on RH5.1 (2.0.35)
> > >
> > > Is there a way to make Mathematica to use latin2 keyboard layout?
> > 
> > I think you should edit the file located
> Yes, I found that tip on Wolfram's web page. But, the problem is that
> Mathematica doesn't understand AltGr key. Wolfram's programmers know
> for this problem and trying to solve it.
I think you should have something like 
add Mod2 = Mode_switch
in your .Xmodmap, to make the system know about AltGr

> I didn't edit that file you mentioned above, but i mapped the offended
> keys on unused keys on my win95 keyboard using xmodmap (much less  to
> edit, works system wide)
> > 
> > Do this for all Keys you need.
> > I'm using Linux too, and I have to start Mathematica with the option
> > "-pureKeys" to make this work properly.
> > 
> -pureKeys doesn't have any effect

If I ommit this option I can't neither reach the umlauts nor the {[]}\

> I have another problem: can't reach croatian language specific
> characters (such as S with litle v above, equivalent to Sch, etc). you
> can use german language specifics (such as Aumlaut, Oumlaut etc)?
For the umlauts I have in my .Xmodmap eg
keycode 0x14 = ssharp

For your characters you first have to check if they can be displayed, eg
/usr/X11R6/lib/X11/locale/iso8859-2/Compose  This is a listing of all
the chars you can build using the compose-key, which has to be defined
as Multi_key in your .Xmodmap. There I found eg:
<Multi_key> <S> <less>                  : "\251"        Scaron

I use on my W95-Keybord the folling settings for the last row of the

keycode 0x25 =  Control_L
keycode 0x40 =  Alt_L           Meta_L keycode 0x74 =  Alt_L          
Meta_L keycode 0x41 =  space
keycode 0x71 =  Mode_switch
keycode 0x73 =  Mode_switch
keycode 0x75 =  Multi_key
keycode 0x6D =  Control_R

This results in the keybindings

Control, AltGR, Alt, Space, AltGR, Alt, Compose, Control

es gruesst

  P e t e r  B r e i t f e l d              eMail: phbrf at
  Kreuzgasse 4, 88348 Saulgau, Germany      PGP public key: 08548045

  • Prev by Date: Re: using Upset for defining positive real values (Re: Can I get ComplexExpand to really work?)
  • Next by Date: Re: Pb with finding a residue
  • Previous by thread: Re: Linux: couldn't reach []{} with latin2 keyboard layout
  • Next by thread: Re: Too Tiny Fonts! in fractions, summations, etc.