🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
4 messages
4 total messages Started by Niclas Mattsson Tue, 03 Jan 1995 14:04
Need UNIX command-line newsreader
#14249
Author: Niclas Mattsson
Date: Tue, 03 Jan 1995 14:04
13 lines
1106 bytes
Hello!

I need a newsreader (actually 'newsdownloader') which will download the articles
from a given newsgroup and store them in a file. Example:

getnews -group alt.test -first 11000 -last 11300 > outfile

which stores articles 11000-11300 of alt.test in outfile. Does something like
this exist? Where can I find it?

Please reply to niclas@entek.chalmers.se, not the address above.

Niclas Mattsson
Re: Need UNIX command-line newsreader
#14252
Author: Peter Kappesser
Date: Tue, 03 Jan 1995 17:45
20 lines
1691 bytes
Recently in news.software.readers,
	niclas@entek.chalmers.se (Niclas Mattsson) wrote:
>I need a newsreader (actually 'newsdownloader') which will download the
>articles from a given newsgroup and store them in a file. Example:
>
>getnews -group alt.test -first 11000 -last 11300 > outfile
>
>which stores articles 11000-11300 of alt.test in outfile. Does something like
>this exist? Where can I find it?

If the trn newsreader is available on your system, the 'trnkill' script
(included in the trn FAQ) would work; in fact, I use it to save all articles
from this newsgroup which mention trn. This also lets you be selective as to
which articles you save.

The FAQ was posted last week here and on news.answers, or can be ftp'd from
<URL:ftp://rtfm.mit.edu/pub/usenet/news.software.readers/>

--
pjkappes@mailbox.syr.edu (Peter Kappesser)
Re: Need UNIX command-line newsreader
#14730
Author: John Savage
Date: Thu, 19 Jan 1995 07:07
47 lines
3165 bytes
On 3 Jan 1995, niclas@entek.chalmers.se (Niclas Mattsson) wrote:

>I need a newsreader (actually 'newsdownloader') which will download the
>articles from a given newsgroup and store them in a file. Example:
>
>getnews -group alt.test -first 11000 -last 11300 > outfile
>
>which stores articles 11000-11300 of alt.test in outfile.

I think it should be possible to do this with the kill file idea in
rn/trn, but I have not tried it, and anyway rn is too cantankerous to
reliably loop through a given block of articles without crashing.

If you have the tin newsreader on your Unix system, then it is admirably
suited to batch mode saving of news articles, though my use of it is not
a shining example of disk operation efficiency. The basic command is

tin -c -m /tmp/nm -f .newsrc.1

where .newsrc.1 is a file containing one or more lines of the form:-

news.newusers.questions: 1-2345

This stores each available article from 2346 upwards as an individual file
in the directory /tmp/nm/news/newusers/questions, then I cat * >> bigfile,
zip it up, and delete all the article files.

If you particularly desired only some of the available articles, say
2346-2379, then try altering the above example and see what happens, e.g.,

news.newusers.questions: 1-2345,2380-9999

Use of the /tmp directory is recommended so that you encounter none of the
constraints on disk space which are likely when using your home directory,
as the unpacked file size when saving USENET news might turn out to be large.

If you'd like the shell script I use to accomplish this, then mail me.
                                                      __       __
         :--_-_-_--.  _____________________________  {  \_____/  }  __________
         | (_|_|_) |                                 {           }
      .  |  (_|_)  |                                 '~. `[ ]` .~'  Australia,
  _--_|\ |---------'      John Savage (visitor)        (.__=-- )    beautiful
 /      \|  Sydney       guest account courtesy:      _/ ~~~~~ \_   one day -
 \_.--._/^   2000         Macquarie  University      (w         w)  perfect
       v   OLYMPICS        Sydney    Australia        (         )   the next.
                                                       \__ _ __/
===========internet: johns@macadam.mpce.mq.edu.au=====  \_) (_/  =============
Re: Need UNIX command-line newsreader
#14736
Author: Larry W. Virden
Date: Thu, 19 Jan 1995 10:28
10 lines
1452 bytes
Note that while it does not, as far as I can tell, support article numbers,
newscan supports grabbing articles and saving them into a file.  It 
was just recently posted to comp.sources.misc I believe.  It allows one
to search for patterns in groups of newsgroups from various nntp servers.
-- 
:s Larry W. Virden                 INET: larry.virden@cas.org
:s <URL:http://www-bprc.mps.ohio-state.edu/cgi-bin/hpp/lvirden_sig.html>
:s Unless explicitly stated to the contrary, nothing in this posting should 
:s be construed as representing my employer's opinions.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads