On Wed, Jan 12, 2000, Martin Keseg ([EMAIL PROTECTED]) said:
|
| Is here a way to set mutt as mailer in lynx ?
This is more of a lynx question, than a mutt one, but since I recently
detailed the current method on the lynx-dev list, I'll post it here as
well, since it may be of some general interest.
This applies to any lynx version that supports the EXTERNAL lynx.cfg
directive (and was compiled with with it enabled). I'm not too sure
when EXTERNAL was added, but 2.8.2rel.1 or newer is highly desirable.
As may be, here's what needs to be done:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
From: Kim DeVaughn <[EMAIL PROTECTED]>
To: Lynx Developers <[EMAIL PROTECTED]>
Subject: Re: Setting mailer in Lynx
Date: Fri, 24 Dec 1999 00:21:52 -0700
Message-ID: <[EMAIL PROTECTED]>
Organization: Kim's Home for Wayward Cocktail Waitresses & Hors d'oeuvre Girls
On Thu, Dec 23, 1999, Robert Dansereau ([EMAIL PROTECTED]) said:
|
| I believe I have the current version of Lynx, and was wondering if it is
| possible to use another mailing program other than the built-in one? I
| can't seem to find the configuration, or is it at all possible?
It is for mailto: url's, though not in a completely transparent way.
You need to be observant enough to actually notice that the url you
want to "activate", *is* a mailto: url (eg, mailto:[EMAIL PROTECTED]),
and "activate" it using the EXTERN command (bound to "." by default),
rather than the normal right-arrow key.
You also need to have made an EXTERNAL definition of the form:
EXTERNAL:mailto:mutt.mailto %s:TRUE
in your lynx.cfg file.
I use the above to invoke a small shell-script, which then invokes the
mutt mailer. Reason for the shell-script is to "prune" the address that
lynx passes to the external program (mutt, here) in the %s arg, to strip
off the "mailto:" string, per se. I use:
#!/bin/sh
#
# mutt.mailto ... trims the "mailto:" string off the address passed from
# lynx
#
addr=`echo $1 | cut -f2 -d:`
mutt -s "" "$addr"
exit
#
#--end--#
which will start mutt, with a blank Subject: header field.
YMMV, depending on the mailer you want to use.
/kim