🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
10 messages
10 total messages Started by Randall Hopper Sat, 28 Jun 1997 00:00
slrn - slrnpull Wishes
#34660
Author: Randall Hopper
Date: Sat, 28 Jun 1997 00:00
30 lines
1825 bytes
I set up slrnpull to cache a few newsgroups for me while I'm gone on trips
so I don't miss anything, and found I couldn't get it to work quite the way
I wanted.

First, I was surprised when, invoking slrn on the local spool, it decided
to delete all the subscribed groups in my newsrc that I hadn't decided to
cache via slrnpull.  Second, I would have preferred if slrnpull would just
have pulled the articles that I hadn't read yet (obtainable from my
.newsrc), not all articles out on the server for those groups.  And after
continued use, it would also be nice if slrnpull would flush (expire)
articles that have been read (again, from my .newsrc), either after I've
read them, or on the next slrnpull invocation from my crontab.  

The latter two features would minimize news traffic/fetch time and keep
the spool smaller.

In summary, it would be helpful if there were options in a future version
to:
    1) cause slrn not to delete newsgroups in the newsrc that aren't in
       the local spool,
    2) cause slrnpull not to pull articles marked read in a .newsrc
    3) cause slrnpull to expire articles marked read in a .newsrc


Many thanks to John and the other slrn developers for a great news reader!

Randall Hopper

Re: slrn - slrnpull Wishes
#34675
Author: Randall Hopper
Date: Sun, 29 Jun 1997 00:00
51 lines
2721 bytes
Bek Oberin <gossamer@glasswings.com.au> wrote:
 |Randall Hopper (rhh@ct.picker.com) wrote...
 |> In summary, it would be helpful if there were options in a future version
 |> to:
 |>     1) cause slrn not to delete newsgroups in the newsrc that aren't in
 |>        the local spool,
 |
 |Why not set up a different .jnewsrc for using the local spool than
 |when you're reading from nntp?  I can't remember the syntax offhand
 |but it's dead simple.  Take a look in the man page.

Well, because I like to be able to read on-line as well as from spool.
slrn doesn't change the article numbers so sharing a newsrc makes good
sense.

Typically, I just cache the newsgroups I read the most where I don't want
to miss any news.  I'll read these frequently-read groups from spool, but
I'll frequently want to read more newsgroups than I care to spool by
invoking slrn on-line to the news server.  This approach has three
advantages:

   a) I don't miss any articles in newsgroups I read the most
   b) Reading spooled, frequently-read groups is fast
   c) I can flip between on-line and spool and not see articles I've read
      either place.

I ended up writing a perl script wrapper around slrn to pick out just the
lines for spooled groups from my master .newsrc, put them into a temp
.newsrc, run slrn on the spool and temp .newsrc, and then piece the
newsgroups from the temp newsrc back into my master .newsrc, being careful
to keep the order the same.

This works, but it would be completely unnecessary if there were just a:

      set prune_newsrc 0 

setting I could flip in the #ifdef SPOOL section of my .slrnrc.

 |>     2) cause slrnpull not to pull articles marked read in a .newsrc
 |>     3) cause slrnpull to expire articles marked read in a .newsrc
 |
 |The last two are things that'll *only* be useful if you're the only
 |person on your machine using slrnpull, which is not guaranteed to be
 |the case (it's not the case here, for example).

Right.  That's my situation.

Randall Hopper

Re: slrn - slrnpull Wishes
#34691
Author: John E. Davis
Date: Sun, 29 Jun 1997 00:00
21 lines
1231 bytes
On 28 Jun 1997 18:40:03 GMT, Randall Hopper <rhh@ct.picker.com>
wrote:
>    1) cause slrn not to delete newsgroups in the newsrc that aren't in
>       the local spool,
>    2) cause slrnpull not to pull articles marked read in a .newsrc
>    3) cause slrnpull to expire articles marked read in a .newsrc

There is no connection between slrnpull and a newsrc file, nor do I
believe that there should be a connection.  Instead, I recommend that
you put, e.g.,

   set spool_root "/tmp/news/news.fuller.edu/news"
   server "/tmp/news/news.fuller.edu/news"  ".newsrc.nfe"

in your .slrnrc file to associate a newsrc file with the spool
directory.

--John

