Subject: xterm & termcap
To: None <netbsd-help@netbsd.org>
From: None <collver@linuxfreemail.com>
List: netbsd-help
Date: 12/06/2001 11:47:05
Hi,

I am running NetBSD 1.5.2 and XF336.
termcap has "ku" aka "kcuu1" mapped to "\EOA"
xterm actually emits "\E[A"

On an HPUX 10.20 system I see xterm "kcuu1" mapped to "\E[A"
On a Solaris 5.8 system I see xterm "kl" mapped to "\EOA"

which is correct?

Even though xterm emits something other than termcap specifies,
my up arrow key works in vi.  I'm not familiar enough with the
internals of vi to know why my cursor keys actually work.  Does
anyone else know why?

Regards,

Ben
-- 
If a sign says, "Stay Back," it doesn't mean "Keep Off the Grass," it 
means, "If You Go Past Here You May Die." -- alt.culture.oregon FAQ