[9853] in Athena Bugs
rt 7.4G: /etc/termcap
daemon@ATHENA.MIT.EDU (Calvin Clark)
Thu Sep 3 03:33:24 1992
Date: Thu, 3 Sep 92 03:31:52 -0400
From: Calvin Clark <ckclark@mit.edu>
To: bugs@Athena.MIT.EDU
Cc: bug-x11r5@Athena.MIT.EDU
Reply-To: ckclark@mit.edu
System name: portnoy
Type and version: RTPC-ROMPC 7.4G
Display type: apa16
What were you trying to do?
Use a program which reads the kl,kr,ku, and kd termcap
capabilities in order to determine the key sequences used by the arrow
keys.
What's wrong:
The termcap entry for xterm says this:
:ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:kb=^H:\
However, the arrow keys really send \E[A ... \E[D
What should have happened:
The termcap entry for xterm should be fixed.
It is broken on all platfroms which use /etc/termcap.
(I.e., this is not applicable for the RS/6000.)
(Note: many applications (like tcsh) get arrow keys
by hardcoding \E[A .. \E[D. It's pretty gross.)
Please describe any relevant documentation references:
termcap(5)