From owner-freebsd-bugs Fri Mar 8 11:20:05 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA07037 for bugs-outgoing; Fri, 8 Mar 1996 11:20:05 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA07026 Fri, 8 Mar 1996 11:20:03 -0800 (PST) Resent-Date: Fri, 8 Mar 1996 11:20:03 -0800 (PST) Resent-Message-Id: <199603081920.LAA07026@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, mi@ALDAN.algebra.com 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 ; 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 ; 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 X-Send-Pr-Version: 3.2 Subject: bin/1068: man ignores -P option when combined with -k Sender: owner-bugs@FreeBSD.ORG X-Loop: owner-bugs@FreeBSD.ORG Precedence: bulk >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 -k 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: