🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #27096

Re: SLRN 0.9 - Xbrowser problem

#27096
From: David Mears
Date: Mon, 21 Oct 1996 00:00
37 lines
1900 bytes
Dominic Mitchell <hdm@demon.net> wrote:

> On 18 Oct 1996 03:44:51 GMT, John E. Davis <davis@space.mit.edu> wrote:

> | On 17 Oct 1996 15:00:18 GMT, Yeechang Lee <ylee@columbia.edu>
> | wrote:

> |  : >set Xbrowser            "netscape -remote 'openURL(%s)' &"
> |  : >set non_Xbrowser        "lynx %s"
> |  : 
> |  : Hallelujah!  Just what I was looking for.  John, can you make this the
> |  : default setting in the next release?

> | I will add it to the sample slrn.rc file but leave it commented out.
> | When I tested the command, netscape started to run but then aborted.

> The trouble is that it requires a copy of netscape to be already
> running on the same display.  If there isn't one, it'll just do
> nothing.  I think leaving it commented out is a good thing along with
> a note that it requires an already running copy.

A simple script can handle the basic case:

	#! /bin/ksh
	eval netscape -remote "openURL\($1\)" </dev/null >/dev/null 2>&1
	if [ $? != 0 ]; then
		eval nohup netscape "$1" </dev/null >/dev/null 2>&1 &
	fi

David B. Mears
Hewlett-Packard
Cupertino CA
mears@cup.hp.com


Technical Details
Message-ID: <slrn56nfmq.n7d.mears@hpindft.cup.hp.com>
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: <slrn568d22.b2l.liam@sweetums.lab.nz.eds.com> <slrn569oul.il4.rhh@elmer.ct> <slrn56cigp.cuk.ylee@simile.cc.columbia.edu> <slrn56dv8n.lt.davis@aluche.mit.edu> <slrn56k069.2oh.hdm@dishmop.noc.demon.net>

Show Full Headers
Complete Article Headers
Message-ID: <slrn56nfmq.n7d.mears@hpindft.cup.hp.com>
Subject: Re: SLRN 0.9 - Xbrowser problem
Date: Mon, 21 Oct 1996 00:00:00 +0000
From: mears@hpindft.cup.hp.com (David Mears)
References: <slrn568d22.b2l.liam@sweetums.lab.nz.eds.com> <slrn569oul.il4.rhh@elmer.ct> <slrn56cigp.cuk.ylee@simile.cc.columbia.edu> <slrn56dv8n.lt.davis@aluche.mit.edu> <slrn56k069.2oh.hdm@dishmop.noc.demon.net>
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: 191263495
Organization: Information Networks Division: Hewlett Packard
Newsgroups: news.software.readers