Colin Watson <cjwat...@debian.org> writes: > > I didn't notice you'd changed your submitter address. Sorry about that.
Alas it doesn't rewrite existing messages for followups :( > I added > text/troff lines to match each of the application/x-troff-man lines, as > that seems to be what's needed with current file(1). Does "file" distinguish between troff using man macros and arbitrary troff? But any mime type man does in fact accept is good of course. >> I think the groff should be lower, ... > > Well, I maintain groff as well, so send me patches. I don't really use > mime-support much myself, so I'm happy to take guidance from those who > do. I'll recheck, but I think lower it to "priority=1" to be below man-db. > Did you consider something like -Tpdf, which generally looks much nicer? > Is it possible to chain MIME handlers, so that we can say "this command > converts text/troff into image/pdf, and then you should go and work out > how to display image/pdf"? I don't think there's a general mechanism to express conversions. But a given mailcap entry can run whatever combination of converter and viewer/printer/editor it might like. A "test=" would want to check that a suitable viewer is available. "run-mailcap" can probably be asked nicely to help make such a check. >> application/x-troff-man; /usr/bin/man -Tascii -l '%s' | col -b; >> copiousoutput; description=Man page; priority=2 > > Why not -Tutf8 here? As far as I can tell the mailcap spec (RFC 1524) is silent on what coding a copiousoutput ought to emit. Maybe locale encoding would be likely. (I presume I imagined -Tascii would be certain to work, but I don't remember ... :) -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org