Article View: news.software.readers
Article #126373Re: Command-line posting (non-interactive)
From: Alan Connor
Date: Fri, 13 Jun 2003 19:26
Date: Fri, 13 Jun 2003 19:26
56 lines
2545 bytes
2545 bytes
In article <bcd097$t4l$1@harrier.doc.ic.ac.uk>, Philip Willoughby wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi all, > > I need to add a command to automatically post to a newsgroup to a script > I've written. I know this must be possible, or spammers couldn't > operate ;-). > > However, I need the command to work whether the user in question uses > news at all or not. I can assume the NNTPSERVER variable will be set > correctly, but the .newsrc may be missing or not contain the group in > question. > > I've looked at using slrn (no), trn (no), and nnpost (yes, if you set it > up first). > > To set your minds at rest, my script installs new software into a > network-wide location. Since the stuff is not officially supported, I > can't email everyone as I normally would, but at the same time I'd like > to give users a better method of finding when it's updated than "watch > ls" ;-). > > Any ideas? > > Regards, > > Philip Willoughby > What I do, Philip, and I'm not sure that this will help you or not, is use slrn/slrnpull rather than stay connected to the newserver. I compose posts on slrn (but they could be from any news-editor, I would think) and it puts them in $SLRNPULL_ROOT/out.going. I have slrnpull --post-only aliased to sn and they are on the way at a couple of keystrokes. Be easy to script this, I would think. alanc
Technical Details
Message-ID:
<zzpGa.47277$Io.4371970@newsread2.prod.itd.earthlink.net>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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newshub.sdsu.edu!elnk-pas-nf2!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread2.prod.itd.earthlink.net.POSTED!not-for-mailReferences:
<bcd097$t4l$1@harrier.doc.ic.ac.uk>Show Full Headers
Complete Article Headers
Message-ID: <zzpGa.47277$Io.4371970@newsread2.prod.itd.earthlink.net> Subject: Re: Command-line posting (non-interactive) Date: Fri, 13 Jun 2003 19:26:23 GMT From: Alan Connor <xxxxxx@xxxx.xxx> References: <bcd097$t4l$1@harrier.doc.ic.ac.uk> 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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newshub.sdsu.edu!elnk-pas-nf2!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread2.prod.itd.earthlink.net.POSTED!not-for-mail Newsgroups: news.software.readers Reply-To: alanconnor@earthlink.net User-Agent: slrn/0.9.7.3 (Linux) Lines: 55 NNTP-Posting-Host: 63.187.201.243 X-Complaints-To: abuse@earthlink.net X-Trace: newsread2.prod.itd.earthlink.net 1055532383 63.187.201.243 (Fri, 13 Jun 2003 12:26:23 PDT) NNTP-Posting-Date: Fri, 13 Jun 2003 12:26:23 PDT Organization: EarthLink Inc. -- http://www.EarthLink.net