[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#192144: xlibmesa-glu-dev: manpages broken



On Wed, May 21, 2003 at 11:58:55AM -0700, Chris Waters wrote:
> On Wed, May 21, 2003 at 03:29:00PM +0100, Colin Watson wrote:
> > On Wed, May 21, 2003 at 04:18:44PM +0200, David Schmitt wrote:
> > > Sorry for the meager explanation, but I thought it was obvious when
> > > viewing the manpages. Matrices are displayed with _huge_ vertical space:
> 
> > Bizarrely, I can't reproduce this with man but can when I run the exact
> > same commands executed by man by hand. I'm now confused and will try to
> > figure out what on earth's going on.
> 
> By default, man passes the -s option to pager, which (normally)
> squeezes multiple blank lines into one.  This is (generally) the Right
> Thing(tm).

Good call, I'd forgotten about that.

> David: you might want to look into what's wrong with your
> pager (check the $PAGER env variable and the /etc/alternatives/pager
> link), and stick to something that supports -s.

There's almost certainly nothing wrong with his pager. man only sets -s
for its default pager, not for random stuff in the $PAGER variable
(which I had unset). I should add -s to the default $LESS set by man, I
think.

However, there is still a clear bug in eqn's output, forgetting about
the pager issues. I don't yet know whether it's a bug in the input or in
the output.

> Colin: you might want to try postscript output (man -Tps) and see how
> the page looks that way; as far as I'm concerned, that's the real test
> of a man page.

It's not quite as bad, but the matrix could easily be squeezed onto the
first page and isn't, so there's probably a spacing issue there, and the
brackets around the matrix are set too high.

Cheers,

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]




Reply to: