πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #83425

Re: Linking of usenet articles

#83425
From: John F. Morse
Date: Thu, 09 Sep 2010 05:25
55 lines
2978 bytes
Urs Janßen wrote:
> 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.
>   

Thanks Urs.

I saved this for future study.

-- 
John

When a person has -- whether they knew it or not -- already rejected the Truth, by what means do they discern a lie?
Technical Details
Message-ID: <i69r4t$acp$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!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!news.glorb.com!news2.glorb.com!optima2.xanadu-bbs.net!n102.xanadu-bbs.net!.POSTED!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> <i65r1g$fmk$1@news2.rz.uni-karlsruhe.de>

Show Full Headers
Complete Article Headers
Message-ID: <i69r4t$acp$1@n102.xanadu-bbs.net>
Subject: Re: Linking of usenet articles
Date: Thu, 09 Sep 2010 00:25:49 -0500
From: "John F. Morse" <john@example.invalid>
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> <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!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!news.glorb.com!news2.glorb.com!optima2.xanadu-bbs.net!n102.xanadu-bbs.net!.POSTED!not-for-mail
Newsgroups: news.software.nntp
Organization: Xanadu BBS
Lines: 55
Reply-To: dont.bother
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: n102.xanadu-bbs.net 1284009949 10649 192.168.89.210 (9 Sep 2010
X-Complaints-To: newsmaster@xanadu-bbs.net
NNTP-Posting-Date: Thu, 9 Sep 2010 05:25:49 +0000 (UTC)
User-Agent: Thunderbird 2.0.0.24 (X11/20100317)
In-Reply-To: <i65r1g$fmk$1@news2.rz.uni-karlsruhe.de>
X-Enigmail-Version: 0.96.0
X-Original-Bytes: 2775