🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #49130

Re: slrn and URL extraction

#49130
From: Andreas Kurth
Date: Tue, 08 Jun 1999 00:00
24 lines
1324 bytes
Renaud Colinet wrote:
> If anyone knew how to get slrn to test whether there is an active netscape
> session and set the Xbrowser variable accordingly, that'd be fine.

Write a little shell-script:
set Xbrowser "/usr/local/bin/netscape_for_slrn"

--------------- cut -------------
#!/usr/bin/zsh
# netscape_for_slrn

netscape=/usr/local/bin/netscape
$netscape -geometry 890x830+165+2 -remote openurl\($1,new-window\) 
if [[ $? != 0 ]]; then
  $netscape -geometry 890x830+165+2 $1 &
fi  
--------------- cut -------------



-- 
Andreas Kurth    Mannheim, Germany

Technical Details
Message-ID: <slrn7lpkhg.f0.akurth@wam56.rhein-neckar.de>
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: <slrn7ldeoh.3vs423r.jezak@ma956649.rmc.ca> <slrn7lnsea.81.c928400@urdybet.pbk.dk> <slrn7lodfm.j6.colinet@beige3.ensta.fr>

Show Full Headers
Complete Article Headers
Message-ID: <slrn7lpkhg.f0.akurth@wam56.rhein-neckar.de>
Subject: Re: slrn and URL extraction
Date: Tue, 08 Jun 1999 00:00:00 +0000
From: akurth@wam56.rhein-neckar.de (Andreas Kurth)
References: <slrn7ldeoh.3vs423r.jezak@ma956649.rmc.ca> <slrn7lnsea.81.c928400@urdybet.pbk.dk> <slrn7lodfm.j6.colinet@beige3.ensta.fr>
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: 486992213
X-Server-Date: 8 Jun 1999 08:20:00 GMT
Organization: private
User-Agent: slrn/0.9.5.6 (UNIX)
X-posted-by: akurth
Newsgroups: news.software.readers