On Sat, Jan 18, 2003 at 12:40:01PM -0600, Nicholas Riley wrote:
> On Sat, Jan 18, 2003 at 11:11:16AM -0500, Josh Kuperman wrote:
> > Url view just extracts and presents all the urls in a list when you
> > hit ctrl-b. It doesn't decide what to do with them. I would love to
> > see Launch an example of a .muttrc using Launch as I'm not quite sure
> > how it would work.
> 
> Sure it does, see man urlview,  The lines people were quoting (REGEXP,
> COMMAND) go into ~/.urlview.

Your absolutely right - urlview parses the urllist out of the email
and opens with the command specified if you have a .urlview file. Of
course this just gives me more programs to configure. I had tried ages
ago to build urlview since for some reason it is not included with
mutt as installed by fink. While ages ago it had problems -- it works
like a charm now. (I guess I should send a copy to the maintainer of
mutt asking that it be added to the mutt in the Fink distribution.)

I tried most of the suggestions and probably messed things up. Urlview
does come with a sample shell script that provides a choice of
programs depending of the environment (Xwindows, terminal, etc). I
still can't get w3m to display usable links in the inline
messages. I'll most likely change things so urlview uses launch to
launch (or display in an already open) Mozilla or Safari.

This eliminates one problem that was confusing me with Mutt installed
by Fink (I'll save worrying about color for another day.)

> 
> > text/html; w3m -dump -T text/html %s; copiousoutput
> > 
> > in my .mailcap
> > 
> > and having
> > 
> > auto_view text/html
> > 
> > in my .muttrc
> 
> This causes the message to be displayed inline.  To get it to display
> in w3m otherwise, do this in .mailcap:
> 
> text/html; w3m -T text/html %s; needsterminal; description=HTML Text; 
>nametemplate=%s.html
> text/html; w3m -T text/html -dump %s; copiousoutput; description=HTML Text; 
>nametemplate=%s.html
> 

-- 
Josh Kuperman
[EMAIL PROTECTED]


-------------------------------------------------------
This SF.NET email is sponsored by: FREE  SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your  SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to