Article View: comp.terminals
Article #2295Termcap (ansi) arrow key question
From: Kim Kempf
Date: Mon, 30 Jan 1989 14:08
Date: Mon, 30 Jan 1989 14:08
16 lines
983 bytes
983 bytes
Why is it that the termcap entry for most vt100-style terminals define
the arrow keys as:
:ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:kb=^H:\
when the keys actually transmit:
:ku=\E[A:kd=\E[B:kr=\E[C:kl=\E[D:kb=^H:\
Some other termcaps claiming ANSI terminal compatability are defined in this
latter method as expected. I have an application that won't work because of
this problem. Is this some type of special hack that 'vi' uses and other
applications have to know about it, or what? Thanks in advance.
----------------
Kim Kempf, Microware Systems Corporation {sun,uunet}!mcrware!kim
Technical Details
Message-ID:
<942@mcrware.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!unmvax!ncar!ames!amdcad!sun!pitstop!sundc!seismo!uunet!mcrware!kimShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!unmvax!ncar!ames!amdcad!sun!pitstop!sundc!seismo!uunet!mcrware!kim From: kim@mcrware.UUCP (Kim Kempf) Newsgroups: comp.terminals Subject: Termcap (ansi) arrow key question Message-ID: <942@mcrware.UUCP> Date: 30 Jan 89 14:08:16 GMT Organization: Microware Systems Corp., Des Moines, Ia. Lines: 16