Bug#753368: texlive-base: suggest /etc/mailcap entry for dvi2tty
Norbert Preining <preining@logic.at> writes:
>
> But since I don't have much experience with mime type handling,
> does that interfere with the entry for xdvi in the same file?
"priority=3" I suggest is below the "priority=5" of the xdvi entry, so
the xdvi is earlier in the generated /etc/mailcap and so preferred
whenever its "test $DISPLAY" succeeds. (This "priority" bit is a debian
extra described in the update-mime man page.)
I wondered afterwards if priority=2 might leave more room for flavours
of graphical viewers. But there's not many dvi viewers.
> Is it ok to simply add this line you propose:
>> application/x-dvi; /usr/bin/dvi2tty -q %s; copiousoutput; description=TeX DVI; priority=3
Yes, just add the line to the file.
--
"No, eees hamster."
Reply to: