Re: pipe attachments in mutt
Sandip P Deshmukh wrote:
> now, i occassionally get pdf files as attachments. i thouht if i 'pipe' the attachment to
> xpdf, i will be able to see the attachment.
>
> so, while i am in attachments screen (by pressing v), i press | and for command, i type
> xpdf.
>
> the xpdf program opens up. but empty. what is it that i am doing that is wrong?
xpdf won't read files from standard input, so it is being called without any
arguments, and opens up empty.
> what do i need to do so that the desired application will open with the attachment?
xpdf has the correct mailcap entries that it should start automatically if
you ask mutt to ``view-attach''. This command is (by default) bound to
<Return> when you're in the attachments screen.
Glyn
--
I can't control my fingers, I can't control my brain.
Reply to: