commit 7ed4f7d2c5b837eca606ee756e2086b146ccb574
parent 3dba566bd409c0125336482e1d60accc34ee170f
Author: wmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Date: Thu, 31 May 2007 18:19:31 +0000
added solution to remote vs local firefox for attachment viewing
git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@425 5c8cc53c-5e98-4d25-b20a-d8db53a31250
Diffstat:
1 file changed, 8 insertions(+), 0 deletions(-)
diff --git a/doc/FAQ.txt b/doc/FAQ.txt
@@ -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
+