delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/11/22/21:00:42

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <41A29A69.2FC4C558@dessent.net>
Date: Mon, 22 Nov 2004 18:03:21 -0800
From: Brian Dessent <brian AT dessent DOT net>
Organization: My own little world...
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Manual page width is fixed and I'd like it not to be
References: <41A17406 DOT 9050200 AT connext DOT net> <000601c4d052$32698b90$5709a443 AT c40624a> <41A1826D DOT 30107 AT connext DOT net> <41A1849F DOT 7050709 AT connext DOT net> <20041122153258 DOT GE25781 AT trixie DOT casa DOT cgf DOT cx> <41A27B61 DOT 8060707 AT connext DOT net> <20041123013542 DOT GC3409 AT trixie DOT casa DOT cgf DOT cx>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com

Christopher Faylor wrote:

> >Thanks for the pointer, and I'll ask on the cygwin-xfree list as well.
> >It's not really a query about xterm, though: using a shortcut that
> >starts bash in a standard Windows command-shell which is 100 columns
> >wide, if I ask for a manual page, I still get it formatted to eighty
> >columns.  I mentioned xterms since that's what I prefer to use, but
> >it's not by any means a problem exclusive to those.
> 
> Ok, you and three or four other people made this point after I blocked
> the subject here because I thought it was xterm specific.
> 
> Instead, it isn't even cygwin-specific.  All of my man pages are
> formatted to 80 columns on linux, too.  If you think about how man
> works, where it caches the formatted output in a separate directory
> it is easy to see why that is the case.

FYI, I have not looked at how it does it, but Debian linux gets this
right.  Manpages are formatted to the screen width (be that rxvt,
cmd.exe, local VC, whatever.)  I have always found manpages more
pleasing without the vast waste of screen realestate that most 'man'
implementations have.

In fact Cygwin's "man man" mentions this:

      MANWIDTH
              If MANWIDTH is set, its value is  used  as  the  width 
manpages
              should  be displayed.  Otherwise the pages may be
displayed over
              the whole width of your screen.

...which is false on both counts: it does not honor the MANWIDTH env.var
and it does not size to the screen's natural width.

Brian

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019