I use xclick, but not just with mutt. I have a netscape icon on my control
panel with the following executable property:

/usr/local/bin/DisplayHTML

The program DisplayHTML is as follows:

#!/bin/bash
a=`ps ax | grep mozilla | grep -v grep`
[ -n "$a" ] && {
            netscape '-remote "openURL($1)"'
     }
[ -z "$a" ] && {
            netscape "$1"
                }     

The ps stuff is to see if a version of netscape is already
running, and if so, don't start a new netscape session.
Depending on your browser, you may have to modify this script. 

Joel

 
On Sun, May 12, 2002 at 11:55:16AM +0200, Marco Fioretti wrote:
> Hello,
> 
> some weeks ago there was a discussion here about how to make URLs
> clickable from within mutt, and somebody suggested the xclip program.
> 
> I have installed it, and added ti .muttrc the macro:
> 
>       macro pager \cn "!mozilla `xclip -o` &\n"
> 
> Now when I highlight some URL with the left button, and hit Control-n
> mozilla does start but not on that URL. It seems that the URL selected
> the first time remains in "memory": in other words, the first time
> mozilla opens the page I select, and reopens it even if I select
> another URL in the same or another message. What could it be?
> 
> (using mutt in rxvt/KDE/RH 7.2)
> 
>       TIA,
>               Marco Fioretti
> 
> -- 
> The three most dangerous things are a programmer with a soldering
> iron, a manager who codes, and a user who gets ideas.

Reply via email to