Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Mar 1996 12:53:13 -0500
From:      mi@ALDAN.algebra.com
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   bin/1068: man ignores -P option when combined with -k
Message-ID:  <199603081753.MAA16865@aldan>
Resent-Message-ID: <199603081920.LAA07026@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         1068
>Category:       bin
>Synopsis:       man ignores -P option when combined with -k
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar  8 11:20:01 PST 1996
>Last-Modified:
>Originator:     Mikhail Teterin
>Organization:
>Release:        FreeBSD 2.1-STABLE i386
>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.

>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199603081753.MAA16865>