From swear@aa.net  Tue Aug  7 22:55:13 2001
Return-Path: <swear@aa.net>
Received: from localhost.localdomain (host68.207.55.120.aadsl.com [207.55.120.68])
	by hub.freebsd.org (Postfix) with ESMTP id 2C16E37B401
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  7 Aug 2001 22:55:13 -0700 (PDT)
	(envelope-from swear@aa.net)
Received: (from jojo@localhost)
	by localhost.localdomain (8.11.3/8.11.3) id f785vMo62370;
	Tue, 7 Aug 2001 22:57:22 -0700 (PDT)
	(envelope-from swear@aa.net)
Message-Id: <mn1ymnrt4t.ymn@localhost.localdomain>
Date: 07 Aug 2001 22:57:22 -0700
From: swear@aa.net (Gary W. Swearingen)
Sender: jojo@localhost.localdomain
Reply-To: swear@aa.net
To: FreeBSD-gnats-submit@freebsd.org
Subject: syscons(4), sc(4) reference non-existant file for color values.
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         29534
>Category:       docs
>Synopsis:       syscons(4), sc(4) reference non-existant file for color values.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    ru
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 07 23:00:03 PDT 2001
>Closed-Date:    Mon Jul 22 07:23:35 PDT 2002
>Last-Modified:  Mon Jul 22 07:23:35 PDT 2002
>Originator:     Gary W. Swearingen
>Release:        FreeBSD 4.3-STABLE i386
>Organization:
none
>Environment:
n/a
================
>Description:

syscons(4) and sc(4) references non-existant "/usr/include/machine/pc/display.h"
file for users to get color values from (for setting driver options
in kernel configuration).

Tag-along: The man pages are identical and probably waste storage.
================
>How-To-Repeat:
<code/input/activities to reproduce the problem (multiple lines)>
================
>Fix:

Apply this PR/patch to the source file. I notice that the two man
pages are hard links of each other.  I don't know how handle the
patching, but this should be close.

patch -d "some uncompressed man/man4 dir" < this-PR

As for the tag-along (see above), I don't know how to "link" man
pages together in the compressed form.  ("gnudoit" unsuccessfully
attempts to do it with ".so man1/gnuserv.1" and I failed with
".so man4/sc.4.gz".)

 *** /tmp/old-sc.4	Tue Aug  7 21:52:59 2001
--- sc.4		Tue Aug  7 22:07:30 2001
***************
*** 312,318 ****
  .It Dv SC_KERNEL_CONS_REV_ATTR=_attribute_
  These options will set the default colors.
  Available colors are defined in
! .Pa /usr/include/machine/pc/display.h .
  See
  .Sx EXAMPLES
  below.
--- 312,319 ----
  .It Dv SC_KERNEL_CONS_REV_ATTR=_attribute_
  These options will set the default colors.
  Available colors are defined in
! .Pa /usr/src/sys/arch/include/pc/display.h,
! where "arch" is the platform architecture, e.g., "i386" or "alpha".
  See
  .Sx EXAMPLES
  below.
>Release-Note:
>Audit-Trail:

From: Ruslan Ermilov <ru@FreeBSD.ORG>
To: "Gary W. Swearingen" <swear@aa.net>
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: docs/29534: syscons(4), sc(4) reference non-existant file for color values.
Date: Wed, 8 Aug 2001 11:45:52 +0300

 On Tue, Aug 07, 2001 at 10:57:22PM -0700, Gary W. Swearingen wrote:
 > 
 > syscons(4) and sc(4) references non-existant "/usr/include/machine/pc/display.h"
 > file for users to get color values from (for setting driver options
 > in kernel configuration).
 > 
 The actual problem is the missing /usr/include/machine/pc/
 in SHARED=copies case.  I will try to fix this later.
 
 
 Cheers,
 -- 
 Ruslan Ermilov		Oracle Developer/DBA,
 ru@sunbay.com		Sunbay Software AG,
 ru@FreeBSD.org		FreeBSD committer,
 +380.652.512.251	Simferopol, Ukraine
 
 http://www.FreeBSD.org	The Power To Serve
 http://www.oracle.com	Enabling The Information Age
Responsible-Changed-From-To: freebsd-doc->ru 
Responsible-Changed-By: dd 
Responsible-Changed-When: Mon Sep 3 08:46:09 PDT 2001 
Responsible-Changed-Why:  
Ruslan wanted to fix the lack of /usr/include/machine/pc 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=29534 
State-Changed-From-To: open->closed 
State-Changed-By: ru 
State-Changed-When: Mon Jul 22 07:21:28 PDT 2002 
State-Changed-Why:  
There's now /usr/include/machine/pc in 4.6-STABLE and 5.0-CURRENT. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=29534 
>Unformatted:
