Article View: gnu.emacs.help
Article #189689CR in key definitions
From: Tim Conrow
Date: Wed, 12 Dec 1990 03:17
Date: Wed, 12 Dec 1990 03:17
25 lines
1820 bytes
1820 bytes
Hi y'all,
I'm using an IBM PC-like computer as a remote terminal (through Kermit)
to access more than one remote computer. One of these remote computers
needs to have carriage returns in its key definitions for the function keys
to work. When I switch to a nice UNIX environment and run Emacs, there's
hell to pay.
The standard key bindings (global-set-key is what I'm using; smart?
stupid? I don't know, I'm an amateur) do not like CR's in the definition.
e.g. (global-set-key "\E[OA\r" .... whatever) does not work. Emacs recognizes
the \EOA part, then punts and inserts a CR in my text.
Right now I solve this by loading a new key definition file in Kermit
everytime I switch between computers, but this is a pain in the neck
since switch between computers ALOT.
What can Emacs do to help me unify my key definitions? Should I use
the key redefinition table (I just spotted the code in the FAQ posting)
or is there another, simpler way to deal with the problem?
Thanks for your time,
Tim
tim@ipac.caltech.edu
Technical Details
Message-ID:
<1990Dec12.031721.26945@nntp-server.caltech.edu>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!sunic!uupsi!rpi!zaphod.mps.ohio-state.edu!usc!jarthur!nntp-server.caltech.edu!fonda.ipac.caltech.edu!timReferences:
<1990Dec9.005608.42@drycas.club.cc.cmu.edu>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103b8b,8357e38831273317 X-Google-Attributes: gid103b8b,public X-Google-ArrivalTime: 1990-12-11 19:17:21 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!sunic!uupsi!rpi!zaphod.mps.ohio-state.edu!usc!jarthur!nntp-server.caltech.edu!fonda.ipac.caltech.edu!tim From: tim@fonda.ipac.caltech.edu (Tim Conrow) Newsgroups: gnu.emacs.help Subject: CR in key definitions Message-ID: <1990Dec12.031721.26945@nntp-server.caltech.edu> Date: 12 Dec 90 03:17:21 GMT References: <1990Dec9.005608.42@drycas.club.cc.cmu.edu> Sender: news@nntp-server.caltech.edu Organization: California Institute of Technology Lines: 25 Posted: Wed Dec 12 04:17:21 1990 Nntp-Posting-Host: fonda.ipac.caltech.edu