🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.help
Article #189253

Using arrow keys on HP terminals

#189253
From: Lennart Saaf
Date: Wed, 20 Mar 1991 17:04
20 lines
1553 bytes
I have the arrow keys on our HP terminals set up to move the cursor thusly:

(global-set-key "\ea" 'previous-line)
(global-set-key "\eb" 'next-line)
(global-set-key "\ec" 'forward-char)
(global-set-key "\ed" 'backward-char)

The problem is that the "original" functions bound to these sequences
(M-a, M-b, M-c, M-d) must be remapped or executed explicitly. Is
there a more elegant way of binding the arrow keys to cursor movement?
Perhaps some timing device that says, "the 'a' came immediately after
the ESC so it was probably an arrow key." I will post a summary of any
helpful replies.

Len
--
------------------------------------------------------------------------
| Len Saaf, The Institute of Optics, Univ. of Rochester, Rochester, NY |
| Internet: saaf@joker.optics.rochester.edu        Bitnet: SAAF@UOROPT |
------------------------------------------------------------------------
Technical Details
Message-ID: <SAAF.91Mar20120446@joker.optics.rochester.edu>
Path: arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!ub!uhura.cc.rochester.edu!uhura!saaf

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 103b8b,e531d68f2e5ce6f4,start
X-Google-Attributes: gid103b8b,public
X-Google-ArrivalTime: 1991-03-22 16:52:22 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!ub!uhura.cc.rochester.edu!uhura!saaf
From: saaf@joker.optics.rochester.edu (Lennart Saaf)
Newsgroups: gnu.emacs.help
Subject: Using arrow keys on HP terminals
Message-ID: <SAAF.91Mar20120446@joker.optics.rochester.edu>
Date: 20 Mar 91 17:04:46 GMT
Sender: news@uhura.cc.rochester.edu
Distribution: gnu
Organization: The Institute of Optics, University of Rochester
Lines: 20