🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #237332

Re: slrnpull with tin or gnus

#237332
From: Urs Janßen
Date: Tue, 20 Oct 2009 20:56
36 lines
2711 bytes
In <2009-10-20$17.34.06@x.vimhelp.de.vu>, Florian Rehnisch wrote:
> #!/usr/bin/perl
> 
> shift; # eat tin's '-p'

JFTR: tin uses "inews -h" (not -p) as external inews (if INEWSDIR is set
it's prefixed) if not set to something else (i.e. tinews.pl or --internal).

> $ts=`date +%s`;
> chomp $ts;
> $outfile="/home/flori/var/spool/slrnpull.albasani/out.going/X$ts-$$-0.flori";
> open OUT,'>',$outfile;
> while ($newline=<>) {
>        print OUT $newline;
> }
> close OUT
> 
> I put these line into ~/bin/inews.  tin has an option for this.
> If this is set to --internal, tin tries /usr/bin/inews when in

"INEWSDIR/inews", INEWSDIR can be configured via --with-inews-dir= or
set in TIN_DEFAULTS_DIR/tin.defaults (configured via
--with-defaults-dir=, default is /etc/tin/) via inewsdir.

> spool mode, so I linked that to ~/bin/inews.  From my .gnus:

inews_prog=~/bin/inews

should work (and as you don't pass -h, the above shift isn't needed
anymore).

urs  
-- 
Jef Poskanzer:
"When people aren't stupid Usenet is even more useful. Too bad this happens
 so rarely."
Technical Details
Message-ID: <hbl857$p9i$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.readers.20140922.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!xlned.com!feeder3.xlned.com!feeder.erje.net!newsfeed01.sul.t-online.de!newsfeed00.sul.t-online.de!t-online.de!inka.de!rz.uni-karlsruhe.de!news.rz.uni-karlsruhe.de!not-for-mail
References: <slrnhcvdhp.80p.catwheezel@ID-107770.user.individual.net> <slrnhcvtag.kb1.rudy@news.albasani.net> <slrnhd0rce.blv.catwheezel@ID-107770.user.individual.net> <e9b6q6x5lq.ln2@news.ducksburg.com> <slrnhd1m7f.3sp.invalid@invalid.org> <slrnhd1qh9.8k7.catwheezel@ID-107770.user.individual.net> <2009-10-12$18.20.54@x.vimhelp.de.vu> <slrnhdcfha.cg4.pjr@pjr.gotdns.org> <2009-10-20$17.34.06@x.vimhelp.de.vu>

Show Full Headers
Complete Article Headers
Message-ID: <hbl857$p9i$1@news2.rz.uni-karlsruhe.de>
Subject: Re: slrnpull with tin or gnus
Date: Tue, 20 Oct 2009 20:56:07 +0000
From: Urs Janßen <urs@buil.tin.org>
References: <slrnhcvdhp.80p.catwheezel@ID-107770.user.individual.net> <slrnhcvtag.kb1.rudy@news.albasani.net> <slrnhd0rce.blv.catwheezel@ID-107770.user.individual.net> <e9b6q6x5lq.ln2@news.ducksburg.com> <slrnhd1m7f.3sp.invalid@invalid.org> <slrnhd1qh9.8k7.catwheezel@ID-107770.user.individual.net> <2009-10-12$18.20.54@x.vimhelp.de.vu> <slrnhdcfha.cg4.pjr@pjr.gotdns.org> <2009-10-20$17.34.06@x.vimhelp.de.vu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!xlned.com!feeder3.xlned.com!feeder.erje.net!newsfeed01.sul.t-online.de!newsfeed00.sul.t-online.de!t-online.de!inka.de!rz.uni-karlsruhe.de!news.rz.uni-karlsruhe.de!not-for-mail
Newsgroups: news.software.readers
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 1256072167 25906 172.22.9.237 (20 Oct 2009
X-Complaints-To: abuse@uni-karlsruhe.de
NNTP-Posting-Date: Tue, 20 Oct 2009 20:56:07 +0000 (UTC)
Cancel-Lock: sha1:xio1ePwihJhsCxVIW5+1GKQQQ4w=
X-No-Archive: yes
X-No-HTML: yes
User-Agent: tin/1.9.5-20091003 ("Rieclachan") (UNIX) (Linux/2.6.24-24-generic
 (i686))