Date: Fri, 27 Jun 1997 11:09:03 -0500 (CDT) From: john@starfire.mn.org To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: bin/3972: termcap vt100 ku, kd, kr, kl don't match observed behavior Message-ID: <199706271609.LAA06577@starfire.mn.org> Resent-Message-ID: <199706271610.JAA29211@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 3972 >Category: bin >Synopsis: termcap vt100 ku, kd, kr, kl don't match observed behavior >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jun 27 09:10:00 PDT 1997 >Last-Modified: >Originator: John Lind >Organization: Starfire Consulting Services >Release: FreeBSD 2.2.1-RELEASE i386 >Environment: FreeBSD cons25, XFree86 xterm, rxvt, EWAN, many terminal emulators and telnet clients using vt100-like control sequences >Description: The termcap ku, kd, kr, and kl entries don't match what the keys actually send, causing programs which rely on those entries to not recognize the keypresses correctly. In termcap language name ku kd kr kl termcap \EOA \EOB \EOC \EOD sent \E[A \E[B \E[C \E[D UnixWare 2.1 and SCO ODT 5.0.2, among others, have the "sent" values in their termcaps. Solaris / SunOS have more or less the same as ours. I suspect that this may have something to do with the different keypad modes that a real VT100 has, but I'm only guessing at the history. >How-To-Repeat: cat > /dev/null (press arrow keys, observe system echo, press ENTER/RETURN) ^D (control D to end cat) or, more sophisticated cat > foo (press arrow keys, then ENTER/RETURN) ^D od -c foo compare results to termcap file >Fix: Edit termcap file, change associated entries as describe in table above. >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199706271609.LAA06577>
