]> git.cworth.org Git - sup/commitdiff
added solution to remote vs local firefox for attachment viewing
authorwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Thu, 31 May 2007 18:19:31 +0000 (18:19 +0000)
committerwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Thu, 31 May 2007 18:19:31 +0000 (18:19 +0000)
git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@425 5c8cc53c-5e98-4d25-b20a-d8db53a31250

doc/FAQ.txt

index efb3a5e573d89a9069993748c80646f5ba7cf6a4..52af386e49037cf9fa2ac5f696027ce3b6c8c6b5 100644 (file)
@@ -127,3 +127,11 @@ S: You need to install a package called libssl-ruby or something similar.
    Or, don't use imaps:// sources. Ruby's IMAP library otherwise fails in
    this somewhat uninformative manner.
 
+P: When I run Sup remotely and view an HTML attachment, an existing
+   Firefox on the *local* machine is redirected to the attachment
+   file, which it can't find (since it's on the remote machine). How do
+   I view HTML attachments in this environment?
+
+S: Put this in your ~/.mailcap on the machine you run Sup on:
+      text/html; /usr/bin/firefox -a sup '%s'; description=HTML Text; test=test -n "$DISPLAY";  nametemplate=%s.html
+