Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jan 2011 22:33:15 -0600
From:      Dan Nelson <dnelson@allantgroup.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: How to adjust man page line length
Message-ID:  <20110118043315.GJ75125@dan.emsphone.com>
In-Reply-To: <20110118034037.GF90952@weller-fahy.com>
References:  <20110118034037.GF90952@weller-fahy.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Jan 17), David J. Weller-Fahy said:
> To expand on the question in the subject: How does one tell `man` not to
> automatically format man pages to 80 columns?  I'm looking for a fairly
> easy way to do this, or confirmation it would involve internal gymnastics
> I may not be willing to perform.

For FreeBSD-originated manpages, it looks like the line length is taken from
the .ll and .lt definitions in /usr/share/tmac/mdoc/doc-nroff .  If you
comment them out, you get the groff default width of 6 inches.  I don't know
if groff can pull values from environment variables or the physical TTY.

-- 
	Dan Nelson
	dnelson@allantgroup.com



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