Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Jan 2011 22:54:16 -0600
From:      "David J. Weller-Fahy" <dave-lists-freebsd-questions@weller-fahy.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: How to adjust man page line length
Message-ID:  <20110120045416.GM90952@weller-fahy.com>
In-Reply-To: <20110118203958.033c4ead.freebsd@edvax.de>
References:  <20110118034037.GF90952@weller-fahy.com> <8162039A-6C07-4C88-928C-AAB4DD0FFCFE@hiwaay.net> <20110118203958.033c4ead.freebsd@edvax.de>

next in thread | previous in thread | raw e-mail | index | archive | help

--08ATZu8fEq0x2T3M
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* Polytropon <freebsd@edvax.de> [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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110120045416.GM90952>