From mi@aldan.algebra.com  Wed Apr  6 20:12:11 2005
Return-Path: <mi@aldan.algebra.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 104DD16A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  6 Apr 2005 20:12:11 +0000 (GMT)
Received: from aldan.algebra.com (aldan.algebra.com [216.254.65.224])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 9233143D2D
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  6 Apr 2005 20:12:10 +0000 (GMT)
	(envelope-from mi@aldan.algebra.com)
Received: from aldan.algebra.com (mi@localhost [127.0.0.1])
	by aldan.algebra.com (8.13.1/8.13.1) with ESMTP id j36KC7hH007303
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO)
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 6 Apr 2005 16:12:07 -0400 (EDT)
	(envelope-from mi@aldan.algebra.com)
Received: (from mi@localhost)
	by aldan.algebra.com (8.13.1/8.13.1/Submit) id j36KC7rb007302;
	Wed, 6 Apr 2005 16:12:07 -0400 (EDT)
	(envelope-from mi)
Message-Id: <200504062012.j36KC7rb007302@aldan.algebra.com>
Date: Wed, 6 Apr 2005 16:12:07 -0400 (EDT)
From: Mikhail Teterin <mi@aldan.algebra.com>
To: FreeBSD-gnats-submit@freebsd.org
Subject: grok and default to bzip2-compressed manual pages [patch]
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         79607
>Category:       bin
>Synopsis:       [patch] man(1) grok and default to bzip2-compressed manual pages
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    obrien
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 06 20:20:09 GMT 2005
>Closed-Date:    Fri Nov 30 02:23:34 UTC 2012
>Last-Modified:  Fri Nov 30 02:23:34 UTC 2012
>Originator:     Mikhail Teterin
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
Virtual Estates, Inc.
>Environment:
System: FreeBSD mi.us.murex.com 5.4-STABLE FreeBSD 5.4-STABLE

>Description:
        Currently our man(1) does not know, what to do with a
	bzip2-compressed manual page.

	The patch adds this ability and defaults to using bzip2 as the
	compressor and modifies the bsd.own.mk to use bzip2 and .bz2 as
	extensions.

        When commited, and entry should be added to UPDATING to advise
	users to summarily remove their .gz man-pages and adjust their
	/etc/make.conf files, where some set COMPRESS_CMD/COMPRESS_EXT .

>How-To-Repeat:

>Fix:

        http://virtual-estates.net/~mi/man-bz2.patch
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->obrien 
Responsible-Changed-By: obrien 
Responsible-Changed-When: Mon Sep 26 16:06:37 GMT 2005 
Responsible-Changed-Why:  
I've been wanting this for a long time. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=79607 
State-Changed-From-To: open->patched 
State-Changed-By: arundel 
State-Changed-When: Sat Nov 13 10:37:11 UTC 2010 
State-Changed-Why:  
The new man schell script handles bzip2-compressed manual pages just fine. As 
for using bzip2 as a manual page compression algorithm: at this point it seems 
more logical to use xz(1) for this, because of it's superior compression ratio. 
Right now the man shell script doesn't seem to handle xz compressed manual 
pages: troff(1) segfaults. I'll contact Gordon and see, if he can add xz support 
to the man shell script. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=79607 
State-Changed-From-To: patched->closed 
State-Changed-By: obrien 
State-Changed-When: Fri Nov 30 02:23:15 UTC 2012 
State-Changed-Why:  
Fixed with r216140 

http://www.freebsd.org/cgi/query-pr.cgi?pr=79607 
>Unformatted:
