Re: DECstation keyboard mappings and XFree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 10 Feb 2002, Karsten Merker wrote:

> I have modified the keycode remapping table in drivers/tc/lk201-remap.c
> to deliver PC compatible keycodes. Aim of this modification is easier
> use of XFree86 on DECstations (with the standard PC-keyboard map) and
> the possibility to use existing loadable national keymaps for i386.
> In theory, this should work, in practice, it does not :-(.

 Hmm, why do you need (sh*tty) PC-compatible keycodes for a keaboard that
barely resembles a PC keyboard?  AFAIK, XFree86 has appropriate LK201
keymaps -- see "/usr/X11R6/lib/X11/xkb/*/digital/*". 

 Just set up your "Keyboard" section of XF86Config correctly.  E.g.
(completely untested):

Section "Keyboard"
  XkbKeycodes "digital/lk(lk201)"
  XkbSymbols "digital/us(us)"
  XkbGeometry "digital/lk(lk201)"
EndSection

It might be nice to add these values to Xkb rules somewhere
("/usr/X11R6/lib/X11/xkb/rules/digital"?) one day, so you don't need to
specify components separately for default values, but I'm not sure our
XFree86 support is stable enough to consider it now. 

  Maciej

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux