From owner-freebsd-questions@FreeBSD.ORG Thu Jan 20 04:54:19 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 545E41065675 for ; Thu, 20 Jan 2011 04:54:19 +0000 (UTC) (envelope-from dave-lists-freebsd-questions@weller-fahy.com) Received: from tigger.weller-fahy.com (sinecure.xen.prgmr.com [64.71.167.144]) by mx1.freebsd.org (Postfix) with ESMTP id EFB108FC29 for ; Thu, 20 Jan 2011 04:54:18 +0000 (UTC) Received: (qmail 19102 invoked from network); 19 Jan 2011 20:56:37 -0800 Received: from unknown (HELO weller-fahy.com) (dave@weller-fahy.com@70.250.75.158) by tigger.weller-fahy.com with AES256-SHA encrypted SMTP; 19 Jan 2011 20:56:37 -0800 Date: Wed, 19 Jan 2011 22:54:16 -0600 From: "David J. Weller-Fahy" To: freebsd-questions@freebsd.org Message-ID: <20110120045416.GM90952@weller-fahy.com> Mail-Followup-To: freebsd-questions@freebsd.org References: <20110118034037.GF90952@weller-fahy.com> <8162039A-6C07-4C88-928C-AAB4DD0FFCFE@hiwaay.net> <20110118203958.033c4ead.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="08ATZu8fEq0x2T3M" Content-Disposition: inline In-Reply-To: <20110118203958.033c4ead.freebsd@edvax.de> User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: How to adjust man page line length X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Jan 2011 04:54:19 -0000 --08ATZu8fEq0x2T3M Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Polytropon [2011-01-18 13:44 -0500]: > man2pdf.sh: >=20 > #!/bin/sh > [ "$1" !=3D "" ] && zcat `man -w $1` | \ > groff -Tps -dpaper=3Da4 -P-pa4 -mandoc | ps2pdf - $1.pdf >=20 > This would cause groff to format for A4 paper width. It's fully > possible that a similar approach can be used for requesting a specific > terminal width given in characters, rather than inches or centimeters > (from a predefined value). I forgot to mention in the [SOLVED] email - thank you for mentioning the groff command-line, as it helped in both the initial and final solutions. Regards, --=20 dave [ please don't CC me ] --08ATZu8fEq0x2T3M Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (Darwin) iEYEARECAAYFAk03v/gACgkQzahokXOb2UxFyACgzRvA6Z6Ebu/ayCVXFMeHp56I LXcAn1lATR7oFsOEZei6cQHSJJHMFOGS =+QiE -----END PGP SIGNATURE----- --08ATZu8fEq0x2T3M--