Opps. In my first post I sent the wrong version of my DisplayHTML script.
Sorry.
Joel


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

 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