severity 335411 wishlist
tags 335411 help
thanks

On Sun, Mar 16, 2008 at 11:50:07PM +0100, Josip Rodin wrote:
> LI Daobing wrote:
> > when I use `man -Hfirefox man' to see manpage in firefox, I can't see
> > the image. I think man delete the images right after the browser return.
> 
> I just saw the same... it looks like the whole /tmp/<tempdir> goes missing
> the moment the browser is forked.

I really can't see any obvious way to fix this. I don't think it's good
to leave temporary file litter lying around, and yet, when you use
-Hfirefox (particularly if you already have firefox running so that it
uses the remote protocol), firefox returns control before it loads the
images. I'm afraid I don't see a sensible way for man to do anything
about this, short perhaps of an environment variable that would let you
stop it deleting temporary files, but then the user would have to clean
those up by hand which isn't very appealing either.

I'm just going to downgrade this to wishlist for now, and if anyone has
any bright ideas then they can let me know ...

> The -H mode gets groff/troff/whatever to generate images for all the tables,
> and then that uses psselect from the psutils package and some pnm utilities
> from the netpbm package. Those missing dependencies could go into the
> Suggests: field.

They're already in groff's Recommends field, which is the proper place.
I don't think having man-db suggest them would add anything much.

Cheers,

-- 
Colin Watson                                       [EMAIL PROTECTED]



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to