home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / mail / mh / 962 < prev    next >
Encoding:
Text File  |  1992-07-23  |  1.7 KB  |  47 lines

  1. Newsgroups: comp.mail.mh
  2. Path: sparky!uunet!mcsun!sunic!ericom!eos.ericsson.se!etxmesa
  3. From: etxmesa@eos.ericsson.se (Michael Salmon)
  4. Subject: Re: Alt-I in xmh (was: Help wanted )
  5. Message-ID: <1992Jul23.140542.9371@ericsson.se>
  6. Sender: news@ericsson.se
  7. Nntp-Posting-Host: eos6c02.ericsson.se
  8. Reply-To: etxmesa@eos.ericsson.se (Michael Salmon)
  9. Organization: Ericsson Telecom AB
  10. References: <nkbu04s@fido.asd.sgi.com> <9207230818.AA01172@estsa2.estec.esa.nl>
  11. Date: Thu, 23 Jul 1992 14:05:42 GMT
  12. Lines: 33
  13.  
  14. In article <9207230818.AA01172@estsa2.estec.esa.nl>, ffavata@ESTSA2.ESTEC.ESA.NL writes:
  15. |> 
  16. |>     Trivial question: how do we poor fellows without an alt key on
  17. |> the keyboard (take a DECstation, for example) generate Alt-I? Emacs is
  18. |> haapy with ESC-I, but xmh apparently not!
  19.  
  20. It isn't Alt-i, it is Meta-i or more precisely mod1-i. Use xmodmap -pm
  21. to get a list of your modifiers. If indeed you don't have the ability
  22. to generate M-i then you can redefine the translations for the text
  23. widget in your xdefaults, here is an example of how it is done:
  24.  
  25. *Text.translations: #override \
  26.         <Key>L10:               kill-selection()\n\
  27.         <Key>L9:                search(forward) next-page()\n\
  28.         <Key>L8:                insert-selection(CUT_BUFFER1,PRIMARY)\n\
  29.         <Key>R9:                previous-page()\n\
  30.         <Key>R15:               next-page()\n\
  31.         <Key>R7:                beginning-of-file()\n\
  32.         <Key>R13:               end-of-file()\n
  33.  
  34. These are translations for a sun4 keyboard. In your case you should use
  35. an action of insert-file()
  36.  
  37. -- 
  38.  
  39. Michael Salmon
  40.  
  41. #include    <standard.disclaimer>
  42. #include    <witty.saying>
  43. #include    <fancy.pseudo.graphics>
  44.  
  45. Ericsson Telecom AB
  46. Stockholm
  47.