From nordwick@erdos.hq.askjeeves.com  Sat Apr  1 20:02:35 2000
Return-Path: <nordwick@erdos.hq.askjeeves.com>
Received: from erdos.hq.askjeeves.com (erdos.hq.askjeeves.com [208.178.104.8])
	by hub.freebsd.org (Postfix) with ESMTP id AED7537B990
	for <FreeBSD-gnats-submit@freebsd.org>; Sat,  1 Apr 2000 20:02:32 -0800 (PST)
	(envelope-from nordwick@erdos.hq.askjeeves.com)
Received: (from nordwick@localhost)
	by erdos.hq.askjeeves.com (8.9.3/8.9.3) id TAA50143;
	Sat, 1 Apr 2000 19:03:40 -0800 (PST)
	(envelope-from nordwick)
Message-Id: <200004020303.TAA50143@erdos.hq.askjeeves.com>
Date: Sat, 1 Apr 2000 19:03:40 -0800 (PST)
From: nordwick@askjeeves.com
Sender: nordwick@erdos.hq.askjeeves.com
Reply-To: nordwick@askjeeves.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: wrong environment variable in manpage
X-Send-Pr-Version: 3.2

>Number:         17745
>Category:       docs
>Synopsis:       wrong environment variable in manpage
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    sheldonh
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr  1 20:10:01 PST 2000
>Closed-Date:    Wed Apr 5 07:02:19 PDT 2000
>Last-Modified:  Wed Apr  5 07:03:23 PDT 2000
>Originator:     Jason Nordwick
>Release:        FreeBSD 4.0-STABLE i386
>Organization:
>Environment:
FreeBSD erdos.hq.askjeeves.com 4.0-STABLE FreeBSD 4.0-STABLE #0: Fri Mar 17 15:24:13 PST 2000     nordwick@erdos.hq.askjeeves.com:/usr/src/sys/compile/ERDOS  i386
	

>Description:
The "man" manpage says MANSEC is the environment variable to set to tell
which sections to search through, but it should be MANSECT  (I think, I
figured this out by "strings"ing /usr/bin/man).

	

>How-To-Repeat:
$man man
now look where it says MANSEC
$MANSEC=2 man write
will bring up write(1)
$MANSECT=2 man write
will correctly bring up write(2)

	

>Fix:
just change it?

	


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-doc->sheldonh 
Responsible-Changed-By: sheldonh 
Responsible-Changed-When: Wed Apr 5 06:55:38 PDT 2000 
Responsible-Changed-Why:  
I'll take this one, since I feel bad about not having fixed it 
the first time I noticed it. :-) 
State-Changed-From-To: open->closed 
State-Changed-By: sheldonh 
State-Changed-When: Wed Apr 5 07:02:19 PDT 2000 
State-Changed-Why:  
Fixed in rev 1.12, thanks!  Could you please do the "responsible 
citizen" thing and report this to the GNU man maintainers as  
well? :-) 

Thanks, 
Sheldon. 
>Unformatted:
