Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 May 2017 02:49:32 +0200
From:      Frank Steinborn <steinex@nognu.de>
To:        derek thomas <derekmthomas@outlook.com>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: Man Page BSD-ism And Terminal Width
Message-ID:  <20170504004932.GA31346@krenn.local>
In-Reply-To: <DM5PR22MB0604B7BC7AF0B325C639B8C5C0160@DM5PR22MB0604.namprd22.prod.outlook.com>
References:  <DM5PR22MB0604B7BC7AF0B325C639B8C5C0160@DM5PR22MB0604.namprd22.prod.outlook.com>

next in thread | previous in thread | raw e-mail | index | archive | help
derek thomas <derekmthomas@outlook.com> wrote:
> Not all man pages on my system fit the width of my terminal. The MANWIDTH variable as described in man(1) should be the solution, but I've discovered that many if not all man page sources in base at least don't seem to respect the  variable.  As though width was hard-coded.   Other sources do respect it, such as /usr/share/man/man1/nroff.1.gz, and notably others in ports. So I suppose there is some FreeBSD-ism going on in the source format.
> 
> I ruled out my processing pipeline.
> nroff -man [sourcefile] demonstrates the same differences in files.
> 
> Should I dig further for a proper man-macro code fix? Or am I overlooking something?  Is this expected behaviour?
> 
> Thanks

Hi,

can you give an example of a manpage in base that does not respect
MANWIDTH? I just tried a few that came into my mind and all worked with
MANWIDTH=tty.

Best regards,
Frank




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