Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jun 1999 18:58:44 +0200 (CEST)
From:      Christian Weisgerber <naddy@unix-ag.uni-kl.de>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   misc/12209: termcap: "xterm" entry defines bogus capabilities
Message-ID:  <199906141658.SAA48344@fettuccini.unix-ag.uni-kl.de>

next in thread | raw e-mail | index | archive | help

>Number:         12209
>Category:       misc
>Synopsis:       termcap: "xterm" entry defines bogus capabilities
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 14 10:00:01 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Christian Weisgerber
>Release:        FreeBSD 3.2-RELEASE i386
>Organization:
Unix-AG, Uni Kaiserslautern
>Environment:

screen 3.7.6 from ports/misc/screen.

>Description:

When running inside xterm, screen will write the status line messages
inside the window rather than in the customary pseudo-status line
at the bottom. A quick examination of the problem reveals that the
"xterm" termcap entry is broken. It defines control sequences for
the handling of a dedicated status line that xterm simply doesn't
implement. (The codes are apparently those used by kterm.)

I verified that these control sequences (capabilities: hs, es, ts,
fs, ds) are not implemented by (1) checking the source of xterm
and (2) asking Thomas Dickey <dickey@clark.net>, the current
maintainer of xterm.

>How-To-Repeat:

Start screen inside xterm, hit ^Aw.

>Fix:

Remove the bogus capabilities from the "xterm" termcap entry.
	
--- termcap.old	Tue May 18 05:40:07 1999
+++ termcap	Mon Jun 14 18:37:22 1999
@@ -298,8 +298,7 @@
 xterm|vs100|xterm terminal emulator (X window system):\
 	:li#65:\
 	:kh=\EOH:@7=\EOF:kb=^H:kD=^?:\
-	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:\
-	:hs:km:ts=\E[?E\E[?%i%dT:fs=\E[?F:es:ds=\E[?E:\
+	:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:km:\
 	:is=\E>\E[?1;3;4;5l\E[?7;8h\E[1;65r\E[65;1H:\
 	:rs=\E>\E[?1;3;4;5l\E[?7;8h:\
 	:tc=vt220:

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199906141658.SAA48344>