🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #222321

Re: automatic crossposting

#222321
From: Peter J Ross
Date: Thu, 19 Jun 2008 18:09
34 lines
2758 bytes
In news.software.readers on Thu, 19 Jun 2008 16:08:45 GMT, Hactar
<ebenZEROONE@verizon.net> wrote:

> I participate in the newsgroup "alt.fan.cecil-adams".  Since lots of
> people (including me, unless I do something about it) are going to lose
> access to alt.* in the next few weeks, we are thinking about moving en
> masse to "misc.facts.straight-dope" (which was newgrouped with that
> purpose in mind).  One step in migration is consistent crossposting.
> So far I've been manually adding ",misc.facts.straight-dope" to the
> Newsgroups line on every post.  But this is error-prone, and a PITA.
> Is there a way to get vim (editor), trn (newsreader) or leafnode (news
> server) to do this automatically?

For vim, try adding something like these two commands to ~/.vimrc:

autocmd VimEnter .article,.followup
\ :1s/\(alt\.fan\.cecil-adams\)/\1,misc.facts.straight-dope/

autocmd VimEnter .article,.followup
\ :1s/\(misc\.facts\.straight-dope.*\),misc\.facts\.straight-dope/\1/

Change ".article,.followup" if trn uses different names for the
temporary files, and change ":1s" if the "Newsgroups:" header doesn't
appear on line 1 in the editor. Above all, test (perhaps with alt.test
and misc.test), because I haven't tested.


A better solution is to use a news server that carries AFC-A.

-- 
PJR :-)

Updated documentation for slrn version pre0.9.9:
<http://pjr.lasnobberia.net/slrn-doc/>
Technical Details
Message-ID: <slrng5l87l.5kp.pjr@pjr.motzarella.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.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!feeder.erje.net!news.motzarella.org!motzarella.org!not-for-mail
References: <efaqi5-24i.ln1@royalty.mine.nu>

Show Full Headers
Complete Article Headers
Message-ID: <slrng5l87l.5kp.pjr@pjr.motzarella.org>
Subject: Re: automatic crossposting
Date: Thu, 19 Jun 2008 18:09:57 +0000
From: Peter J Ross <pjr@example.invalid>
References: <efaqi5-24i.ln1@royalty.mine.nu>
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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!feeder.erje.net!news.motzarella.org!motzarella.org!not-for-mail
Newsgroups: news.software.readers
Organization: none
Lines: 34
Reply-To: Peter J Ross <peadar.ruadh@gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: feeder.motzarella.org
 U2FsdGVkX19MW2dRu9RzmdNYj3PrnP8Y9ZI3UyqIeRXb5inE5249dzcrhqbBYPOCHsO1WJE/m5L2DprJ1gStj7TZBvZfbnxNF6L5qduNwQ76stRJu5ETf1quUt2F+S7SohnORkz/wV0=
X-Complaints-To: Please send complaints to abuse@motzarella.org with full
 headers
NNTP-Posting-Date: Thu, 19 Jun 2008 18:09:57 +0000 (UTC)
X-Auth-Sender: U2FsdGVkX18yv6P1o6JwPBzzrKRSF8/N
Cancel-Lock: sha1:S5kFxvwnLL6AHDSnJq+tdnGgqdQ=
User-Agent: slrn/pre0.9.9-112/mm (Linux)