On Tue, 18 Nov 2008, Jorge Arellano Cid wrote:
On Fri, Nov 14, 2008 at 01:21:17PM -0500, me at swva wrote:
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.
I did, and it didn't; but I may have the long line wrong, since it's formatted into two here. I tried it (on my own machine here, not the remote one yet) both with and without a space between the backslash and "test=test" (having done c&p on the two pieces). Are there really supposed to be two spaces between the last semicolon and "nametemplate"?
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.
I'll try that next.
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. [....] Now you're way to Helen Gone over my head. Sorry.
Never mind, just try the .mailcap suggestion above.
-- Beartooth Oldfart, Double Retiree, Neo-Redneck, Linux Convert Remember, I have precious little idea what I am talking about.