From owner-freebsd-chat Sun Sep 12 11:43:18 1999 Delivered-To: freebsd-chat@freebsd.org Received: from lorax.ubergeeks.com (lorax.ubergeeks.com [209.145.74.241]) by hub.freebsd.org (Postfix) with ESMTP id 51DB914C10 for ; Sun, 12 Sep 1999 11:43:15 -0700 (PDT) (envelope-from adrian@ubergeeks.com) Received: from localhost (adrian@localhost) by lorax.ubergeeks.com (8.8.8/8.8.8) with SMTP id OAA00505; Sun, 12 Sep 1999 14:42:58 -0400 (EDT) (envelope-from adrian@ubergeeks.com) Date: Sun, 12 Sep 1999 14:42:58 -0400 (EDT) From: Adrian Filipi-Martin Reply-To: Adrian Filipi-Martin To: Dag-Erling Smorgrav Cc: Dirk GOUDERS , Wes Peters , chat@FreeBSD.ORG Subject: Re: More press In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 12 Sep 1999, Dag-Erling Smorgrav wrote: > Dirk GOUDERS writes: > > Oh, sorry -- my "browse-url-at-mouse" function made > > > > http://www.zdnet.com/zdtv/screensavers/answerstips/story/02c36562c23246242c00.html > > > > of it... > > Netscape uses commans to separate parameters to the OpenURL command. > Fortunately, the API is open and documented, so there's nothing to > stop someone from writing a small command-line util that does the > equivalent of "netscape -remote" except faster and better. Note, I redirected this to -chat. Try the following: : adrian@lorax; cat ~/bin/netscape_r #!/bin/sh if [ $# != 1 ]; then echo "netscape_r URL" exit 1; fi URL=$(echo $1 | sed -e 's/,/%2c/g') exec /usr/local/bin/netscape -remote "openURL(${URL})" I set 'netstape_r' as my external browser in pine and it works just fine. Adrian -- [ adrian@ubergeeks.com -- Ubergeeks Consulting -- http://www.ubergeeks.com/ ] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message