[TAG] Re: mailto:tag at lists.linuxgazette.net?subject=%20Re%3A%20%5BLG%20120%5D%20help%20wanted%20%233

s. keeling keeling at spots.ab.ca
Sun Nov 13 07:25:46 MSK 2005


Incoming from Benjamin A. Okopnik:
> Well, hey there! Good to hear from you. I hope you don't mind me CCing

Not a bit.

> The Answer Gang on this, since this is an issue that all of us need to
> know about; we want LG to be as compliant with standard Linux stuff as
> possible.
> 
> On Fri, Nov 11, 2005 at 03:44:38PM -0700, s. keeling wrote:
> > Hey Ben.  Que pasa?
> 
> Los impuestos y el cielo. :)
> 
> > What the @#$%^& is that I see in the subject line?  That's how an
> > answer gang reply-to: tag looks once copied from Firefox into mutt.

I should clarify.  <MB>-3 (Right-click) on that link in Firefox and
you get "Copy Email address", "Copy Link Location", and "Properties".
In order to get the correct Subject: into mutt, I probably got that
URL from Link Location.

> > Isn't there a better way to do this?  Do I really have to dig around
> > in Firefox to figure out how to get it to call mutt correctly?
> 
> Hmm.
> 
> I say again, *hmmm*.
> 
> That's a really good question - and I don't actually have an instant

/usr/local/bin/pinehelper.sh:
    ---------------------------------
#!/bin/bash
#
#  http://groups.google.com/group/linux.debian.user/browse_thread/thread/70b968078b4d9f25/f1865404b4a6f434?lnk=st&q=firefox+mua&rnum=1#f1865404b4a6f434
# make Firefox use mutt.
# 

MAILTO=`echo $@ | awk 'BEGIN{FS=":"} $1 ~ /mailto/ {print ($2 % \?subject=[a-zA-Z0-9.,-]*)}'`

XTERM="/usr/bin/rxvt -fn '-*-*-medium-r-*-*-*-100-*-*-*-*-iso8859-1' -geometry 103x52-68+42"
MUA="/usr/bin/mutt"

${XTERM} -e ${MUA} ${MAILTO}
    ---------------------------------

Then edit ~/.mozilla/firefox/$BLAH/prefs.js:

    ---------------------------------
user_pref("network.protocol-handler.app.mailto",  "/usr/local/bin/pinehelper.sh"); 
    ---------------------------------

> > [ten minutes later]  There doesn't appear to be anywhere in Firefox to
> > define default MUA.
> 
> Oh, that's an easy one: install MozEX. It allows you to specify external

That's the industrial solution, adding unnecessary additional
complexity to a working system.  :-)

> > And PS, I'm sorta, kinda, considering writing something that may be a
> > little odd for you, along the lines of what does an old Linux fart
> 
> Well, if it's Linux-related, and would be of interest to some level of

Oddly enough, I found a quite good article in the current issue along
the lines of what I was thinking ... sorta.  Not quite.  Good article
though, Mike Orr's Life With Unix."

I'll see what I come up with.


-- 
Any technology distinguishable from magic is insufficiently advanced.
(*)               http://www.spots.ab.ca/~keeling 
- -





More information about the TAG mailing list