home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / emacs / 3929 < prev    next >
Encoding:
Text File  |  1993-01-07  |  1.1 KB  |  35 lines

  1. Newsgroups: comp.emacs
  2. Path: sparky!uunet!Cadence.COM!daled
  3. From: daled@cadence.com (Dale DePriest)
  4. Subject: Re: mapping the arrow keys in xterm
  5. Message-ID: <1993Jan7.171040.2981@Cadence.COM>
  6. Keywords: arrow keys, xterm
  7. Sender: usenet@Cadence.COM (Usenet News)
  8. Nntp-Posting-Host: cds9172.cadence.com
  9. Organization: Cadence Design Systems
  10. References: <1993Jan5.202737.17196@pencom.com> <1993Jan6.180843.24151@digi.lonestar.org>
  11. Date: Thu, 7 Jan 1993 17:10:40 GMT
  12. Lines: 21
  13.  
  14. Another useful way to get the xterm cursor keys to work is to put
  15. the following lines in your .Xdefaults.  This will have the 
  16. added benefit of permitting ksh or tcsh command stacks to work
  17. as well.  Note that F1 ... can be easily set up as well.
  18.  
  19. XTerm*VT100.translations: #override \
  20. <KeyPress>Up:  string(0x10)\n\
  21. <KeyPress>Down: string(0x0e)\n\
  22. <KeyPress>Right: string(0x06)\n\
  23. <KeyPress>Left: string(0x02)
  24.  
  25. If anyone has to use vi on your workstation then make a file
  26. .exrc with the following information in it.
  27.  
  28. map  l
  29. map  h
  30.  
  31. --
  32.     _      _     Dale DePriest          San Jose, California
  33.    /`) _  //     daled@Cadence.COM        voice: (408) 428-5249
  34.  o/_/ (_(_X_(`     
  35.