Changes between Version 3 and Version 4 of MuttFaq/Attachment


Ignore:
Timestamp:
Jan 30, 2013 1:32:36 PM (5 years ago)
Author:
kevin8t8
Comment:

Add section about viewing attachments in a new tab in firefox

Legend:

Unmodified
Added
Removed
Modified
  • MuttFaq/Attachment

    v3 v4  
    9292However, you'll need to patch it to use it as filter to display with mutt's built-in pager.
    9393
     94=== How to view HTML attachments in a new tab in firefox: ===
     95Assuming you already have a main firefox window running, when you invoke
     96"firefox -new-tab %s", it does not block.  It simply notifies your main
     97running firefox process to open a tab pointing to %s and then exits
     98right away.  There is now a race condition: does mutt delete the
     99temp file before or after your main firefox process creates the new tab
     100pointing to it?
     101
     102There is no completely clean way to fix this, because there is no way to
     103know how long the main firefox will need %s to be around.  If you only
     104intend to quickly view the file and then close the tab, one solution is
     105to have mutt sleep after invoking "firefox -new-tab".
     106
     107in mailcap:
     108{{{
     109    text/html; firefox -new-tab %s & sleep 5; test=........
     110}}}
     111
     112This will usually give firefox enough time to read the temp file in
     113before the sleep ends and mutt deletes the file.
     114
    94115=== How to make M$-office attachments accessible? ===
    95116Uh, oh, better don't try but convince people to use portable