Date: Sun, 12 Sep 1999 14:42:58 -0400 (EDT) From: Adrian Filipi-Martin <adrian@ubergeeks.com> To: Dag-Erling Smorgrav <des@flood.ping.uio.no> Cc: Dirk GOUDERS <hank@musashi.et.bocholt.fh-ge.de>, Wes Peters <wes@softweyr.com>, chat@FreeBSD.ORG Subject: Re: More press Message-ID: <Pine.BSF.3.96.990912144020.290J-100000@lorax.ubergeeks.com> In-Reply-To: <xzp671g2rio.fsf@flood.ping.uio.no>
next in thread | previous in thread | raw e-mail | index | archive | help
On 12 Sep 1999, Dag-Erling Smorgrav wrote: > Dirk GOUDERS <hank@musashi.et.bocholt.fh-ge.de> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.990912144020.290J-100000>