Manual page width is fixed and I'd like it not to be

Dave d_inabox@yahoo.com
Tue Nov 23 22:29:00 GMT 2004


> ----- Original Message -----
> From: "Igor Pechtchanski" 
>
> > On Mon, 22 Nov 2004, Raye Raskin wrote:
> >
> > > ----- Original Message -----
> > > From: "Christopher Faylor" 
> >
> > > > 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.
> > > >
> > 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

Attached is a patch to man.conf, providing a (hacked) solution allowing MANWIDTH
to work (here at least). Only intended as a short term fixup for those who need
it :). Will need some work if you want it to cope with term resizing.

Thanks to http://lists.gnu.org/archive/html/groff/2003-03/msg00038.html

Enjoy,

Dave.


		
__________________________________ 
Do you Yahoo!? 
Meet the all-new My Yahoo! - Try it today! 
http://my.yahoo.com 
 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: man.conf.patch
URL: <http://cygwin.com/pipermail/cygwin/attachments/20041123/bae695a3/attachment.ksh>
-------------- next part --------------
--
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/


More information about the Cygwin mailing list