[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] mailcap hacking?
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.