Subject: misc/3248: man.conf is old
To: None <gnats-bugs@gnats.netbsd.org>
From: Chris Jones <cjones@rupert.oscs.montana.edu>
List: netbsd-bugs
Date: 02/23/1997 14:32:01
>Number:         3248
>Category:       misc
>Synopsis:       man.conf is inconsistent with e.g. section 9
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    misc-bug-people (Misc Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Feb 23 13:50:02 1997
>Last-Modified:
>Originator:     Chris Jones
>Organization:
-------------------------------------------------------------------------------
Chris Jones                                      cjones@rupert.oscs.montana.edu
           Mad scientist in training...
"Is this going to be a stand-up programming session, sir, or another bug hunt?"
>Release:        1.2
>Environment:
	
System: NetBSD rupert.oscs.montana.edu 1.2_BETA NetBSD 1.2_BETA (SLIM) #7: Tue Aug 6 19:52:09 MDT 1996 cjones@rupert.oscs.montana.edu:/home/src/sys/arch/mac68k/compile/SLIM mac68k


>Description:
1.  With the addition of section 9 to the manual, man.conf should look
in */cat9 and */man9 for man pages.

2.  Also, man.conf is written for X11R4, not X11R6.  Should these
references all be changed to X11 instead of X11Rn?

3.  gunzip is in /usr/bin, not /usr/contrib/bin.

4.  Specific sections should probably include */man?, as well as
*/cat?.

5.  Should _whatdb include /usr/local and /usr/X11?

>How-To-Repeat:
	
>Fix:
	
*** man.conf.old	Sun Feb 23 14:13:05 1997
--- man.conf	Sun Feb 23 14:23:09 1997
***************
*** 5,11 ****
  _whatdb		/usr/share/man/whatis.db
  
  # Subdirectories for paths ending in '/', IN SEARCH ORDER.
! _subdir		cat{1,8,6,2,3,4,5,7,3f}
  
  # Files typed by suffix and their commands.
  # Note the order, .Z must come after .[1-9].Z, or it will match first.
--- 5,11 ----
  _whatdb		/usr/share/man/whatis.db
  
  # Subdirectories for paths ending in '/', IN SEARCH ORDER.
! _subdir		cat{1,8,6,2,3,4,5,7,9,3f}
  
  # Files typed by suffix and their commands.
  # Note the order, .Z must come after .[1-9].Z, or it will match first.
***************
*** 14,21 ****
  _build		.[1-9].Z	/usr/bin/zcat %s | /usr/bin/nroff -man
  _build		.Z		/usr/bin/zcat %s
  _build		.0.Z		/usr/bin/zcat %s
! _build		.gz		/usr/contrib/bin/gunzip %s
! _build		.z		/usr/contrib/bin/gunzip %s
  _build		.nr		/usr/bin/nroff -man %s
  
  # Sections and their directories.
--- 14,21 ----
  _build		.[1-9].Z	/usr/bin/zcat %s | /usr/bin/nroff -man
  _build		.Z		/usr/bin/zcat %s
  _build		.0.Z		/usr/bin/zcat %s
! _build		.gz		/usr/bin/gunzip %s
! _build		.z		/usr/bin/gunzip %s
  _build		.nr		/usr/bin/nroff -man %s
  
  # Sections and their directories.
***************
*** 26,46 ****
  _default	/usr/{share,X11,contrib,local}/{man,man/old}/
  
  # Other sections that represent complete man subdirectories.
! X11		/usr/X11R4/man/
! X11R4		/usr/X11R4/man/
  contrib		/usr/contrib/man/
  local		/usr/local/man/
  new		/usr/contrib/man/
  old		/usr/share/man/old/
  
  # Specific section/directory combinations.
! 1		/usr/{share,X11R4,contrib,local}/{man/,man/old/}cat1
! 2		/usr/{share,X11R4,contrib,local}/{man/,man/old/}cat2
! 3		/usr/{share,X11R4,contrib,local}/{man/,man/old/}cat3
! 3F		/usr/share/man/cat3f
! 3f		/usr/share/man/cat3f
! 4		/usr/{share,X11R4,contrib,local}/{man/,man/old/}cat4
! 5		/usr/{share,X11R4,contrib,local}/{man/,man/old/}cat5
! 6		/usr/{share,X11R4,contrib,local}/{man/,man/old/}cat6
! 7		/usr/{share,X11R4,contrib,local}/{man/,man/old/}cat7
! 8		/usr/{share,X11R4,contrib,local}/{man/,man/old/}cat8
--- 26,47 ----
  _default	/usr/{share,X11,contrib,local}/{man,man/old}/
  
  # Other sections that represent complete man subdirectories.
! X11		/usr/X11R6/man/
! X11R6		/usr/X11R6/man/
  contrib		/usr/contrib/man/
  local		/usr/local/man/
  new		/usr/contrib/man/
  old		/usr/share/man/old/
  
  # Specific section/directory combinations.
! 1		/usr/{share,X11R6,contrib,local}/{man,man/old}/{cat1,man1}
! 2		/usr/{share,X11R6,contrib,local}/{man,man/old}/{cat2,man2}
! 3		/usr/{share,X11R6,contrib,local}/{man,man/old}/{cat3,man3}
! 3F		/usr/share/man/{cat3f,man3f}
! 3f		/usr/share/man/{cat3f,man3f}
! 4		/usr/{share,X11R6,contrib,local}/{man,man/old}/{cat4,man4}
! 5		/usr/{share,X11R6,contrib,local}/{man,man/old}/{cat5,man5}
! 6		/usr/{share,X11R6,contrib,local}/{man,man/old}/{cat6,man6}
! 7		/usr/{share,X11R6,contrib,local}/{man,man/old}/{cat7,man7}
! 8		/usr/{share,X11R6,contrib,local}/{man,man/old}/{cat8,man8}
! 9		/usr/{share,X11R6,contrib,local}/{man,man/old}/{cat9,man9}
>Audit-Trail:
>Unformatted: