Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jan 2011 12:59:22 +0100
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        freebsd-questions@freebsd.org
Subject:   Re: How to adjust man page line length [SOLVED]
Message-ID:  <xeia39onvl9h.fsf@kobe.laptop>
In-Reply-To: <20110120045145.GL90952@weller-fahy.com> (David J. Weller-Fahy's message of "Wed, 19 Jan 2011 22:51:45 -0600")
References:  <20110118034037.GF90952@weller-fahy.com> <xeia7he29lxq.fsf@kobe.laptop> <20110118182918.GA14251@Grumpy.DynDNS.org> <xeia1v49jmub.fsf@kobe.laptop> <20110120045145.GL90952@weller-fahy.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--=-=-=
Content-Type: text/plain

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


--=-=-=
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAk04I5oACgkQ1g+UGjGGA7bqqACfd79XEhiIZLiViGGElu2+JqLk
e8cAn3aLFkyPhoBjnUTcVN2tAKseqoVf
=PNnt
-----END PGP SIGNATURE-----
--=-=-=--



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