Article View: news.software.readers
Article #8836Re: Which newsreader can use command mode
From: Marc Wachowitz
Date: Sun, 01 May 1994 18:08
Date: Sun, 01 May 1994 18:08
20 lines
2237 bytes
2237 bytes
PM Wong (s11976@ctsc.hkbc.hk) wrote:
> We have the need to post a lot of articles (stored in files)
> to a particular newsgroup. It'll be handy if a newsreader (we are using tin
> , but this one cannot do it) can accept posting by command line
When invoked with the -w option, tin will prompt for newsgroup and subject,
enter an editor, ask whether it should really post the article and quit. It
is quite simple to provide the necessary input by redirecting stdin; merely
the editing part appears to be problematic at the first look. But even that
is easy - just smuggle in some shell script as editor (by setting EDITOR in
the environment before invoking tin). All it has to do is writing the right
text into the file .article, including the Subject: and Newsgroups: header.
You can supply a constant input at the subject/newsgroup prompt, and change
it in your pseudo-editor script. By trying this interactively, you can find
out the exact input requirements - I don't know whether it depends on tin's
version (the -w options at least exists in tin 1.2 PL2).
------------------------------------------------------------------------------
* wonder everyday * nothing in particular * all is special *
Marc Wachowitz <mw@ipx2.rz.uni-mannheim.de>
Technical Details
Message-ID:
<2q0r6u$g5b@darum.uni-mannheim.de>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!bga.com!news.sprintlink.net!hookup!yeshua.marcam.com!zip.eecs.umich.edu!newsxfer.itd.umich.edu!gumby!yale!yale.edu!nigel.msen.com!zib-berlin.de!news.belwue.de!news.uni-stuttgart.de!rz.uni-karlsruhe.de!darum.uni-mannheim.de!ipx2.rz.uni-mannheim.de!mwReferences:
<2ppmov$hn3@ctsc.hkbc.hk>Show Full Headers
Complete Article Headers
Message-ID: <2q0r6u$g5b@darum.uni-mannheim.de> Subject: Re: Which newsreader can use command mode Date: Sun, 01 May 1994 18:08:30 +0000 From: mw@ipx2.rz.uni-mannheim.de (Marc Wachowitz) References: <2ppmov$hn3@ctsc.hkbc.hk> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!bga.com!news.sprintlink.net!hookup!yeshua.marcam.com!zip.eecs.umich.edu!newsxfer.itd.umich.edu!gumby!yale!yale.edu!nigel.msen.com!zib-berlin.de!news.belwue.de!news.uni-stuttgart.de!rz.uni-karlsruhe.de!darum.uni-mannheim.de!ipx2.rz.uni-mannheim.de!mw Newsgroups: news.software.readers,comp.unix.aix Followup-To: news.software.readers,comp.unix.aix Organization: --- Lines: 20 NNTP-Posting-Host: ipx2.rz.uni-mannheim.de X-Newsreader: TIN [version 1.2 PL2]