[ale] mailcap hacking?

Geoffrey esoteric at 3times25.net
Thu Apr 22 17:50:19 EDT 2004


Fulton Green wrote:
> On Thu, Apr 22, 2004 at 03:18:23PM -0400, Geoffrey wrote:
> 
>>>Mut appears to be using mailcap for content disposition.  If the files
>>>were being sent as application/pdf, I'd be able to get Mutt to
>>>automatically launch the PDF reader.  Unfortunately, the content type
>>>for the file is application/octet-stream, which could be pretty much
>>>anything.  I don't think there is a way for mailcap to tell it to "launch
>>>pdf2text if the file extension is .pdf".
>>
>>I thing your problem will be that it outputs to a file, not standard 
>>out.  I tried pdftotext < foo.pdf but it didn't like that.  Poor 
>>programming...
> 
> 
> Actually, the "-" switch specifies stdout.

Thanks, that was wierd though:

pdftotext foo.pdf -

-- 
Until later, Geoffrey                     Registered Linux User #108567
Building secure systems in spite of Microsoft



More information about the Ale mailing list