Subject: misc/20606: Broken termcap entries for xterm+sl and xterm+sl-twm
To: None <>
From: None <>
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
>Originator:     Monroe Williams
>Release:        1.6
NetBSD 1.6N NetBSD 1.6N (INDIRECT) #50: Tue Feb 25 23:35:56 PST 2003 macppc

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.  
set TERM to xterm+sl or xterm+sl-twm and run a curses program.
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:\
-       :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):\
-       :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