🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #83420

Re: Linking of usenet articles

#83420
From: Urs Janßen
Date: Tue, 07 Sep 2010 16:59
36 lines
2637 bytes
In <i63s8o$l09$1@n102.xanadu-bbs.net>, John F. Morse wrote:
> Mine is a little older (v 1.9.2) and uses a shell script instead of Perl:

the perl version which evaluates $BROWSER is available here:

<ftp://ftp.tin.org/tin/tools/url_handler.pl>

it is ment as an example

> thunderbird
>    48    #                ( thunderbird -remote openURL\($url\) || 
> thunderbird $url ) || exit 1
>    58                ( thunderbird -remote openURL\($url\) || 
> thunderbird $url ) || exit 1
> 
> This didn't change tin's actions from the original script. I received 
> "Command failed" on both the http and nntp links.

I don't do thunderbird but AFAIK thunderbird doesn't do
"-remote openURL(%s)" but something like "-news -mail %s"

> Firefox will display a Webpage with only "firefox <url>" in a terminal.

I don't know if and how firefox does handle news:-urls on the
cmd.-line

> I tried this and several other similar shell commands in line 25 above, 
> but always received the "Command failed" message. Makes me wonder if the 
> $url variable is not working?

something like 

	echo $url > /tmp/test.$$

instead of your thunderbird lines should show you what is stored in $url
in the script.
Technical Details
Message-ID: <i65r1g$fmk$1@news2.rz.uni-karlsruhe.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!kanaga.switch.ch!switch.ch!news.belwue.de!rz.uni-karlsruhe.de!news.rz.uni-karlsruhe.de!not-for-mail
References: <4c839754$0$28652$c3e8da3@news.astraweb.com> <i607mn$r5f$1@news.trigofacile.com> <i61nn0$1hq$1@n102.xanadu-bbs.net> <i62arg$ncg$1@news2.rz.uni-karlsruhe.de> <i63s8o$l09$1@n102.xanadu-bbs.net>

Show Full Headers
Complete Article Headers
Message-ID: <i65r1g$fmk$1@news2.rz.uni-karlsruhe.de>
Subject: Re: Linking of usenet articles
Date: Tue, 07 Sep 2010 16:59:28 +0000
From: Urs Janßen <urs@buil.tin.org>
References: <4c839754$0$28652$c3e8da3@news.astraweb.com> <i607mn$r5f$1@news.trigofacile.com> <i61nn0$1hq$1@n102.xanadu-bbs.net> <i62arg$ncg$1@news2.rz.uni-karlsruhe.de> <i63s8o$l09$1@n102.xanadu-bbs.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!kanaga.switch.ch!switch.ch!news.belwue.de!rz.uni-karlsruhe.de!news.rz.uni-karlsruhe.de!not-for-mail
Newsgroups: news.software.nntp
Organization: tin.org
Lines: 36
Sender: Urs Janßen <urs@akk10-int.akk.uni-karlsruhe.de>
NNTP-Posting-Host: akkuser-dmz.akk.uni-karlsruhe.de
X-Trace: news2.rz.uni-karlsruhe.de 1283878768 16084 172.22.9.237 (7 Sep 2010
X-Complaints-To: abuse@uni-karlsruhe.de
NNTP-Posting-Date: Tue, 7 Sep 2010 16:59:28 +0000 (UTC)
Cancel-Lock: sha1:gYOERzYoAP2/wtc6Cjrzk05tEzc=
X-No-Archive: yes
Archive: no
X-No-HTML: yes
User-Agent: tin/1.9.6-20100905 ("Lochruan") (UNIX) (Linux/2.6.24-28-generic
 (i686))
X-Original-Bytes: 2440