From mi@ALDAN.algebra.com  Fri Mar  8 11:16:10 1996
Received: from who.cdrom.com (who.cdrom.com [192.216.222.3])
          by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id LAA06519
          for <FreeBSD-gnats-submit@FreeBSD.ORG>; Fri, 8 Mar 1996 11:16:09 -0800 (PST)
Received: from aldan (PPP-84-6.BU.EDU [128.197.8.122])
          by who.cdrom.com (8.6.12/8.6.11) with ESMTP id JAA27910
          for <FreeBSD-gnats-submit@freebsd.org>; Fri, 8 Mar 1996 09:53:01 -0800
Received: (from mi@localhost) by aldan (8.6.12/8.6.12) id MAA16865; Fri, 8 Mar 1996 12:53:13 -0500
Message-Id: <199603081753.MAA16865@aldan>
Date: Fri, 8 Mar 1996 12:53:13 -0500
From: mi@ALDAN.algebra.com
Reply-To: mi@ALDAN.algebra.com
To: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: man ignores -P option when combined with -k
X-Send-Pr-Version: 3.2

>Number:         1068
>Category:       bin
>Synopsis:       man ignores -P option when combined with -k
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar  8 11:20:01 PST 1996
>Closed-Date:    Mon Sep 16 15:53:42 PDT 1996
>Last-Modified:  Mon Sep 16 15:56:08 PDT 1996
>Originator:     Mikhail Teterin
>Release:        FreeBSD 2.1-STABLE i386
>Organization:
>Environment:

	No PAGER environment variable set.

>Description:

	When asked for a specific PAGER on command-line with -P option
	man uses the pager properly. However, when asked for -k (apropos)
	man executes /usr/bin/apropos -- a shell script, which only checks
	for PAGER variable in the environment, but does not accept the -P
	option. So
		man -P <pager> -k <whatever>
	is always outputed through more -s (or your $PAGER).

>How-To-Repeat:

	man -P less -k man
	suspend with ^Z
	ps -ww

>Fix:
	
	Set the $PAGER will work around.  /usr/bin/apropos needs a fix, IMHO.

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: wosch 
State-Changed-When: Mon Sep 16 15:53:42 PDT 1996 
State-Changed-Why:  
fixed in man.c, rev 1.19 
>Unformatted:
