From robert@zoot.quizbot.org  Sat Jun  9 17:00:26 2001
Return-Path: <robert@zoot.quizbot.org>
Received: from zoot.quizbot.org (blndi4-145-253-140-012.arcor-ip.net [145.253.140.12])
	by hub.freebsd.org (Postfix) with ESMTP id 06A1237B405
	for <FreeBSD-gnats-submit@freebsd.org>; Sat,  9 Jun 2001 17:00:16 -0700 (PDT)
	(envelope-from robert@zoot.quizbot.org)
Received: (from robert@localhost)
	by zoot.quizbot.org (8.11.4/8.11.4) id f5A00DG02220;
	Sun, 10 Jun 2001 02:00:13 +0200 (CEST)
	(envelope-from robert)
Message-Id: <200106100000.f5A00DG02220@zoot.quizbot.org>
Date: Sun, 10 Jun 2001 02:00:13 +0200 (CEST)
From: Robert Drehmel <robert@zoot.quizbot.org>
To: FreeBSD-gnats-submit@freebsd.org
Subject: adding and changing information in vidcontrol(1)
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         28000
>Category:       docs
>Synopsis:       adding and changing information in vidcontrol(1)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 09 17:10:01 PDT 2001
>Closed-Date:    Mon Sep 3 17:54:45 PDT 2001
>Last-Modified:  Mon Sep 03 17:56:35 PDT 2001
>Originator:     Robert Drehmel
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:

System: FreeBSD zoot.quizbot.org 5.0-CURRENT FreeBSD 5.0-CURRENT #3: Sat Jun 9 01:27:13 CEST 2001 root@zoot:/data/sys/compile/ZOOT i386

>Description:

This patch adds and corrects some information in the vidcontrol(1) manual
page.

>How-To-Repeat:

>Fix:

Index: vidcontrol.1
===================================================================
RCS file: /home/ncvs/src/usr.sbin/vidcontrol/vidcontrol.1,v
retrieving revision 1.39
diff -r1.39 vidcontrol.1
291c291
< PC video memory is typically arranged in two byte tuples,
---
> VGA video memory is typically arranged in two byte tuples,
293,300c293,311
< In each tuple, the first byte
< will be the character code, and the second byte is the
< character's color attribute.
< .Pp
< The color attribute byte is further broken down in to the
< low nibble, which specifies which of 16 different foreground
< colors is active, and the high nibble, which specifies which
< of 16 different background colors is active.
---
> In each tuple, the first byte will be the character code,
> and the second byte is the character's color attribute.
> .Pp
> The syscons driver converts the ^[[Nm terminal escapes
> into the corresponding attribute bytes.
> .Pp
> The VGA color attribute byte looks like this:
> .Pp
> .Bl -column "X:X" "<00000000>" "width" "bright foreground color"
> .Sy bits# Ta Ta Sy width Ta Sy meaning
> .Li 7   Ta <X0000000> Ta 1 Ta character blinking
> .Li 6:4 Ta <0XXX0000> Ta 3 Ta background color
> .Li 3   Ta <0000X000> Ta 1 Ta bright foreground color
> .Li 2:0 Ta <00000XXX> Ta 3 Ta foreground color
> .El
> .Pp
> Here is a list of the three bit wide base colors with
> their corresponding ANSI terminal escape codes
> parenthesized (add 10 to get the background code):
304c315
< Black
---
> Black (30)
306c317
< Blue
---
> Blue (34)
308c319
< Green
---
> Green (32)
310c321
< Cyan
---
> Cyan (36)
312c323
< Red
---
> Red (31)
314c325
< Magenta
---
> Magenta (35)
316c327
< Brown
---
> Brown (33)
318,321c329,339
< White
< .It 8
< Grey
< .It 9
---
> Light Grey (37)
> .El
> .Pp
> Base colors with bit 3 (the bright foreground flag)
> set.  The terminal escape for successive bright text
> is ^[[1m.
> .Pp
> .Bl -hang -offset indent -compact
> .It 0
> Dark Grey
> .It 1
323c341
< .It 10
---
> .It 2
325c343
< .It 11
---
> .It 3
327c345
< .It 12
---
> .It 4
329c347
< .It 13
---
> .It 5 
331c349
< .It 14
---
> .It 6
333c351
< .It 15
---
> .It 7
336,338c354
< .Pp
< It can be seen that the last 8 colors are brighter
< versions of the first 8.
---
> .lt 1
344,346c360,362
< specify an uppercase A (character code 65), in
< yellow (low nibble 15) on a light blue background
< (high nibble 9).
---
> specify an uppercase A (character code 65), blinking
> (bit 7 set) in yellow (bits 3:0) on a blue background
> (bits 6:4).
490a507
> .An Robert Drehmel Aq robert@zoot.quizbot.org

>Release-Note:
>Audit-Trail:

From: Dima Dorfman <dima@unixfreak.org>
To: Robert Drehmel <robert@zoot.quizbot.org>
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: docs/28000: adding and changing information in vidcontrol(1) 
Date: Sat, 09 Jun 2001 17:21:45 -0700

 Robert Drehmel <robert@zoot.quizbot.org> writes:
 > Index: vidcontrol.1
 > ===================================================================
 > RCS file: /home/ncvs/src/usr.sbin/vidcontrol/vidcontrol.1,v
 > retrieving revision 1.39
 > diff -r1.39 vidcontrol.1
 > 291c291
 > < PC video memory is typically arranged in two byte tuples,
 > ---
 > > VGA video memory is typically arranged in two byte tuples,
 
 Please submit a context diff.  Unified is preferred, but any context
 diff is better than this.
 
 > 490a507
 > > .An Robert Drehmel Aq robert@zoot.quizbot.org
 
 I don't think this last bit is appropriate.  This is a list of *major*
 contributers.  We can't possibly list all contributors directly in the
 man page; that's what CVS logs are for.
 
 Regards,
 
 					Dima Dorfman
 					dima@unixfreak.org
State-Changed-From-To: open->closed 
State-Changed-By: murray 
State-Changed-When: Mon Sep 3 17:54:45 PDT 2001 
State-Changed-Why:  
Your submission has been committed to -CURRENT, thanks!  Your name is 
not listed in the contributors list because it is expected that those 
people made significant contributions to the code.  Unfortunately we 
can't list all of the people that have contributed to the 
documentation in the man page, but your submission is still very much 
appreciated! 


http://www.FreeBSD.org/cgi/query-pr.cgi?pr=28000 
>Unformatted:
