home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / emacs / 3054 < prev    next >
Encoding:
Text File  |  1992-09-08  |  1.5 KB  |  38 lines

  1. Newsgroups: comp.emacs
  2. Path: sparky!uunet!cs.utexas.edu!csc.ti.com!tilde.csc.ti.com!fstop.csc.ti.com!fstop.csc!adam
  3. From: adam@dadhb1.ti.com (Adam Hudd)
  4. Subject: Re: Help!  Arrow keys!
  5. In-Reply-To: qarl@eclop.wustl.edu's message of Tue, 8 Sep 1992 16:46:19 GMT
  6. Message-ID: <ADAM.92Sep8172346@node_48dc0.dadhb1.ti.com>
  7. Lines: 24
  8. Sender: usenet@csc.ti.com
  9. Nntp-Posting-Host: 192.48.249.30
  10. Organization: Texas Instruments, Inc., Houston, TX
  11. References: <1992Sep8.164619.7471@wuecl.wustl.edu>
  12. Date: Tue, 8 Sep 1992 22:23:46 GMT
  13.  
  14. Karl Stiefvater writes:
  15.  
  16.    Karl> OKee.  From the FAQ, I get the jist of the "ESC [ A" arrow key
  17.    Karl> problem.
  18.  
  19.    Karl> Seems kinda silly to me.  It seems that Emacs makes some pretty
  20.    Karl> troublesome key binding decisions... ^S, ^H, ESC[... Seems like a Bad
  21.    Karl> Thing.
  22.  
  23.    Karl> ANYWAY.  I want to know how I can fix my arrow key problem at my site.
  24.    Karl> The FAQ recommends that I modify either my "default.el" file, or my
  25.    Karl> "term/xterm.el" file, or something.  However, putting
  26.    Karl> (enable-arrow-keys) in either of these files seems to have NO effect.
  27.    Karl> Emacs doesn't even seem to look at these files.
  28.  
  29. Karl, try the following in your .emacs file:
  30.  
  31. (global-unset-key "\e[") ;; disable default binding of M-[
  32.                          ;; This allows for Sun arrow keys to be bound
  33. (global-set-key "\M-[A" 'forward-char) ;; etc...
  34. --
  35. Adam Hudd               adam@dadhb1.ti.com             __o
  36. Texas Instruments Inc,                                -\<,
  37. Houston, TX                                     .....O / O
  38.