From owner-freebsd-questions@FreeBSD.ORG Thu Jan 20 11:59:47 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8C1C6106566B for ; Thu, 20 Jan 2011 11:59:47 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id DFF008FC14 for ; Thu, 20 Jan 2011 11:59:46 +0000 (UTC) X-Spam-Status: No X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-2.9, required 5, autolearn=not spam, ALL_TRUSTED -1.00, BAYES_00 -1.90) X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-ID: p0KBxS7q024324 Received: from gkeramidas-glaptop.linux.gr ([74.125.57.36]) (authenticated bits=0) by igloo.linux.gr (8.14.3/8.14.3/Debian-9.4) with ESMTP id p0KBxS7q024324 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Thu, 20 Jan 2011 13:59:36 +0200 From: Giorgos Keramidas To: freebsd-questions@freebsd.org References: <20110118034037.GF90952@weller-fahy.com> <20110118182918.GA14251@Grumpy.DynDNS.org> <20110120045145.GL90952@weller-fahy.com> Date: Thu, 20 Jan 2011 12:59:22 +0100 In-Reply-To: <20110120045145.GL90952@weller-fahy.com> (David J. Weller-Fahy's message of "Wed, 19 Jan 2011 22:51:45 -0600") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Subject: Re: How to adjust man page line length [SOLVED] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Jan 2011 11:59:47 -0000 --=-=-= Content-Type: text/plain On Wed, 19 Jan 2011 22:51:45 -0600, "David J. Weller-Fahy" wrote: > * Giorgos Keramidas [2011-01-19 02:57 -0500]: >> On Tue, 18 Jan 2011 12:29:18 -0600, David Kelly 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----- --=-=-=--