home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / emacs / 3572 < prev    next >
Encoding:
Text File  |  1992-11-18  |  1.4 KB  |  41 lines

  1. Newsgroups: comp.emacs
  2. Path: sparky!uunet!Cadence.COM!daled
  3. From: daled@cadence.com (Dale DePriest)
  4. Subject: Re: Binding function keys on the RS/6000
  5. Message-ID: <1992Nov18.160214.12149@Cadence.COM>
  6. Sender: usenet@Cadence.COM (Usenet News)
  7. Nntp-Posting-Host: cds9172.cadence.com
  8. Organization: Cadence Design Systems
  9. References: <1e8d8hINNat4@FEYNMAN.SYSTEMSY.CS.YALE.EDU> <1e8jb7INN7h2@crcnis1.unl.edu>
  10. Date: Wed, 18 Nov 1992 16:02:14 GMT
  11. Lines: 28
  12.  
  13. For any particular machine the easy way to figure out
  14. key the keybindings needed is to use ^Q and press the key
  15. you are interested in.  The exact key sequence is displayed
  16. in the emacs buffer.  Now you can program the key using
  17. global-set-key as you described.
  18.  
  19. (global-set-key "\e[225z" 'goto-line)
  20.  
  21. Substitute the sequence you saw in the buffer.  If you do this
  22. in the *scratch* buffer you can try it out by hitting line feed
  23. instead of return after you type it in.
  24.  
  25. If the key doesn't send any sequence after ^Q then your pretty
  26. much out of luck although you might try the termcap entries or
  27. in X the xterm resources can be setup to send the sequence.
  28.  
  29. Hope this helps.
  30.  
  31.  
  32. -- 
  33.     _      _     Dale DePriest          San Jose, California
  34.    /`) _  //     daled@Cadence.COM        voice: (408) 428-5249
  35.  o/_/ (_(_X_(`     
  36.  
  37. --
  38.     _      _     Dale DePriest          San Jose, California
  39.    /`) _  //     daled@Cadence.COM        voice: (408) 428-5249
  40.  o/_/ (_(_X_(`     
  41.