home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / emacs / 4102 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  1.1 KB

  1. Path: sparky!uunet!charon.amdahl.com!pacbell.com!ames!sun-barr!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!ira.uka.de!math.fu-berlin.de!news.netmbx.de!Germany.EU.net!mcsun!ieunet!ul.ie!kinsellaj
  2. From: kinsellaj@ul.ie
  3. Newsgroups: comp.emacs
  4. Subject: Keymaps for Wordstar-type emulation
  5. Message-ID: <20307.2b5bdf30@ul.ie>
  6. Date: 19 Jan 93 10:59:59 GMT
  7. Organization: University of Limerick, Ireland
  8. Lines: 26
  9.  
  10. I am trying to set up a keymap for Gnu Emaps using the .emacs file. I am using
  11. emacs 18.59 on a DEC Ultrix workstation. I am using Telnet to emulate a vt100
  12. terminal.
  13.  
  14. I wish to map the Ctrl left and right arrow key combinations (like in the
  15. Wordstar-type editors such as the Borland Turbo IDE) into forward-word and 
  16. backward-word respectively.
  17.  
  18. I tried using global-set-key:
  19.  
  20. (global-set-key "\C-]" 'forward-word)
  21.  
  22. (the above works for the Ctrl-] combo, but when I enter the escape seq for 
  23. rightarrow instead of ], emacs does't like it!
  24.  
  25. Any suggestions gratefully received, either to this newsgroup or via e_mail to
  26.  
  27. KINSELLAJ@UL.IE
  28.  
  29. Thanks
  30.  
  31. John Kinsella
  32. Dept. of Mathematics
  33. University of Limerick
  34. Limerick
  35. IRELAND
  36.