Skip site navigation (1)Skip section navigation (2)
Date:      Thu,  2 May 2002 12:16:39 +0100 (BST)
From:      Peter Lowe <pgl@yoyo.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   bin/37662: man(1) fails to display anything if $PAGER is set but blank
Message-ID:  <20020502111639.8638144160@armadillo.yoyo.org>

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

>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




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