home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / emacs / 3563 < prev    next >
Encoding:
Internet Message Format  |  1992-11-16  |  1.2 KB

  1. Path: sparky!uunet!destroyer!gumby!yale!yale.edu!not-for-mail
  2. From: kaminsky-david@cs.yale.edu (David Kaminsky)
  3. Newsgroups: comp.emacs
  4. Subject: Re: Binding function keys on the RS/6000
  5. Date: 16 Nov 1992 14:37:51 -0500
  6. Organization: Yale University Computer Science Dept., New Haven, CT 06520-2158
  7. Lines: 26
  8. Distribution: world
  9. Message-ID: <1e8tagINNbo4@FEYNMAN.SYSTEMSY.CS.YALE.EDU>
  10. References: <1e8d8hINNat4@FEYNMAN.SYSTEMSY.CS.YALE.EDU>
  11. NNTP-Posting-Host: feynman.systemsy.cs.yale.edu
  12.  
  13. In article <1e8d8hINNat4@FEYNMAN.SYSTEMSY.CS.YALE.EDU> kaminsky-david@cs.yale.edu (David Kaminsky) writes:
  14. >    Does anyone know how to bind the function keys on the
  15. >IBM RS/6000's running AIX?  I used:
  16. >
  17. >(global-set-key "\e[225z" 'goto-line) ; F2
  18. >(global-set-key "\e[226z" 'replace-string) ; F3
  19. >    ...
  20. >
  21. >    for a Sparcstation, but the RS/6000 uses different codes.  
  22. >
  23. >    Please mail responses to kaminsky-david@cs.yale.edu.
  24. >
  25. >    Thanks a lot.
  26. >
  27.  
  28.     It was suggested that I use C-q <fn key> to find the binding
  29. of the function key.  It worked perfectly (thanks John).  F1-F9 are:
  30. \e[001q - 009q.  For example:
  31.  
  32. (global-set-key "\e[002q" 'goto-line) ; F2
  33.  
  34.     binds F2 to goto-line.
  35.  
  36.     Thanks again to those who responded.
  37.  
  38. David
  39.