Subject: misc/20606: Broken termcap entries for xterm+sl and xterm+sl-twm
To: None <gnats-bugs@gnats.netbsd.org>
From: None <monroe@pobox.com>
List: netbsd-bugs
Date: 03/06/2003 16:41:34
>Number:         20606
>Category:       misc
>Synopsis:       Broken termcap entries for xterm+sl and xterm+sl-twm
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    misc-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 06 16:42:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Monroe Williams
>Release:        1.6
>Organization:
>Environment:
NetBSD macppc.indirect.org 1.6N NetBSD 1.6N (INDIRECT) #50: Tue Feb 25 23:35:56 PST 2003     monroe@macppc.indirect.org:/usr/local/netbsd/src/sys/arch/macppc/compile/INDIRECT macppc

>Description:
The termcap entries for terminal types xterm+sl and xterm+sl-twm are not usuable as TERM settings.  They lack a 'tc=' entry and are not compete in their own right.  
>How-To-Repeat:
set TERM to xterm+sl or xterm+sl-twm and run a curses program.
>Fix:
The following patch makes these entries usable.  This is approximately what the latest version of ncurses does in terminfo.

--- termcap.old Thu Mar  6 16:04:29 2003
+++ termcap     Thu Mar  6 16:04:56 2003
@@ -1836,11 +1836,13 @@
 xterm+sl|access X title line and icon name:\
        :hs:\
        :ws#40:\
-       :ds=\E]0;\007:fs=^G:ts=\E]0;:
+       :ds=\E]0;\007:fs=^G:ts=\E]0;:\
+       :tc=xterm:
 xterm+sl-twm|access X title line (pacify twm-descended window managers):\
        :hs:\
        :ws#40:\
-       :ds=\E]2;\007:fs=^G:ts=\E]2;:
+       :ds=\E]2;\007:fs=^G:ts=\E]2;:\
+       :tc=xterm:
 
 #
 # The following xterm variants don't depend on your base version

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