Subject: misc/32135: termcap entry for wsvt25 wrong (colors)
To: None <,,>
From: Pavel Cahyna <>
List: netbsd-bugs
Date: 11/21/2005 10:00:00
>Number:         32135
>Category:       misc
>Synopsis:       termcap entry for wsvt25 wrong (colors)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    misc-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 21 10:00:00 +0000 2005
>Originator:     Pavel Cahyna
>Release:        NetBSD 3.0_BETA
System: NetBSD beta 3.0_BETA NetBSD 3.0_BETA (BETA) #4: Fri Oct 7 21:20:07 CEST 2005 root@beta:/usr/src/sys/arch/alpha/compile/BETA alpha
Architecture: alpha
Machine: alpha
wscons have only 8 colors implemented, but the termcap entry claims it
can do 16 colors. The escape sequences to set "high" colors are in
fact silently ignored, causing weird effects in color-using programs
like lynx, mc or mutt. Also, the NC capability is wrong - bright
colored text is displayed fine.
press down-arrow until on the "Retrieve" button. Press up-arrow
once. The text from the status line will disappear except one single paren.
--- /usr/src/share/termcap/termcap.src	2005-07-05 17:37:51.000000000 +0200
+++ /usr/share/misc/termcap	2005-11-18 23:24:54.000000000 +0100
@@ -932,7 +932,7 @@
 # These are micro-minimal and probably need to be redone for real
 # after the manner of the pcvt entries.
 wsvt25|NetBSD wscons in 25 line DEC VT220 mode:\
-	:Co#16:NC#32:pa#256:it#8:ms:ut:\
+	:Co#8:pa#64:it#8:ms:ut:\