From owner-freebsd-hackers@FreeBSD.ORG Thu Jul 29 13:22:42 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EAEF416A4CE for ; Thu, 29 Jul 2004 13:22:42 +0000 (GMT) Received: from dastardly.newsbastards.org.72.27.172.IN-addr.ARPA.NOSPAM.dyndns.dk (80-219-174-97.dclient.hispeed.ch [80.219.174.97]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4D91643D48 for ; Thu, 29 Jul 2004 13:22:41 +0000 (GMT) (envelope-from bounce@NOSPAM.dyndns.dk) Received: from Mail.NOSPAM.DynDNS.dK (ipv6.NOSPAM.dyndns.dk [2002:50db:ae61:0:220:afff:fed4:dbcb]) (8.11.6/8.11.6-SPAMMERS-DeLiGHt) with ESMTP id i6TDMPp01607 verified NO) for ; Thu, 29 Jul 2004 15:22:29 +0200 (CEST) (envelope-from bounce@NOSPAM.dyndns.dk) Received: (from beer@localhost) by Mail.NOSPAM.DynDNS.dK (8.11.6/FNORD) id i6TDMOe01606; Thu, 29 Jul 2004 15:22:25 +0200 (CEST) (envelope-from bounce@NOSPAM.dyndns.dk) Date: Thu, 29 Jul 2004 15:22:25 +0200 (CEST) Message-Id: <200407291322.i6TDMOe01606@Mail.NOSPAM.DynDNS.dK> X-Authentication-Warning: localhost.newsbastards.org.72.27.172.IN-addr.A: beer set sender to bounce@NOSPAM.dyndns.dk using -f X-Authentication-Warning: localhost.newsbastards.org.72.27.172.IN-addr.A: Processed from queue /tmp X-Authentication-Warning: localhost.newsbastards.org.72.27.172.IN-addr.A: Processed by beer with -C /etc/mail/sendmail.cf-LOCAL From: Barry Bouwsma To: FreeBSD Hackers X-Mailman-Approved-At: Fri, 30 Jul 2004 12:10:41 +0000 Subject: man/cat pages, compressed/or not X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Jul 2004 13:22:43 -0000 Salutations, dudes. I've added an unsightly hack to `man' so that when it creates catpages from the compressed manpages, it's possible that they can be created uncompressed (for the benefit of older slower machines with newer big disks). But I'm wondering what's the best way to do this, if this is something that might be of general interest... (I think I also took a meatgrinder to `catman' some time back to get it to spit out uncompressed pages. I can't remember what problems I may have had, in that `man' didn't seem to want to use these pages, but that may be solved by my latest hacks.) There's a make.conf variable one can set to create uncompressed man pages; should there be something similar to decide whether man should create compressed or uncompressed catpages? Right now, I just let one define another option, which makes man put out uncompressed pages, in the Makefile (where the DO_COMPRESS is defined). Purely as a proof of concept. Is such an option desirable for anyone else as well? With this, one can have compressed manpages (to save space on seldom-accessed files), and uncompressed corresponding catpages for fast access... (I know, you'll tell me that if I have a big disk and a slow machine, there's no reason to want compressed manpages to go with the uncompressed catpages, so set NOMANCOMPRESS=true.) thanks barry bouwsma