Article View: comp.emacs
Article #3603Re: mapping the arrow keys in xterm
From: Dale DePriest
Date: Thu, 07 Jan 1993 17:10
Date: Thu, 07 Jan 1993 17:10
21 lines
1172 bytes
1172 bytes
Another useful way to get the xterm cursor keys to work is to put
the following lines in your .Xdefaults. This will have the
added benefit of permitting ksh or tcsh command stacks to work
as well. Note that F1 ... can be easily set up as well.
XTerm*VT100.translations: #override \
<KeyPress>Up: string(0x10)\n\
<KeyPress>Down: string(0x0e)\n\
<KeyPress>Right: string(0x06)\n\
<KeyPress>Left: string(0x02)
If anyone has to use vi on your workstation then make a file
.exrc with the following information in it.
map l
map h
--
_ _ Dale DePriest San Jose, California
/`) _ // daled@Cadence.COM voice: (408) 428-5249
o/_/ (_(_X_(`
Technical Details
Message-ID:
<1993Jan7.171040.2981@Cadence.COM>Path:
arc1-ca.pugleaf.net!sparky!uunet!Cadence.COM!daledReferences:
<1993Jan5.202737.17196@pencom.com> <1993Jan6.180843.24151@digi.lonestar.org>Show Full Headers
Complete Article Headers
Newsgroups: comp.emacs Path: arc1-ca.pugleaf.net!sparky!uunet!Cadence.COM!daled From: daled@cadence.com (Dale DePriest) Subject: Re: mapping the arrow keys in xterm Message-ID: <1993Jan7.171040.2981@Cadence.COM> Keywords: arrow keys, xterm Sender: usenet@Cadence.COM (Usenet News) Nntp-Posting-Host: cds9172.cadence.com Organization: Cadence Design Systems References: <1993Jan5.202737.17196@pencom.com> <1993Jan6.180843.24151@digi.lonestar.org> Date: Thu, 7 Jan 1993 17:10:40 GMT Lines: 21