🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #36717

Re: slrn - how to use running netscape ?

#36717
From: Christopher B. Browne
Date: Mon, 20 Oct 1997 00:00
45 lines
2331 bytes
On 19 Oct 1997 13:34:23 GMT, Per Steinar Iversen <PerSteinar.Iversen@adm.hioslo.no> posted:
>Recently I got fed up with the slowness and instability
>of Netscape Communicator 4.03 under Linux, it would crash
>several times a day while reading news and it was also 
>very slow - on a PPro200 with 128MB RAM ... so
>I switched to slrn, which is very fast and stable on the same hardware. 
>
>However I would still like to use Netscape for following 
>URLs. Since NS mostly runs somewhere on my screen it seems
>natural to have something like this in my .slrnrc:
>
>set Xbrowser "netscape -remote %s"
>
>Following a link then brings the running netscape into focus,
>but it does *not* actually go anywhere... 
>
>Of course I can fork a new NS for each URL, but then it
>complains about another NS already running etc.
>
>Any ideas?

Here's the "Netscape" script that I use to invoke netscape.

It attempts to activate the URL in a running instance, if it
exists.

To use this, I presume you'd use:
set XBrowser "/home/cbbrowne/bin/Netscape %s"
(or wherever you actually put the script)...

------ cut here for Netscape script -----
#!/bin/ksh
eval /home/cbbrowne/netscape/netscape -remote "openURL\($1\)" </dev/null >/dev/null 2>&1
if [ $? != 0 ]; then
	eval nohup /home/cbbrowne/netscape/netscape "$1" </dev/null >/dev/null 2>&1 &
fi
------ cut here for Netscape script -----
-- 
Christopher B. Browne, cbbrowne@hex.net, chris_browne@sdt.com
PGP Fingerprint: 10 5A 20 3C 39 5A D3 12  D9 54 26 22 FF 1F E9 16
URL: <http://www.hex.net/~cbbrowne/>
Bill Gates to his broker: "You idiot, I said $150 million on **SNAPPLE**!!!"

Technical Details
Message-ID: <slrn64lbr5.4kc.cbbrowne@dantzig.brownes.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <slrn64k32u.4d4.PerSteinar.Iversen@hemul.p52.hioslo.no>

Show Full Headers
Complete Article Headers
Message-ID: <slrn64lbr5.4kc.cbbrowne@dantzig.brownes.org>
Subject: Re: slrn - how to use running netscape ?
Date: Mon, 20 Oct 1997 00:00:00 +0000
From: cbbrowne@news.brownes.org (Christopher B. Browne)
References: <slrn64k32u.4d4.PerSteinar.Iversen@hemul.p52.hioslo.no>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 281884213
Organization: Hex.Net Superhighway, DFW Metroplex 817-329-3182
Reply-To: cbbrowne@hex.net
Newsgroups: news.software.readers