On Fri, Nov 14, 2008 at 01:21:17PM -0500, me at swva wrote:
On Tue, 11 Nov 2008, Jorge Arellano Cid wrote: [...]
I ended installing alpine here to check this issue.
The URL viewer is taken from .mailcap. When set properly, it works (at least here it works with Ubuntu 8.04.1, so it's not an alpine issue).
OK, good; but you're over my head. I don't find anything named .mailcap on my machine. Neither does my search function.
Since I've been running Pine for years, I have a .pinerc rather than an .alpinerc; but I don't find anything like what you say there, either.
You can create it in your home account. nano -w ~/.mailcap then put the long line there, and see what happens.
If you have something like this in your mailcap: (all in one line)
text/html; /usr/local/bin/dillo -l -f '%s'; description=HTML Text; \ test=test -n "$DISPLAY"; nametemplate=%s.html
it works with dillo1.
About now, I should probably mention that I do my email different ways from different addresses. The main one is remote. It does open links that include "http://" -- in dillo *here*, not on the remote machine -- but not ones without. The same is also true when I run Alpine against the address I'm using at this moment.
Probably you use something like: ssh -X <remote_machine> it should work OK.
Something like:
text/html; /usr/local/bin/dillo -l -f -x XID '%s'; description=HTML Text; \ test=test -n "$DISPLAY"; nametemplate=%s.html
I'm guessing that I should c&p that into my .pinerc somewhere, or into the interface Alpine gives me by typing M > S > C (Main menu to Setup to Configure); but I don't know where.
makes dillo1 exit, so it doesn't work. Reason: XID should be a number containing a window ID, where dillo should embed itself, not a literal string!
Now you're way to Helen Gone over my head. Sorry.
Never mind, just try the .mailcap suggestion above. -- Cheers Jorge.-