🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.help
Article #189057

Cursor key problem

#189057
From: Pete Resnick
Date: Fri, 10 May 1991 17:31
34 lines
1869 bytes
I am having a problem with cursor keys and the X-windows emacs 18.57. I
am running emacs on an IBM RT/AIX(*sigh*) and the secretary in my group
is using a Macintosh(*sigh*) as an X-server using MacX. When she logs
in, she gets an xterminal fine (she is in -v mode to emulate a vt100).
Everything works OK. But when she brings up the emacs X-window, her
arrow keys produce the following sequences (^[ is the escape):

Up - ^[[163q
Down - ^[[166q
Left - ^[[160q
Right - ^[[169q


Of course, none of these do much of anything. I would like one of two
solutions:

1. Someone tell me why these sequences are being produced and tell me
how to fix it so that it actually produces cursor movement.

2. Someone write up a little bit of elisp to put in her .emacs that
maps these sequences to the appropriate action. I don't know any lisp,
let alone enough elisp, to do this on my own.

Reply by e-mail please.

Thanks in advance.

pr
--
Pete Resnick             (...so what is a mojo, and why would one be rising?)
Graduate assistant - Philosophy Department, Gregory Hall, UIUC
System manager - Cognitive Science Group, Beckman Institute, UIUC
Internet/ARPAnet/EDUnet  : resnick@cogsci.uiuc.edu
BITNET (if no other way) : FREE0285@UIUCVMD
Technical Details
Message-ID: <1991May10.173111.8388@ux1.cso.uiuc.edu>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!midway!ux1.cso.uiuc.edu!resnick

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 103b8b,2dd3a63cd1cbb5f2,start
X-Google-Attributes: gid103b8b,public
X-Google-ArrivalTime: 1991-05-11 05:47:08 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!midway!ux1.cso.uiuc.edu!resnick
From: resnick@cogsci.uiuc.edu (Pete Resnick)
Newsgroups: gnu.emacs.help
Subject: Cursor key problem
Message-ID: <1991May10.173111.8388@ux1.cso.uiuc.edu>
Date: 10 May 91 17:31:11 GMT
Sender: usenet@ux1.cso.uiuc.edu (News)
Followup-To: poster
Organization: University of Illinois at Urbana
Lines: 34