home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / mac / programm / 18568 < prev    next >
Encoding:
Text File  |  1992-11-17  |  1.7 KB  |  43 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!dtint!tom
  3. From: tom@dtint.uucp (Thomas R. Kimpton)
  4. Subject: Re: Emacs-like editor for MPW 3.2
  5. Message-ID: <1992Nov18.005823.23880@dtint.uucp>
  6. Organization: Digital Technology, International
  7. References: <kf12clK00iUx06PFt_@andrew.cmu.edu> <c164-aa.721818496@po.berkeley.edu> <RMF.92Nov16201014@chopin.cs.columbia.edu>
  8. Date: Wed, 18 Nov 92 00:58:23 GMT
  9. Lines: 32
  10.  
  11. In article <RMF.92Nov16201014@chopin.cs.columbia.edu> rmf@chopin.cs.columbia.edu (Robert M. Fuhrer) writes:
  12. >You can bind keystrokes to commands in MPW 3.2. I've used it to give some
  13. >Emacs-like aliases to MPW's editor (the arrow keys are in a very retarded
  14. >configuration on the "Standard" ADB keyboard :-)). Of course, MNE (MPW's not
  15. >Emacs), so you'll only be able to get very superficially similar behaviour.
  16. >--
  17. >
  18. >-- Bob
  19.  
  20. In the latest Pre-release version of MPW Shell, SetKey (maybe
  21. earlier versions also) allows you to bind commands (and
  22. editor primitives) to not only key combinations, but key sequences,
  23. here's an example from the notes:
  24.     SetKey control-x-y 'Execute `Request "Enter a Command"`'
  25.  
  26. Typing control-X followed by a Y will now prompt the user for
  27. a command, and then execute that command.
  28.  
  29. Editing primitives are things like:
  30. "DeleteCharLeft DeleteStartOfFile MoveCharLeft SelectPageDown"
  31.  
  32. With this kind of functionality I don't suppose it will be long
  33. until someone comes up with at least a minimal Emacs definitions
  34. file.  But then I don't know much about Emacs...
  35.  
  36. Tom
  37.  
  38. -- 
  39. ---
  40. Tom Kimpton                            tom@dtint.dtint.com
  41. Digital Technology Int.                (801)226-2984    
  42. 500 W. 1200 South, Orem UT, 84057      FAX (801) 226-8438
  43.