From owner-freebsd-stable@FreeBSD.ORG Thu Sep 27 19:19:07 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 030EC106566B for ; Thu, 27 Sep 2012 19:19:07 +0000 (UTC) (envelope-from jamie@kode5.net) Received: from kontrol.kode5.net (kontrol.kode5.net [80.229.5.32]) by mx1.freebsd.org (Postfix) with ESMTP id 5B1318FC08 for ; Thu, 27 Sep 2012 19:19:05 +0000 (UTC) Received: from kontrol.kode5.net (localhost [127.0.0.1]) by kontrol.kode5.net (8.14.5/8.14.5) with ESMTP id q8RJIwBd005412 for ; Thu, 27 Sep 2012 20:18:58 +0100 (BST) (envelope-from jamie@kode5.net) Received: (from jamie@localhost) by kontrol.kode5.net (8.14.5/8.14.5/Submit) id q8RJIvVt005411 for freebsd-stable@freebsd.org; Thu, 27 Sep 2012 20:18:58 +0100 (BST) (envelope-from jamie@kode5.net) X-Authentication-Warning: kontrol.kode5.net: jamie set sender to jamie@kode5.net using -f Date: Thu, 27 Sep 2012 20:18:57 +0100 From: Jamie Paul Griffin To: freebsd-stable@freebsd.org Message-ID: <20120927191857.GA2389@kontrol.kode5.net> References: <20120925115801.GE6954@kontrol.kode5.net> <20120926170258.GI69724@acme.spoerlein.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20120926170258.GI69724@acme.spoerlein.net> x-operating-system: FreeBSD 9.1-PRERELEASE amd64 x-pgp-fingerprint: A4B9 E875 A18C 6E11 F46D B788 BEE6 1251 1D31 DC38 x-pgp-key: 1D31DC38 User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: clamav-milter 0.97.6 at kontrol.kode5.net X-Virus-Status: Clean 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: Thu, 27 Sep 2012 19:19:07 -0000 [ Ulrich Spörlein wrote on Wed 26.Sep'12 at 19:02:58 +0200 ] > 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 Thanks for your reply. Unfortunately, this is not the only man page it happens with; a number of pages show the same issue, usually with man pages that have been installed with ports.