🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #147903

Re: [slrn] Tip for Firefox (Mozilla) Users

#147903
From: Keith
Date: Sun, 09 May 2004 14:38
37 lines
2294 bytes
On Fri, 07 May 2004 03:04:20 GMT, 
SINNER <99nesorjd@gates_of_hell.invalid> wrote:
> Whenever I am in X and using slrn I frequently come across links within
> news posts that I'd like to follow. Well even though I installed the Tab
> Extensions and followed the instructions on the website, I could not get
> a url selected using SHIFT-U to open in a new tab when the browser was
> currently open. Instead I was always prompted to create another profile.
>
> Here is the solution:
>
> In your ~/.slrnrc
>
> set Xbrowser "firefox -remote 'openurl('%s',new-tab)'&"
>
> Works great. Made me so happy I thought I'd pass it on. Sorry if it was
> obvious.
>

#!/bin/bash
#mozilla -remote 'openURL($1, new-tab)'
#mozilla -remote openURL\($1,new-tab\)
browserPath="/usr/local/mozilla/mozilla"
#browserPath="/usr/bin/mozilla"
url="$@"
$browserPath -remote "ping()"
# $? = false if running, true if not
if [ $? = 0 ] ; then
        exec $browserPath -remote openURL"($url,new-tab)"
else
        $browserPath $url &
fi
exit

-- 
Best Regards,  Keith http://kilowatt-radio.org/
Pax melior est quam iustissimum bellum.
Replace spam.471c43f0 with wvi dot com & remove all _
Technical Details
Message-ID: <2g6u3vF52j72U1@uni-berlin.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.ash.giganews.com!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!tiscali!newsfeed1.ip.tiscali.net!feed.news.tiscali.de!fu-berlin.de!uni-berlin.de!not-for-mail
References: <5qarm1-hk2.ln1@news.gates_of_hell.com>

Show Full Headers
Complete Article Headers
Message-ID: <2g6u3vF52j72U1@uni-berlin.de>
Subject: Re: [slrn] Tip for Firefox (Mozilla) Users
Date: Sun, 09 May 2004 14:38:55 +0000
From: Keith <kilo_watt_radio@spam.471c43f0>
References: <5qarm1-hk2.ln1@news.gates_of_hell.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.ash.giganews.com!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!tiscali!newsfeed1.ip.tiscali.net!feed.news.tiscali.de!fu-berlin.de!uni-berlin.de!not-for-mail
Newsgroups: news.software.readers,alt.os.linux
Organization: http://kilowatt-radio.org Veni, vidi, vici
Lines: 37
Reply-To: kilo_watt_radio@spam.471c43f0
X-Complaints-To: http://news.individual.net/abuse.html
X-Trace: news.uni-berlin.de uKvvPr+O8VL4LyInmSKsjQp4MqsRbG23cP2M1d9WKMJGPz9X4R
Summary: Cooledit,jed,SLRN.org,s-lang
User-Agent: slrn/0.9.8.0 (Linux)