From owner-freebsd-bugs Mon Jun 14 10: 0: 3 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 93DC11536C for ; Mon, 14 Jun 1999 10:00:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id KAA78866; Mon, 14 Jun 1999 10:00:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from news.uni-kl.de (news.uni-kl.de [131.246.137.51]) by hub.freebsd.org (Postfix) with SMTP id 4CB7D15418 for ; Mon, 14 Jun 1999 09:58:53 -0700 (PDT) (envelope-from naddy@unix-ag.uni-kl.de) Received: from sushi.unix-ag.uni-kl.de ( root@sushi.unix-ag.uni-kl.de [131.246.89.13] ) by news.uni-kl.de id aa00471 for ; 14 Jun 1999 19:00 MESZ Received: from fettuccini.unix-ag.uni-kl.de (fettuccini.unix-ag.uni-kl.de [131.246.89.27]) by sushi.unix-ag.uni-kl.de (8.9.1a/8.9.1) with ESMTP id SAA25426 for ; Mon, 14 Jun 1999 18:58:33 +0200 Received: (from naddy@localhost) by fettuccini.unix-ag.uni-kl.de (8.9.3/8.9.3) id SAA48344; Mon, 14 Jun 1999 18:58:44 +0200 (CEST) (envelope-from naddy) Message-Id: <199906141658.SAA48344@fettuccini.unix-ag.uni-kl.de> Date: Mon, 14 Jun 1999 18:58:44 +0200 (CEST) From: Christian Weisgerber Reply-To: naddy@unix-ag.uni-kl.de To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: misc/12209: termcap: "xterm" entry defines bogus capabilities Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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 , 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