From owner-freebsd-questions@freebsd.org Thu May 4 00:49:38 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 124E4D5A1FB for ; Thu, 4 May 2017 00:49:38 +0000 (UTC) (envelope-from steinex@nognu.de) Received: from mail-wm0-x22e.google.com (mail-wm0-x22e.google.com [IPv6:2a00:1450:400c:c09::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A28B3C for ; Thu, 4 May 2017 00:49:37 +0000 (UTC) (envelope-from steinex@nognu.de) Received: by mail-wm0-x22e.google.com with SMTP id m123so530480wma.0 for ; Wed, 03 May 2017 17:49:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nognu-de.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to:user-agent; bh=nHQHfpFiSqrx9Pw1jFmokgar83tLrYv4ktqKN3e/VTg=; b=DO7/6uwrmVlKV/YjBgH5RfveEfRNeU6lcqBQ8KuwIQq3UwCFS6qB3HlASRT80iW2Ot GBreyQjFaHvNHrC+6UljEOHGw3kTEhDHoCMBAypQ6Yk9H5ZP9IBhj0+UJ3Dwv+paRwsX ait+L1dI0BMRiM7Ye4z8rW1/xfNU6OLTbymiG559rc2fuIq30ogRO0bqtB9ENZqvnpjO WeB6CXxVFF0S57oVyySXVNHeGh25LRbQ48PMKR2MoqysRq5UZgx1G23VWY/nZNMD4/gB LjIZWasoFtXGg3Nx+18XHg4ZjVUmHzf1Vb2Hk8iaV+T2wGZCgScHHqoH5uwmIerAmd+g yXHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :in-reply-to:user-agent; bh=nHQHfpFiSqrx9Pw1jFmokgar83tLrYv4ktqKN3e/VTg=; b=gIm2I39u2W9dGZuztErcjYvOzeyFCi+VB6c/Bu/D0ttRSvw5ysPiTlA0QoJ+T0qbJY Dm5GRuvz/jh7MhcGxniMMTurfNmp2s377+L+QfRbLL5JJuXymYlIqNs1XISb3Q3UZaWw BB6X8Vdv//l8g4THp6BZ23bsEmOgUjNcfpprKuFgL9mmoYIvkjkbfOxL/Kv0atnD+C8O MKG/j2hKGA9924uQNerWM9WqJqV9+9WcUtu06W+WmCmvjd8dd3JAfwNAisDjZPWpOpSs IMiWpBHmbzMgKXpcTWZzFSr5g9P5noUcswPydPYSlhsArKmoeIfvscpjMf9zr4z1tpfo v+1Q== X-Gm-Message-State: AODbwcBhDNndjlrmNS4+enz/8zKbE4CEMrf3ipL8KLbAiuBU4EwNbhhe m0OHUgxsK/5FhA== X-Received: by 10.28.69.73 with SMTP id s70mr947609wma.36.1493858974883; Wed, 03 May 2017 17:49:34 -0700 (PDT) Received: from krenn.local ([2a02:908:e942:23c0:21e:8cff:fef1:ca6f]) by smtp.gmail.com with ESMTPSA id c139sm397550wmd.11.2017.05.03.17.49.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 03 May 2017 17:49:34 -0700 (PDT) Date: Thu, 4 May 2017 02:49:32 +0200 From: Frank Steinborn To: derek thomas Cc: "freebsd-questions@freebsd.org" Subject: Re: Man Page BSD-ism And Terminal Width Message-ID: <20170504004932.GA31346@krenn.local> Mail-Followup-To: derek thomas , "freebsd-questions@freebsd.org" References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.8.0 (2017-02-23) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 May 2017 00:49:38 -0000 derek thomas 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