Date: Fri, 27 Jun 1997 11:50:02 -0700 (PDT) From: j@uriah.heep.sax.de (J Wunsch) To: freebsd-bugs Subject: Re: bin/3972: termcap vt100 ku, kd, kr, kl don't match observed behavior Message-ID: <199706271850.LAA07445@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/3972; it has been noted by GNATS.
From: j@uriah.heep.sax.de (J Wunsch)
To: john@starfire.mn.org
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: bin/3972: termcap vt100 ku, kd, kr, kl don't match observed behavior
Date: Fri, 27 Jun 1997 20:38:01 +0200
As john@starfire.mn.org wrote:
> >Environment:
>
> FreeBSD cons25, XFree86 xterm, rxvt, EWAN, many terminal
> emulators and telnet clients using vt100-like control
> sequences
cons25 is not VT100-compatible.
xterm, rxvt etc. are, but...
> name ku kd kr kl
> termcap \EOA \EOB \EOC \EOD
> sent \E[A \E[B \E[C \E[D
...the correct (\EOA etc.) values are only being sent after
initializing the tty correctly, using the `ks' capability.
j@uriah 242% echo $TERM
xterm
j@uriah 243% echo "$TERMCAP" | tr : '\012' | grep '^k[se]'
ks=\E[?1h\E=
ke=\E[?1l\E>
j@uriah 244% cat
^[[A^[[B (this is the initial mode)
(this is the initial mode)
^[[?1h^[=
^[OA^[OB^[OA^[OB (now we are in ``keypad transmit'' mode)
AABBAABB (now we are in ``keypad transmit'' mode)
^[[?1l^[>
^[[A^[[B (back again)
(back again)
^D
--
cheers, J"org
joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199706271850.LAA07445>
