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.
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.
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.
Note: dillo2 will work with the flawed parameter because as it can't embed itself yet, the parameter is blithely ignored! :-)
-- Beartooth Oldfart, Double Retiree, Neo-Redneck, Linux Convert Remember, I have precious little idea what I am talking about.