NetBSD Problem Report #30064

From martin@duskware.de  Tue Apr 26 14:26:45 2005
Return-Path: <martin@duskware.de>
Received: from mail.duskware.de (mail.duskware.de [213.146.108.170])
	by narn.netbsd.org (Postfix) with ESMTP id 5518763B116
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 26 Apr 2005 14:26:44 +0000 (UTC)
Message-Id: <200504261426.j3QEQeIe016587@sunny-weather.duskware.de>
Date: Tue, 26 Apr 2005 16:26:40 +0200 (CEST)
From: Martin Husemann <martin@duskware.de>
Reply-To: martin@duskware.de
To: gnats-bugs@netbsd.org
Subject: wsdisplay does not allow white background
X-Send-Pr-Version: 3.95

>Number:         30064
>Category:       kern
>Synopsis:       wsdisplay does not allow white background
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 26 14:27:00 +0000 2005
>Closed-Date:    Sun May 22 20:18:32 +0000 2005
>Last-Modified:  Sat Jun 04 15:52:00 +0000 2005
>Originator:     Martin Husemann
>Release:        NetBSD 3.99.2
>Organization:
>Environment:
System: NetBSD sunny-weather.duskware.de 3.99.2 NetBSD 3.99.2 (SUNNY) #6: Thu Mar 31 21:26:21 CEST 2005 martin@sunny-weather.duskware.de:/usr/src/sys/arch/sparc64/compile/SUNNY sparc64
Architecture: sparc64
Machine: sparc64
>Description:

You can (ignoring raspops.c bugs for the moment) specify kernel and userland
text colors used by wsdisplay. I used

 WS_DEFAULT_BG=WSCOL_WHITE

to get a white background. I get a gray background. I've been told the white
I'm looking for is bright white, but there is no way to define that in a
kernel config file as default.

Stupid i386 people broke wsdisplay but added blinking border colors ;-)

I just want a nice Sun style console, real white, with black text.

>How-To-Repeat:
s/a
>Fix:
n/a

>Release-Note:

>Audit-Trail:
From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/30064: wsdisplay does not allow white background
Date: Wed, 27 Apr 2005 21:31:06 +0200

 Here is a picture (sorry for the quality) of a screen, showing what I mean.

   http://www.duskware.com/bad_background.jpg

 The upper half is output by the firmware and looks just like I want it.
 The lower half (right after wsdisplay attaches) is wrong. Can we please
 fix this somehow? I'm a computer graphics programmer in another live, and
 white is white, and this is not white, but gray. Calling gray WSCOL_WHITE
 is ... strange.

 Martin

From: John Darrow <John.P.Darrow@wheaton.edu>
To: martin@duskware.de
Cc: gnats-bugs@netbsd.org
Subject: Re: kern/30064: wsdisplay does not allow white background
Date: Fri, 29 Apr 2005 01:31:27 -0500 (CDT)

 Martin Husemann <martin@duskware.de> wrote:
 >You can (ignoring raspops.c bugs for the moment) specify kernel and userland
 >text colors used by wsdisplay. I used
 >
 > WS_DEFAULT_BG=WSCOL_WHITE
 >
 >to get a white background. I get a gray background. I've been told the white
 >I'm looking for is bright white, but there is no way to define that in a
 >kernel config file as default.
 >
 >Stupid i386 people broke wsdisplay but added blinking border colors ;-)
 >
 >I just want a nice Sun style console, real white, with black text.

 This may be completely irrelevant to Sun hardware, but I thought I'd
 offer it as a guess: have you tried WS_KERNEL_COLATTR=WSATTR_BLINK ?

 I know it seems strange, but (remembering back to my DOS days) at least
 on PC hardware, text mode was done as an alternating array of character
 and attribute bytes, with the attribute byte consisting of color bits
 xRGBirgb, where r, g, b, and i were foreground red, green, blue, and
 intensity (HILIT) bits, and RGB were background red, green and blue
 bits.

 The high bit, x, was special: depending on a setting in the PC display
 driver, it could either be foreground blink, or background intensity.

 (I still have a 13 byte .COM file (set a few registers, call INT 10,
 exit) that would set it to act as background intensity, since having
 characters on the screen blink annoyed me.)

 jdarrow

 -- 
 John Darrow - Senior Technical Specialist
 Computing Services, Wheaton College, Wheaton, IL 60187
 Email: John.P.Darrow@wheaton.edu (plain text please, no HTML or proprietary)
 Neither spammers nor cold-callers will ever get my business, so don't bother.

From: Martin Husemann <martin@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: PR/30064 CVS commit: src/sys/dev/wscons
Date: Sun, 22 May 2005 20:16:08 +0000 (UTC)

 Module Name:	src
 Committed By:	martin
 Date:		Sun May 22 20:16:08 UTC 2005

 Modified Files:
 	src/sys/dev/wscons: wsdisplayvar.h

 Log Message:
 Define a real white color - since WSCOL_WHITE is ANSI-emulation specific
 defined as grey (which can't be fixed w/o breaking user config files).
 Fixes PR kern/30064.


 To generate a diff of this commit:
 cvs rdiff -r1.30 -r1.31 src/sys/dev/wscons/wsdisplayvar.h

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-By: martin@netbsd.org
State-Changed-When: Sun, 22 May 2005 20:18:32 +0000
State-Changed-Why:
Worked around by defining a new color name


From: Matthias Scheler <tron@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: PR/30064 CVS commit: [netbsd-3] src/sys/dev/wscons
Date: Sat,  4 Jun 2005 15:51:38 +0000 (UTC)

 Module Name:	src
 Committed By:	tron
 Date:		Sat Jun  4 15:51:38 UTC 2005

 Modified Files:
 	src/sys/dev/wscons [netbsd-3]: wsdisplayvar.h

 Log Message:
 Pull up revision 1.31 (requested by martin in ticket #371):
 Define a real white color - since WSCOL_WHITE is ANSI-emulation specific
 defined as grey (which can't be fixed w/o breaking user config files).
 Fixes PR kern/30064.


 To generate a diff of this commit:
 cvs rdiff -r1.30 -r1.30.4.1 src/sys/dev/wscons/wsdisplayvar.h

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.