home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / emacs / 2828 < prev    next >
Encoding:
Text File  |  1992-08-12  |  2.5 KB  |  62 lines

  1. Path: sparky!uunet!vnet.ibm.com
  2. From: mickeyf@vnet.ibm.com (Mickey Ferguson)
  3. Message-ID: <19920812.102753.907@almaden.ibm.com>
  4. Date: Wed, 12 Aug 92 10:24:41 PDT
  5. Newsgroups: comp.emacs
  6. Subject: Re: Using meta key on Sun Sparc
  7. Organization: Rolm
  8. Disclaimer: This note represents my views, not those of Rolm or IBM
  9. News-Software: UReply 3.0
  10. References: <19920811.161755.494@almaden.ibm.com>
  11. Lines: 49
  12.  
  13. In <19920811.161755.494@almaden.ibm.com> I wrote:
  14. >I've compiled emacs 18.57 to run on our Sun SparcIPX, and everything seems
  15. >to work, with only one exception.  There is no recognition of any of the
  16. >special Alt and 'diamond' keys down at the bottom.  I was expecting to be
  17. >able to use 'diamond' and any key to produce the Meta-<key> sequence, just
  18. >like Esc-<key> would produce, but it doesn't seem to do anything.  Any
  19. >ideas what I can do to get this to work?  By the way, we are running Open
  20. >Look, but I'm just running emacs as an executable under cmdtool, not with
  21. >any of the fancy emacstool stuff.  Thanks for any help.
  22.  
  23. Here are some of the responses I have received:
  24.  
  25. From: mta@cs.tut.fi (J{rvinen Markku), Terry_Glanfield.Southern@rxuk.xerox.com,
  26.       stortek!Aaron_Dailey@csn.org (Aaron Dailey):
  27.  
  28. > The meta key won't work in a shelltool or a cmdtool.  It is a Sun bug,
  29. > not an emacs bug.  You'd do better to either run in an xterm or build
  30. > the X windows version (#define HAVE_X_WINDOWS or something like that).
  31.  
  32. It seems the ultimate solution is to run in xterm instead of cmdtool.  I tried
  33. it, and it doesn't look very good.  I'm hoping we can find something that runs
  34. under cmdtool.  Is there a fix for this supposed Sun bug?
  35.  
  36. From: kenb@dadd.ti.com (Ken Butler):
  37.  
  38. > This function makes the arrow keys on the Sun keypad work.  Put it in your
  39. > ~/.emacs.  My problems with the meta key were associated with the termcap
  40. > entry I was using (xterm, sun-cmd, etc), and whether or not it thinks the
  41. > keyboard has a meta key.
  42. >
  43. > (defvar sun-esc-bracket t)
  44.  
  45. This did nothing for me.  The termcap entry says sun-cmd, and I can't change
  46. to x-windows.  SunView is what everyone here is using, and many of our tools
  47. are designed specifically for it.
  48.  
  49. From: Scott Brim <swb@nr-tech.cit.cornell.edu>
  50.  
  51. > Good old Openwin.  Drop this in your .xinitrc (and do it now for
  52. > testing):
  53. >
  54. >    xmodmap -e 'add mod1 = Meta_L Meta_R'
  55.  
  56. I saw no difference after doing this.
  57.  
  58. Well, thanks to everyone so far for their responses, but it looks like I'll
  59. have to live without it.  It's not a major problem, but a minor annoyance.
  60.  
  61. Mickey Ferguson -- Rolm -- FergusoM at scrvm2 -- mickeyf@vnet.ibm.com
  62.