On Wed, 19 Jan 2011 22:51:45 -0600, "David J. Weller-Fahy" <dave-lists-freebsd-questi...@weller-fahy.com> wrote: > * Giorgos Keramidas <keram...@ceid.upatras.gr> [2011-01-19 02:57 -0500]: >> On Tue, 18 Jan 2011 12:29:18 -0600, David Kelly <dke...@hiwaay.net> wrote: >> > On Tue, Jan 18, 2011 at 06:11:13PM +0100, Giorgos Keramidas wrote: >> >> Set the 'columns' attribute of your tty: >> >> stty columns 60 >> >> man xxx >> > >> > *Should*? You posted without trying it? (I tried, did not work). > >> 'Should' as in "I tried it here and it worked". I'm running a recent >> CURRENT snapshot, but I don't think this affects the results. What >> does 'stty -a' show in your terminal? What is your shell's >> environment (e.g. the value of COLUMNS)? What is your PAGER? etc. > > Well... that was an interesting night of experimentation. Thanks for > the idea about stty (which I didn't know about), because otherwise I > might have gone mad (apparently COLUMNS isn't set in the environment of > a shell script... which makes sense when one thinks about it). > > Regardless, I ended up finding two solutions.
Nice! I'll check with our groff maintainer(s) to see if they have plans to MFC the latest man/groff stuff.
pgpxKqg0Mxboi.pgp
Description: PGP signature