From owner-freebsd-bugs Thu May 2 4:20:21 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 95F4F37B432 for ; Thu, 2 May 2002 04:20:01 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g42BK1H57594; Thu, 2 May 2002 04:20:01 -0700 (PDT) (envelope-from gnats) Received: from armadillo.yoyo.org (armadillo.yoyo.org [195.40.6.65]) by hub.freebsd.org (Postfix) with ESMTP id B35B337B405 for ; Thu, 2 May 2002 04:16:51 -0700 (PDT) Received: by armadillo.yoyo.org (Postfix, from userid 135) id 8638144160; Thu, 2 May 2002 12:16:39 +0100 (BST) Message-Id: <20020502111639.8638144160@armadillo.yoyo.org> Date: Thu, 2 May 2002 12:16:39 +0100 (BST) From: Peter Lowe Reply-To: Peter Lowe To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: bin/37662: man(1) fails to display anything if $PAGER is set but blank Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 37662 >Category: bin >Synopsis: man(1) fails to display anything if $PAGER is set but blank >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu May 02 04:20:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Peter Lowe >Release: FreeBSD 4.3-STABLE i386 >Organization: >Environment: FreeBSD mili.pha.ct.cz 4.5-RELEASE FreeBSD 4.5-RELEASE #1: Thu Apr 25 09:57:40 GMT 2002 pgl@mili.pha.ct.cz:/usr/src/sys/compile/MILI i386 >Description: man(1) fails to display anything if $PAGER is set but blank. This can be confusing as unset environment variables and ones with no value appear to be the same when echoing. >How-To-Repeat: [mili:pgl]:~ $ export PAGER= [mili:pgl]:~ $ man man >Fix: patch man's source to check for $PAGER with a non-zero value. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message