On Thu, Jun 13, 2002 at 01:42:45PM -0500, Amy Tanner wrote:
> I have configured mutt to autoview html, which works great EXCEPT that I'd
> like it to either open a new mozilla tab or a new mozilla window when it
> does, rather than targetting the current tab I have open.  Is there any
> way to do this?
> 
> My muttrc contains:
> 
> auto_view text/html
> 
> My /etc/mailcap contains:
> 
> text/html; /usr/bin/htmlview %s ; copiousoutput

This should be almost possible. You'll need to mess with the
setting for htmlview.  I don't think that a new tab is currently
doable, but a new tab doesn't seem to be [1]. You'll want
htmlview to call mozilla with the form:
 mozilla -remote "openurl(http://www.debian.org,new-window)"

It should be fairly easy to get mozilla to do a new tab as well,
but the option doesn't seem to be there.  Oh, it looks like
there are bugs on this - 116653 and 104204.

  1. http://www.mozilla.org/unix/remote.html
-- 
Jim Crumley                  |Twin Cities Linux Users Group Mailing List (TCLUG)
crumley at fields.space.umn.edu |Minneapolis/St. Paul, Minnesota 
Ruthless Debian Zealot       |http://www.mn-linux.org/ 
Never laugh at live dragons  |Dmitry's free,Jon's next? http://faircopyright.org