How to adjust man page line length [SOLVED]

Giorgos Keramidas keramida at ceid.upatras.gr
Thu Jan 20 11:59:47 UTC 2011


On Wed, 19 Jan 2011 22:51:45 -0600, "David J. Weller-Fahy" <dave-lists-freebsd-questions at weller-fahy.com> wrote:
> * Giorgos Keramidas <keramida at ceid.upatras.gr> [2011-01-19 02:57 -0500]:
>> On Tue, 18 Jan 2011 12:29:18 -0600, David Kelly <dkelly at 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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20110120/073c586a/attachment.pgp


More information about the freebsd-questions mailing list