On 2015-01-22, David Champion wrote:

> To solve this you need a wrapper script around Firefox.  The wrapper
> will take the file content from $1 and save it somehow for Firefox, so
> that mutt may delete the original.
> 
> There are various techniques for this.  I personally like the approach
> of hard-linking the temp file so that it doesn't use more storage.
> Something like this:
> 
>       #!/bin/sh
>       COPY="$1.firefox.html"
>     ln "$1" "$COPY"
>     /usr/bin/firefox "$COPY" &

I'm surprised that linking works because it used to be that mutt
overwrote the temporary file with 0s before deleting it.  I thought
it still did, but I don't know for sure.

Another place that you might look for solutions, Chris, is here:

    http://www.spocom.com/users/gjohnson/mutt/#background

Regards,
Gary

Reply via email to