Re: slrn - slrnpull Wishes
#34696
Author: Randall Hopper
Date: Sun, 29 Jun 1997 00:00
51 lines
2721 bytes
Bek Oberin <gossamer@glasswings.com.au> wrote:
 |Randall Hopper (rhh@ct.picker.com) wrote...
 |> In summary, it would be helpful if there were options in a future version
 |> to:
 |>     1) cause slrn not to delete newsgroups in the newsrc that aren't in
 |>        the local spool,
 |
 |Why not set up a different .jnewsrc for using the local spool than
 |when you're reading from nntp?  I can't remember the syntax offhand
 |but it's dead simple.  Take a look in the man page.

Well, because I like to be able to read on-line as well as from spool.
slrn doesn't change the article numbers so sharing a newsrc makes good
sense.

Typically, I just cache the newsgroups I read the most where I don't want
to miss any news.  I'll read these frequently-read groups from spool, but
I'll frequently want to read more newsgroups than I care to spool by
invoking slrn on-line to the news server.  This approach has three
advantages:

   a) I don't miss any articles in newsgroups I read the most
   b) Reading spooled, frequently-read groups is fast
   c) I can flip between on-line and spool and not see articles I've read
      either place.

I ended up writing a perl script wrapper around slrn to pick out just the
lines for spooled groups from my master .newsrc, put them into a temp
.newsrc, run slrn on the spool and temp .newsrc, and then piece the
newsgroups from the temp newsrc back into my master .newsrc, being careful
to keep the order the same.

This works, but it would be completely unnecessary if there were just a:

      set prune_newsrc 0 

setting I could flip in the #ifdef SPOOL section of my .slrnrc.

 |>     2) cause slrnpull not to pull articles marked read in a .newsrc
 |>     3) cause slrnpull to expire articles marked read in a .newsrc
 |
 |The last two are things that'll *only* be useful if you're the only
 |person on your machine using slrnpull, which is not guaranteed to be
 |the case (it's not the case here, for example).

Right.  That's my situation.

Randall Hopper

Re: slrn - slrnpull Wishes
#34712
Author: John E. Davis
Date: Mon, 30 Jun 1997 00:00
14 lines
1046 bytes
On 29 Jun 1997 13:18:59 GMT, Randall Hopper <rhh@ct.picker.com>
wrote:
>Well, because I like to be able to read on-line as well as from spool.
>slrn doesn't change the article numbers so sharing a newsrc makes good
>sense.

That is an implementation-dependent detail that you should not rely
on.  It may change in the future if I add support to merge spools from
multiple servers.

--John

Re: slrn - slrnpull Wishes
#34723
Author: David E. Fox
Date: Mon, 30 Jun 1997 00:00
27 lines
1661 bytes
In article <5p3lq3$ih9$1@iagnews.iagnet.net>, Randall Hopper wrote:
>
>First, I was surprised when, invoking slrn on the local spool, it decided
>to delete all the subscribed groups in my newsrc that I hadn't decided to
>cache via slrnpull.  Second, I would have preferred if slrnpull would just

I've noticed this as well. I think I even commented about how nice
it would be to keep one unified newsrc where you spool some groups but
leave others on the NNTP server - that way the newsrc would get updated
right whether or not you invoked it with the -spool option.

>Many thanks to John and the other slrn developers for a great news reader!

ditto.

>Randall Hopper


-- 
------------------------------------------------------------------------
David E. Fox                 Tax              Thanks for letting me
dfox@belvdere.vip.best.com   the              change magnetic patterns
root@belvedere.sbay.org      churches         on your hard disk.
-----------------------------------------------------------------------

Re: slrn - slrnpull Wishes
#34728
Author: Randall Hopper
Date: Mon, 30 Jun 1997 00:00
51 lines
2720 bytes
Bek Oberin <gossamer@glasswings.com.au> wrote:
 |Randall Hopper (rhh@ct.picker.com) wrote...
 |> In summary, it would be helpful if there were options in a future version
 |> to:
 |>     1) cause slrn not to delete newsgroups in the newsrc that aren't in
 |>        the local spool,
 |
 |Why not set up a different .jnewsrc for using the local spool than
 |when you're reading from nntp?  I can't remember the syntax offhand
 |but it's dead simple.  Take a look in the man page.

Well, because I like to be able to read on-line as well as from spool.
slrn doesn't change the article numbers so sharing a newsrc makes good
sense.

