Mail Archives: cygwin/2004/11/24/11:02:41
On Tue, 23 Nov 2004, Brian Dessent wrote:
> Dave wrote:
>
> > 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
>
> > -NROFF /usr/bin/nroff -c -mandoc 2>/dev/null
> > +NROFF /usr/bin/nroff -c -mandoc -rLL=`echo $MANWIDTH`n -rLT=`echo $MANWIDTH`n 2>/dev/null
>
> Just a little more info about how debian does this, in case someone
> wants to flesh this out for it to do "the right thing".
> [snip]
> I think they must be using their own patched version of man which adds
> all of the above functionality. "man --version" says "man, version
> 2.4.2, 2003-09-20". It has no man.conf that I can find.
As I said in <http://cygwin.com/ml/cygwin/2004-11/msg00941.html>, the
problem is not with man, but with groff. With MANWIDTH=130, Cygwin's man
dutifully echoes '.ll 11.7i', which the nroff process promptly ignores.
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 -