home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / windows / x / 20810 < prev    next >
Encoding:
Text File  |  1993-01-06  |  3.5 KB  |  96 lines

  1. Newsgroups: comp.windows.x
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!usenet.coe.montana.edu!news.u.washington.edu!ns1.nodak.edu!isc.cs.ndsu.nodak.edu!grosen
  3. From: grosen@isc.cs.ndsu.nodak.edu (Johannes Grosen)
  4. Subject: SUMMARY: which key(s) are Meta?
  5. Sender: usenet@ns1.nodak.edu (News login)
  6. Message-ID: <C0Furs.III@ns1.nodak.edu>
  7. Date: Wed, 6 Jan 1993 15:23:52 GMT
  8. Distribution: usa
  9. Nntp-Posting-Host: isc.cs.ndsu.nodak.edu
  10. Organization: Intelligent Systems Cluster
  11. Lines: 83
  12.  
  13. I recently posted a question regarding how to determine which key(s)
  14. were my 'Meta' keys for a given X setup. I got three responses which
  15. are summarized below:
  16.  
  17. Thanks!
  18.  
  19. > From matt@centerline.com Tue Jan  5 18:11:32 1993
  20. > There's no such thing as a "meta" key in X11 -- i.e., the X11 protocol
  21. > does not define any modifier named "Meta".  Most applications choose 
  22. > to use the "Mod1" modifier for their "meta"-functions.  Using xmodmap
  23. > should tell you which key(s) apply the Mod1 modifier.
  24. > From cana!inference.com!jaf Wed Jan  6 02:01:51 1993
  25. > When I run xmodmap on my machine (SPARCstation 1+, SunOS 4.1.2, X11R5
  26. > PL18), I get:
  27. >     cana[166]% xmodmap -pm
  28. >     xmodmap:  up to 3 keys per modifier, (keycodes in parentheses):
  29. >     
  30. >     shift       Shift_L (0x6a),  Shift_R (0x75)
  31. >     lock        Caps_Lock (0x7e)
  32. >     control     Control_L (0x53)
  33. >     mod1        Meta_L (0x7f),  Meta_R (0x81)
  34. >     mod2        Num_Lock (0x69)
  35. >     mod3        F13 (0x20),  F18 (0x50),  F20 (0x68)
  36. >     mod4      
  37. >     mod5      
  38. >     
  39. > I believe "mod1" is considered the META modifier by the X11R5
  40. > applications I run.
  41. > If you happen to have access to a copy, in "X Window System User's
  42. > Guide," Chapter 12 is titled "Setup Clients" and has a whole section on
  43. > setting up the keyboard.
  44. > I hope this helps.  Good luck.
  45. > From se33!jct@se01.wg2.waii.com Wed Jan  6 06:56:17 1993
  46. > Run xmodmap with the -pm option:
  47. >     [1]--> xmodmap -pm
  48. >     xmodmap:  up to 3 keys per modifier, (keycodes in parentheses):
  49. >     shift       Shift_L (0x6a),  Shift_R (0x75)
  50. >     lock        Caps_Lock (0x7e)
  51. >     control     Control_L (0x53)
  52. >     mod1        Meta_L (0x7f),  Meta_R (0x81)
  53. >     mod2        Num_Lock (0x69)
  54. >     mod3        F13 (0x20),  F18 (0x50),  F20 (0x68)
  55. >     mod4      
  56. >     mod5      
  57. > The line tagged "mod1" is your meta key.  The right half of that line
  58. > lists the keysyms (the names) of the meta key(s); to find out which key
  59. > on your keyboard corresponds to that keysym name, run xev, place your
  60. > pointer in its window, and tap keys on the keyboard until you find the
  61. > key whose keysym matches those listed by xmodmap.  The keysym is listed
  62. > in the KeyPress and KeyRelease events for each key:
  63. >     KeyRelease event, serial 15, synthetic NO, window 0x2800001,
  64. >     root 0x2a, subw 0x0, time 473301046, (94,148), root:(993,233),
  65. >     state 0x8, keycode 129 (keysym 0xffe8, Meta_R), same_screen YES,
  66. >     XLookupString gives 0 characters:  ""
  67. > I'm running a sun 4, SunOS 4.1.2, and X11R5; if your machine or
  68. > configuration is different, you may get slightly different results, but
  69. > basically it should be the same.
  70. > Jim
  71. > --
  72. >      _     Jim Thompson           |  Western Geophysical               __
  73. >    _| ~-   thompson@wg2.waii.com  |  Exploration Products             /\_\
  74. >    \,  _}  jimt@sugar.neosoft.com |  3600 Briarpark                   \/_/
  75. >      \(    (713) 964-6213         |  Houston, TX 77042
  76. -- 
  77. Johannes Grosen
  78. ISC System Administrator
  79. grosen@isc.cs.ndsu.NoDak.edu
  80.