* Martin A. Hansen ([EMAIL PROTECTED]) [020429 13:57]: > hi > > i would like to have mutt translate rtf files automagically. > > it works with .doc files where i have inserted a line with antiword in > /etc/mime.types > > however, with unrtf one need the switch unrtf --text <file> . how is that > handles with mime.types?
I have this in my /etc/mailcap (and I don't think I added it, so maybe you already have one, too?) Remember to add application/rtf to your auto_view statement in mutt's config; it might be all you need to do. application/rtf; unrtf --text '%s' | pager ; needsterminal; description=RTF Docu ment; print=unrtf --text '%s' | print text/plain:- I also haven't tried it, so I can't say for certain it works. Send me a sample .rtf off-list and I'll let you know =) good times, Vineet -- Currently seeking opportunities in the SF Bay Area Please see http://www.doorstop.net/resume.shtml
pgpWxqXAYYEra.pgp
Description: PGP signature