Article View: news.software.readers
Article #61303Re: [slrn] X browser
From: boojum Boojum
Date: Sun, 07 May 2000 00:00
Date: Sun, 07 May 2000 00:00
27 lines
1586 bytes
1586 bytes
On 6 May 2000 09:17:57 GMT, Heikki Kantola <hezu@iki.fi> wrote: ... >The above only does nothing if Netscape isn't running, however one >could try something like this (requires sh-compatible shell): > > if netscape -remote 'openURL(%s)' & 2>/dev/null; then true; > else lynx '%s'; fi > >I haven't tried that in action, so it might need some tweaking. Thanks. This pointed me in the right direction. netscape doesn't seem to return a useful value, but I used the existence of error output to decide whether to call lynx. > >-- >Heikki "Hezu" Kantola, <Heikki.Kantola@IKI.FI> >L�hett�m�ll� mainoksia tai muuta asiatonta s�hk�postia yll� olevaan >osoitteeseen sitoudut maksamaan oikolukupalvelusta FIM500 alkavalta >tunnilta. -- If you are never scared or embarrassed or hurt, it means you never take chances. (Julia Soul)
Technical Details
Message-ID:
<slrn8h9hp3.jv.boojum@irenic.dyndns.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-mailReferences:
<slrn8h6ue9.in.boojum@irenic.dyndns.org> <slrn8h78so.4as.mrh99@meome.dyndns.org> <slrn8h7oq5.2t5h.hezu@tuuri.ling.helsinki.fi>Show Full Headers
Complete Article Headers
Message-ID: <slrn8h9hp3.jv.boojum@irenic.dyndns.org> Subject: Re: [slrn] X browser Date: Sun, 07 May 2000 00:00:00 +0000 From: boojum@attglobal.net..invalid (Boojum) References: <slrn8h6ue9.in.boojum@irenic.dyndns.org> <slrn8h78so.4as.mrh99@meome.dyndns.org> <slrn8h7oq5.2t5h.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: 620148557 Organization: http://extra.newsguy.com User-Agent: slrn/0.9.6.2 (Linux) Reply-To: boojum@attglobal.net Newsgroups: news.software.readers