home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / linux / 16278 < prev    next >
Encoding:
Text File  |  1992-11-10  |  3.1 KB  |  96 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!mcsun!Germany.EU.net!rrz.uni-koeln.de!unidui!math.fu-berlin.de!informatik.tu-muenchen.de!LRZnews!hfaester
  3. From: hfaester@Physik.TU-Muenchen.DE (Hannes Faestermann)
  4. Subject: Re: German Keyboard in xterm
  5. Message-ID: <hfaester.721429816@Physik.TU-Muenchen.DE>
  6. Sender: news@news.lrz-muenchen.de (Mr. News)
  7. Organization: Leibniz-Rechenzentrum, Muenchen (Germany)
  8. References: <1992Nov10.105932.25763@rz.uni-karlsruhe.de>
  9. Date: Tue, 10 Nov 1992 21:10:16 GMT
  10. Lines: 84
  11.  
  12. IFK_USER@ifk20.mach.uni-karlsruhe.de (Institut fuer Foerdertechnik) writes:
  13.  
  14. >Hi everybody,
  15. >Yesterday I made X11 running on my OAK-Video-Card. :-)
  16. >The problem is that in the xterms my Keyboard behaves like an american!
  17. >I do have Linux 0.98pl3 with German-Keyboard settings and no problems with 
  18. >the ttyp-display. So what's the reason for the american-display in X11.
  19. >Do I have to change some configs?
  20.  
  21. ReHi,
  22.  
  23. as X uses another model for getting the values for the keys it is not
  24. enough to compile the kernel for a German keyboard.
  25. After trying some time (including compiling and using xkeycaps - a nice
  26. tool to fiddle around with the keyboard settings, available from 
  27. export.lcs.mit.edu:/contrib) we finally got a working modifier map
  28. for X with a German keyboard. As it consists of only 54 lines I include
  29. it here. Put in in a file and load it with 'xmodmap <file>'
  30.  
  31. I hope this helps
  32.  
  33.     Hannes
  34.  
  35. ---- Cut here for XKeybGR ----
  36. keycode 0x31 =    asciicircum    degree
  37. keycode 0x0B =    2        quotedbl
  38. keycode 0x0C =    3        numbersign
  39. keycode 0x0F =    6        ampersand
  40. keycode 0x10 =    7        slash        braceleft
  41. keycode 0x11 =    8        parenleft    bracketleft
  42. keycode 0x12 =    9        parenright    bracketright
  43. keycode 0x13 =    0        equal        braceright
  44. keycode 0x14 =    ssharp        question    backslash
  45. keycode 0x15 =    apostrophe    grave
  46. keycode 0x18 =    q        Q        at
  47. keycode 0x1D =    Z
  48. keycode 0x22 =    Udiaeresis
  49. keycode 0x23 =    plus        asterisk    asciitilde
  50. keycode 0x4F =    Home        KP_7        KP_7        Home
  51. keycode 0x50 =    Up        KP_8        KP_8        Up
  52. keycode 0x51 =    Prior        KP_9        KP_9        Prior
  53. keycode 0x56 =    KP_Add
  54. keycode 0x2F =    Odiaeresis
  55. keycode 0x30 =    Adiaeresis
  56. keycode 0x33 =    numbersign    bar
  57. keycode 0x53 =    Left        KP_4        KP_4        Left
  58. keycode 0x54 =    Begin        KP_5        KP_5        Begin
  59. keycode 0x55 =    Right        KP_6        KP_6        Right
  60. keycode 0x5E =    less        greater        bar
  61. keycode 0x34 =    Y
  62. keycode 0x3A =    m        M        mu
  63. keycode 0x3B =    comma        semicolon
  64. keycode 0x3C =    period        colon
  65. keycode 0x3D =    minus        underscore
  66. keycode 0x57 =    End        KP_1        KP_1        End
  67. keycode 0x58 =    Down        KP_2        KP_2        Down
  68. keycode 0x59 =    Next        KP_3        KP_3        Next
  69. keycode 0x40 =    Alt_L        Meta_L
  70. keycode 0x71 =    Mode_switch
  71. keycode 0x5A =    Insert        KP_0        KP_0        Insert
  72. keycode 0x5B =    Delete        KP_Decimal    KP_Decimal    Delete
  73.  
  74.  
  75. clear Shift
  76. clear Lock
  77. clear Control
  78. clear Mod1
  79. clear Mod2
  80. clear Mod3
  81. clear Mod4
  82. clear Mod5
  83.  
  84. add    Shift   = Shift_L Shift_R
  85. add    Lock    = Caps_Lock
  86. add    Control = Control_L Control_R
  87. add    Mod1    = Meta_L Meta_R
  88. add    Mod2    = Mode_switch
  89. add    Mod3    = Scroll_Lock
  90. ---- End of XKeybGR ----
  91. --
  92. Hannes Faestermann           |  Internet: 
  93. Physik-Department E17        |   Hannes.Faestermann@Physik.TU-Muenchen.DE
  94. TU Muenchen,                 |  
  95. 8046 Garching, West Germany  |
  96.