From owner-freebsd-stable@FreeBSD.ORG Wed Sep 26 17:03:02 2012 Return-Path: Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B47AF1065672 for ; Wed, 26 Sep 2012 17:03:02 +0000 (UTC) (envelope-from uqs@FreeBSD.org) Received: from acme.spoerlein.net (acme.spoerlein.net [IPv6:2a01:4f8:131:23c2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 4CA8B8FC08 for ; Wed, 26 Sep 2012 17:03:02 +0000 (UTC) Received: from localhost (acme.spoerlein.net [IPv6:2a01:4f8:131:23c2::1]) by acme.spoerlein.net (8.14.5/8.14.5) with ESMTP id q8QH2wOp099220 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Wed, 26 Sep 2012 19:03:00 +0200 (CEST) (envelope-from uqs@FreeBSD.org) Date: Wed, 26 Sep 2012 19:02:58 +0200 From: Ulrich =?utf-8?B?U3DDtnJsZWlu?= To: Jamie Paul Griffin Message-ID: <20120926170258.GI69724@acme.spoerlein.net> Mail-Followup-To: Jamie Paul Griffin , freebsd-stable@freebsd.org References: <20120925115801.GE6954@kontrol.kode5.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120925115801.GE6954@kontrol.kode5.net> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-stable@FreeBSD.org Subject: Re: Problem with zcat uncompressing man pages X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Sep 2012 17:03:02 -0000 On Tue, 2012-09-25 at 12:58:01 +0100, Jamie Paul Griffin wrote: > Hi > > When I read 'certain' -- not all -- man pages zcat writes a small error to stderr when opening the man page; however, the man page does actually open. The message i get on the terminal is: > > zcat: error writing to output: Broken pipe > zcat: /usr/local/man/man5/muttrc.5.gz: uncompress failed > > When closing the man page, another message is shown on stderr: > > grotty: ():54131:fatal error: output error > > > Would anyone here know the possible cause and fix for this issue? Well, what is /usr/local/man/man5/muttrc.5.gz? ls -l /usr/local/man/man5/muttrc.5.gz file /usr/local/man/man5/muttrc.5.gz zcat /usr/local/man/man5/muttrc.5.gz | head -5 xxd /usr/local/man/man5/muttrc.5.gz | head It looks like you simple have a garbled manpage, and the catpage is displayed instead. Cheers Uli