delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/11/23/08:57:30

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
Date: Tue, 23 Nov 2004 08:56:52 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Raye Raskin <rayer AT pobox DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: Manual page width is fixed and I'd like it not to be
In-Reply-To: <000501c4d107$993b40b0$5709a443@c40624a>
Message-ID: <Pine.GSO.4.61.0411230852470.20353@slinky.cs.nyu.edu>
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> <000d01c4d0fe$4dafe460$5709a443 AT c40624a> <Pine DOT GSO DOT 4 DOT 61 DOT 0411222120540 DOT 20353 AT slinky DOT cs DOT nyu DOT edu> <000501c4d107$993b40b0$5709a443 AT c40624a>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.39

On Mon, 22 Nov 2004, Raye Raskin wrote:

> ----- Original Message -----
> From: "Igor Pechtchanski" <pechtcha AT XX DOT XXX DOT XXX>
> To: "Raye Raskin" <rayer AT XXXXX DOT XXX>
> Cc: <cygwin AT XXXXXX DOT XXX>

Again, <http://cygwin.com/acronyms/#PCYMTNQREAIYR>.  Thanks.

> Sent: Monday, November 22, 2004 6:30 PM
> Subject: Re: Manual page width is fixed and I'd like it not to be
>
> > On Mon, 22 Nov 2004, Raye Raskin wrote:
> >
> > > ----- Original Message -----
> > > From: "Christopher Faylor" <cgf-no-personal-reply-please AT XXXXXX DOT XXX>
> > > To: <cygwin AT XXXXXX DOT XXX>
> >
> > <http://cygwin.com/acronyms/#PCYMTNQREAIYR>.  Thanks.
> >
> > > Sent: Monday, November 22, 2004 5:35 PM
> > > Subject: Re: Manual page width is fixed and I'd like it not to be
> > >
> > > > On Mon, Nov 22, 2004 at 06:50:57PM -0500, Aaron Miller 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.
> > >
> > > Dear Christopher,
> > >
> > > There has to be a better way than refusing emails just because
> > > the word xterm is in the body of the message.
> > >
> > > I really don't like doing (granted, just a little) research and
> > > replying to a problem in a effort to help out just to get it
> > > moderated into the bit bucket because someone in power thinks
> > > the subject taints the purity of the cygwin mailing list.
> > >
> > > Assuming this message isn't blocked as well, here is my reply
> > > that was bounced earlier:
> > >
> > >  According to the man man page, $MANWIDTH should address your
> > >  precise issue, but on my system setting $MANWIDTH has no effect.
> > >  I guess this makes it a bug.  Either in the doc or the bin!
> >
> > Well, that's not a full bug report, since man uses a cached cat page if
> > it's present.  So, unless your system doesn't have the cat directories,
> > you need to run "man -c" to force regeneration of cat pages.  That said, I
> > confirm that "MANWIDTH=20 man -c man" still produces an 80-column manpage.
> > But then, hey, it doesn't work on Linux (RedHat 9) either.  We must be
> > misreading the man manpage. :-)
> > Igor
>
> I tried man on my SuSE 9.1 Linux and it (1) follows the size of the
> xterm automatically and (2) follows the $MANWIDTH directive as well.

Some more info.  The problem is not with man, it's with nroff.  Version
1.18.1 of groff (which we have in Cygwin, and which I have on my RedHat 9
machine) seems to ignore the ".ll" directive that man sends it.  Version
1.17.2, which comes with RedHat 7.3, works fine.  This seems to be an
upstream change in behavior, and not Cygwin-specific.  Any further
discussion should probably be taken to a groff list (if there is one).
Hope this helps someone.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

--
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