home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / sun / admin / 10586 < prev    next >
Encoding:
Text File  |  1993-01-21  |  1.9 KB  |  58 lines

  1. Xref: sparky comp.sys.sun.admin:10586 comp.sys.sun.apps:3030
  2. Path: sparky!uunet!spool.mu.edu!enterpoop.mit.edu!eru.mt.luth.se!lunic!sunic!ericom!eos.ericsson.se!etxmesa
  3. From: etxmesa@eos.ericsson.se (Michael Salmon)
  4. Newsgroups: comp.sys.sun.admin,comp.sys.sun.apps
  5. Subject: Re: Keycode Assignments for use by xmodmap
  6. Message-ID: <1993Jan21.122935.11121@ericsson.se>
  7. Date: 21 Jan 93 12:29:35 GMT
  8. References: <C17Dr6.2G4@hermes.hrz.uni-bielefeld.de>
  9. Sender: news@ericsson.se
  10. Reply-To: etxmesa@eos.ericsson.se (Michael Salmon)
  11. Organization: Ericsson Telecom AB
  12. Lines: 43
  13. Nntp-Posting-Host: eos6c02.ericsson.se
  14.  
  15. In article <C17Dr6.2G4@hermes.hrz.uni-bielefeld.de>, marvo@asl.uni-bielefeld.de (Markus Vogt) writes:
  16. |> Hello,
  17. |> 
  18. |> I have problems in setting up the Sun Type5 keyboard attached to a
  19. |> SPARCstation 10 correctly.
  20. |> 
  21. |> On the console screen (right after the login process) I can use 
  22. |> the grey cursor keys, but when I start XWindows, XWindows seems 
  23. |> to change the keycode assignments.  These keycodes differ from the 
  24. |> codes I found in the 'Sun Type5 Keyboard Product Notes', which 
  25. |> came along with the SPARCstation 10 package.
  26. |> 
  27. |> I won't be able to use the grey cursor keys unless I modify the keymap 
  28. |> using 'xmodmap'.  The file I feed to xmodmap contains the following lines:
  29. |> 
  30. |>   keycode 27 = Up
  31. |>   keycode 31 = Left
  32. |>   keycode 34 = Down
  33. |>   keycode 35 = Right
  34. |> 
  35. |> 
  36. |> Is there a way to have a global keycode assignment instead of having 
  37. |> each user include the xmodmap command with his '.xinitrc' file?
  38. |> Or could I prevent XWindows from changing keycode assignments?
  39. |> 
  40. |> I would appreciate any help,
  41. |> 
  42. |> Markus
  43.  
  44. There is a patch to support Type 5 keyboards, it is in
  45. sunkbd.921216.tar.Z and available from germany.eu.net amongst other
  46. sites. It also gives you a compose key.
  47.  
  48. -- 
  49.  
  50. Michael Salmon
  51.  
  52. #include    <standard.disclaimer>
  53. #include    <witty.saying>
  54. #include    <fancy.pseudo.graphics>
  55.  
  56. Ericsson Telecom AB
  57. Stockholm
  58.