Randall, et al --

...and then Randall Hopper said...
% Byrial Jensen:
%  |
%  |The first usable mailcap entry is always used. Try to reverse the
%  |two lines.
% 
% Actually, that doesn't work.  Here's the problem.  Mutt takes the first
% ~/.mailcap entry it likes, but Netscape takes the last one.

Oy!

Well, then, what about

  application/pdf; acroread %s
  application/pdf; pdf2txt %s; needsterminal; copiousoutput
  application/pdf; acroread %s

to work for both?  mutt will take the first one and never get to the
dupe; Netscape will fall through to the end and hit acroread, ignoring
the first one.

You could even, perhaps, put the $DISPLAY test in the first one 'cuz mutt
is clever...


:-D
-- 
David T-G                       * It's easier to fight for one's principles
(play) [EMAIL PROTECTED]      * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.bigfoot.com/~davidtg/        Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
The "new millennium" starts at the beginning of 2001.  There was no year 0.
Note: If bigfoot.com gives you fits, try sector13.org in its place. *sigh*

PGP signature

Reply via email to