[Alpine-info] firefox as called from alpine

Mike Miller mbmiller+l at gmail.com
Tue Dec 7 18:02:40 PST 2010


On Tue, 7 Dec 2010, Stan Peale wrote:


> Some links are given in emails without the URL address being displayed.

> Transferring to the URL with a return does produce the firefox window.

> However, the firefox application is not started, and any attempt to

> write in the window fails. The firefox window can be viewed but not

> edited. It is completely dead to key strokes in attempts to answer

> questions, fill in passwords, etc. Is there a fix, so the firefox

> window called from alpine is completely active. My computer is an Apple

> Mac Pro using MAC OS X version 10.5.8. Stan Peale



I'm using Firefox with Ubuntu, but maybe this will work for OS X, too.
Using this, I keep Firefox running and then when I click a URL in Alpine
(or highlight the URL and hit enter) I see the page in a new tab. I also
can open HTML attachments in a new tab automatically.

I start Alpine with this command-line option:

-url-viewers="/usr/bin/firefox %s &> /dev/null"

I have this in my ~/.mailcap file:

text/html; /usr/bin/firefox -new-tab '%s' 2> /dev/null ; description=HTML Text; nametemplate=%s.html

I doubt that it matters, but I also happen to have this in my ~/.pinerc:

# List of programs to open Internet URLs (e.g. http or ftp references).
url-viewers=/usr/local/bin/ns

That file does not exist. Those lines in .pinerc seem to be very old,
from way back when I was using netscape and had a special script invoking
it.

Mike


More information about the Alpine-info mailing list