Typically, I just cache the newsgroups I read the most where I don't want
to miss any news.  I'll read these frequently-read groups from spool, but
I'll frequently want to read more newsgroups than I care to spool by
invoking slrn on-line to the news server.  This approach has three
advantages:

   a) I don't miss any articles in newsgroups I read the most
   b) Reading spooled, frequently-read groups is fast
   c) I can flip between on-line and spool and not see articles I've read
      either place.

I ended up writing a perl script wrapper around slrn to pick out just the
lines for spooled groups from my master .newsrc, put them into a temp
.newsrc, run slrn on the spool and temp .newsrc, and then piece the
newsgroups from the temp newsrc back into my master .newsrc, being careful
to keep the order the same.

This works, but it would be completely unnecessary if there were just a:

      set prune_newsrc 0 

setting I could flip in the #ifdef SPOOL section of my .slrnrc.

 |>     2) cause slrnpull not to pull articles marked read in a .newsrc
 |>     3) cause slrnpull to expire articles marked read in a .newsrc
 |
 |The last two are things that'll *only* be useful if you're the only
 |person on your machine using slrnpull, which is not guaranteed to be
 |the case (it's not the case here, for example).

Right.  That's my situation.

Randall Hopper

Re: slrn - slrnpull Wishes
#34773
Author: Randall Hopper
Date: Tue, 01 Jul 1997 00:00
35 lines
1914 bytes
John E. Davis <davis@space.mit.edu> wrote:
 |There is no connection between slrnpull and a newsrc file, nor do I
 |believe that there should be a connection.  Instead, I recommend that
 |you put, e.g.,
 |
 |   set spool_root "/tmp/news/news.fuller.edu/news"
 |   server "/tmp/news/news.fuller.edu/news"  ".newsrc.nfe"
 |
 |in your .slrnrc file to associate a newsrc file with the spool
 |directory.

If one flips back and forth between spool and server, they'll of course be
seeing the same articles again.  So I guess you're suggesting not to flip
back and forth between spool and server.

That's unfortunate because I consider this one of slrnpull's big advantages. 

 |>              I like to be able to read on-line as well as from spool.
 |>slrn doesn't change the article numbers so sharing a newsrc makes good
 |>sense.
 |
 |That is an implementation-dependent detail that you should not rely
 |on.  It may change in the future if I add support to merge spools from
 |multiple servers.

I sure hope the article numbers aren't changed in the future.  Being able
to read either on-line or from spool, updating the same newsrc, is a nice
feature and saves a lot of time waiting on articles to fetch.

Randall Hopper



Re: slrn - slrnpull Wishes
#34787
Author: David Gerard
Date: Wed, 02 Jul 1997 00:00
30 lines
1636 bytes
On 30 Jun 1997 03:10:24 GMT,
John E. Davis <davis@space.mit.edu> wrote:
:On 29 Jun 1997 13:18:59 GMT, Randall Hopper <rhh@ct.picker.com>
:wrote:

:>Well, because I like to be able to read on-line as well as from spool.
:>slrn doesn't change the article numbers so sharing a newsrc makes good
:>sense.
:That is an implementation-dependent detail that you should not rely
:on.  It may change in the future if I add support to merge spools from
:multiple servers.


Uhhhhh ... you just verbalised one of my long-time wishes.

Something like: primary server; secondary server, to top up from;
other servers as available; perhaps check around open-for-reading
servers ...

Um, *yes please*. :-)


-- 
http://thingy.apana.org.au/~fun/scn/
http://www.suburbia.net/~fun/scn/
http://wpxx02.toxi.uni-wuerzburg.de/~gerard/  (European mirror)
http://www.prysm.net/~cuthulu/fun/  (US mirror - fast!)

Re: slrn - slrnpull Wishes
#34947
Author: David E. Fox
Date: Tue, 08 Jul 1997 00:00
21 lines
1484 bytes
In article <5pb74l$2v9$1@iagnews.iagnet.net>, Randall Hopper wrote:

>If one flips back and forth between spool and server, they'll of course be
>seeing the same articles again.  So I guess you're suggesting not to flip
>back and forth between spool and server.

Aren't the article numbers though the same on the spool and on the
server? (Assuming of course one gets all the articles in a particular
group.)

>Randall Hopper

-- 
------------------------------------------------------------------------
David E. Fox                 Tax              Thanks for letting me
dfox@belvdere.vip.best.com   the              change magnetic patterns
root@belvedere.sbay.org      churches         on your hard disk.
-----------------------------------------------------------------------

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