Article View: news.software.readers
Article #43323Re: SLRN + Xbrowser
From: Per Steinar Iversen
Date: Sun, 20 Sep 1998 00:00
Date: Sun, 20 Sep 1998 00:00
41 lines
2224 bytes
2224 bytes
On 20 Sep 1998 09:49:09 GMT, Heikki Kantola <hezu@iki.fi> wrote: >jeff davis <jeff@photuris.jehosophat.com> informed >news.software.readers with the following: >>from the slrn manual: >> >> % WWW browser to use. The 'U' key in article mode searches the >> % current article >> % for a URL and then calls X browser if slrn appears to be run in X >> % windows >> % and non_Xbrowser otherwise. >> set Xbrowser "netscape %s &" >> set non_Xbrowser "lynx %s" >> >>this works okay, BUT if Netscape is already running it tries to launch a new >>instance of Netscape ... anyway to prevent that and just have the already open >>netscape browser follow the URL? > >The nearly complete slrn.rc-file which comes in slrn distribution has >following commented out: > %set Xbrowser "netscape -remote 'openURL(%s)' &" > >And if one would want to further improve that, you could try following >shell script, which starts new netscape if one isn't running yet: > #!/bin/sh > if netscape -remote "openURL($1,new-window)" > then true > else netscape $1 & > fi > >Of course if one doesn't prefer new windows, you can loose the "new- >window" part... > >Also be noted that new netscape processes started by slrn will be >terminated when you quit slrn. This seems to have been broken with Netscape 4.5b2 under Linux at least, it worked OK with 4.5b1. Sigh! -psi
Technical Details
Message-ID:
<slrn709oan.8r3.PerSteinar.Iversen@elbonia.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-mailReferences:
<slrn708o7t.m9p.jeff@photuris.jehosophat.com> <slrn709jsk.14o.hezu@tuuri.ling.helsinki.fi>Show Full Headers
Complete Article Headers
Message-ID: <slrn709oan.8r3.PerSteinar.Iversen@elbonia.p52.hioslo.no> Subject: Re: SLRN + Xbrowser Date: Sun, 20 Sep 1998 00:00:00 +0000 From: PerSteinar.Iversen@adm.hioslo.no (Per Steinar Iversen) References: <slrn708o7t.m9p.jeff@photuris.jehosophat.com> <slrn709jsk.14o.hezu@tuuri.ling.helsinki.fi> 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: 392957858 X-Complaints-To: news-abuse@uninett.no X-Trace: snipp.uninett.no 906289492 2761 158.36.161.8 (20 Sep 1998 11:04:52 GMT) Organization: Høgskolen i Oslo, Norway Reply-To: PerSteinar.Iversen@adm.hioslo.no Newsgroups: news.software.readers