🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
5 messages
5 total messages Started by Monte Milanuk Wed, 24 Mar 1999 00:00
slrn 0.9.5.2 + leafnode 1.7.1
#47490
Author: Monte Milanuk
Date: Wed, 24 Mar 1999 00:00
20 lines
2383 bytes
I have a fairly functional setup running SuSE 6.0 w/ kernel 2.2.3, leafnode 1.7.1, and slrn 0.95.2.  I can keep everything working, except that unless I use 'fetch -n', leafnode periodically unsubscribes all of my groups, leaving slrn to warn me that the group may be bogus.  I followed the instructions in README.SuSE as close as I could during setup, w/ one problem then, that may be connected.  The README said to be sure to enter every group even if it was empty or just contained a default placeholder message.  Well, I have installed and uninstalled slrn several times, and it just beeps and won't let me view the group, saying that there are no messages to be viewed.  I have to manually type in at the shell 'echo "">comp.os.linux.admin >comp.os.linux.announce ... and so on in /var/spool/news/interesting.groups/ for every newsgroup I want to be subscribed to.  Effective, but quite a PITA!  And as I said, if I do not use 'fetch -n' (do not expire unread groups), I periodically have to recreate all the files in
 /var/spool/news/interesting.groups/ by hand as described above.  Yes, I could try and figure out how to automate _that_, but I would rather get slrn and leafnode to play together nicely.

Monte

-- 


"This year will go down in history.  For the first time, a civilized nation has full gun registration.  Our streets will be safer, our police more efficient, and the world will follow our lead into the future!"

						- Adolph Hitler 1935

Something about those who fail to learn from history are doomed to repeat it comes to mind.

						- Unknown

Monte Milanuk

Re: slrn 0.9.5.2 + leafnode 1.7.1
#47598
Author: Monte Milanuk
Date: Sun, 28 Mar 1999 00:00
46 lines
3519 bytes
>making you start over from scratch, I'd recommend you consider using
>slrnpull instead.

Well, I considered that as well, plus inn+suck.  The latter seemed just a wee bit of overkill for a one user machine at home, though good practice if I should later want to 'sell' my employer on Linux.  The former didn't seem to be much easier to setup the config files during compile time (my SuSE 6.0 distr. doesn't seem to come w/ slrnpull).  Yes, I probably could make sense out of what I really do need and don't need and set it up and compile it, but if I wanted that much of a PITA, I would just go w/ inn+suck to start w/.
>
>    for GROUP in `sed 's/:.*$//' < $HOME/.newsrc`; do
>        touch /var/spool/news/interesting.groups/${GROUP}
>    done
Uhh.., sorry, still relatively new here... not real handy w/ scripts in general yet, and not at all w/ sed and greps

>
>Run that before your automated news fetches, (you did automate the
>fetches, right?) and you should have the result you want.

Actually, no.  As I said, I haven't had a lot of luck w/ scripts as of yet (mostly attributed to major frustration trying to establish a dialup connection in RH5.x.  It was bad enough to turn just about anyone off of scripts.)  But yes, ultimately my goal is to get this set up to dialup early in the morning, send/receive mail and news, and start up slrn and mutt, (complete w/ kill and score files, of course).  But that is still a ways down the road.  Right now I was kinda trolling for some input from someone who might have the same problems, so as to narrow it down to a problem w/ a)leafnode, or b)slrn, before going for an all-out assault to fix it.  

>
>> I would rather get slrn and leafnode to play together nicely.
>
>Then I think you need to get leafnode to expire articles differently. Is
>it possible to expire articles by age in leafnode?
>
>I hope that helps...
>
>-- 
>----------------------------------------------------------------------
>Sylvain Robitaille                              syl@alcor.concordia.ca
>
>Systems Manager                                   Concordia University
>Instructional & Information Technology        Montreal, Quebec, Canada
>----------------------------------------------------------------------


-- 


"This year will go down in history.  For the first time, a civilized nation has full gun registration.  Our streets will be safer, our police more efficient, and the world will follow our lead into the future!"

						- Adolph Hitler 1935

Something about those who fail to learn from history are doomed to repeat it comes to mind.


Monte Milanuk

Re: slrn 0.9.5.2 + leafnode 1.7.1
#47600
Author: Sylvain Robitaille
Date: Sun, 28 Mar 1999 00:00
41 lines
2305 bytes
On Wed, 24 Mar 1999 19:48:50 -0600, Monte Milanuk wrote:

> The README said to be sure to enter every group even if it was empty
> or just contained a default placeholder message.

I've never used leafnode, but if that's what's required in order to have
it continue to download all groups, I'd say it's broken. At the risk of
making you start over from scratch, I'd recommend you consider using
slrnpull instead.

> I have to manually type in at the shell 'echo "">comp.os.linux.admin
> >comp.os.linux.announce ... and so on in
> /var/spool/news/interesting.groups/ for every newsgroup I want to be
> subscribed to.  Effective, but quite a PITA!
  
That should be quite trivial to automate, if you prefer to stick with
your current setup. In fact, just have a cron job that does:

    for GROUP in `sed 's/:.*$//' < $HOME/.newsrc`; do
        touch /var/spool/news/interesting.groups/${GROUP}
    done

Run that before your automated news fetches, (you did automate the
fetches, right?) and you should have the result you want.

> I would rather get slrn and leafnode to play together nicely.

Then I think you need to get leafnode to expire articles differently. Is
it possible to expire articles by age in leafnode?

I hope that helps...

-- 
----------------------------------------------------------------------
Sylvain Robitaille                              syl@alcor.concordia.ca

Systems Manager                                   Concordia University
Instructional & Information Technology        Montreal, Quebec, Canada
----------------------------------------------------------------------

Re: slrn 0.9.5.2 + leafnode 1.7.1
#47630
Author: Sylvain Robitaille
Date: Tue, 30 Mar 1999 00:00
94 lines
5567 bytes
On Sun, 28 Mar 1999 08:35:51 -0600, Monte Milanuk <mm43300@navix.net> wrote:

>> I'd recommend you consider using slrnpull instead.
> 
> Well, I considered that as well, plus inn+suck.  The latter seemed
> just a wee bit of overkill for a one user machine at home, though good
> practice if I should later want to 'sell' my employer on Linux.
  
I certainly agree. You shouldn't need to run a full blown news server,
though I also agree the experience could be useful.

> The former didn't seem to be much easier to setup the config files
> during compile time (my SuSE 6.0 distr. doesn't seem to come w/
> slrnpull).

It's really not that difficult, (I don't use pre-packaged Slrn either).
If you like, I could send you the transcript of my own installation,
outlining what I've done here. I've had Slrnpull running for quite some
time, without any trouble. One caveat: I'm not using the latest version
of slrn/slrnpull, so if you intend to use that, you likely will need to
make some changes from my transcript, (like a patch I created at this
end is now in the distribution).

> Yes, I probably could make sense out of what I really do need and
> don't need and set it up and compile it, but if I wanted that much of
> a PITA, I would just go w/ inn+suck to start w/.

Trust me, slrnpull is a lot easier than Inn and Suck, (though I have to
admit I've never used Suck). If you feel at all like you could handle
Inn, Slrnpull should seem quite trivial. Of course if you prefer the Inn
route, by all means...

>>     for GROUP in `sed 's/:.*$//' < $HOME/.newsrc`; do
>>         touch /var/spool/news/interesting.groups/${GROUP}
>>     done
> Uhh.., sorry, still relatively new here... not real handy w/ scripts
> in general yet, and not at all w/ sed and greps

That's ok, I'll try and explain it. First of all, that's in Bourne
syntax, (as opposed to csh syntax), so if you run it in a shell, it
should be a Bourne-compatible shell, (Bash seems to be the default on
all the Linux distributions I've seen, so that shouldn't be a problem
for you).

I don't know how much programming experience you might have at all, so
I'm going to try and assume you have very little, but you at least
understand loop control, (and that a for loop executes once for every
case that a condition is true -- in this case, once for every element in
a list, replacing the variable GROUP with the "current" list element).

The real part of the above code snippet is the sed command which says,
taking input from the file $HOME/.newsrc, ($HOME is an environment
variable which is set to your home directory), "on each input line,
substitute (s) starting from the first colon (:) character, followed by
any number of any characters (.*) until the end of the line ($) with
nothing." Sed, by default prints its output on "standard out", which
here will form the list of elements for the for loop.

In English, what that does is read your .newsrc file, (where your
newsreader keeps track of what articles you've read in which newsgroups;
Note for a stock slrn installation, you'll likely need to use .jnewsrc),
and print out just the list of newsgroups to which you're subscribed,
(I'm assuming your .newsrc file contains just the newsgroups to which
you subscribe, by the way -- check your slrn configuration to be sure).

What happens in the loop is that a file corresponding to each newsgroup
to which you're subscribed is "touched" in the interesting.groups
directory. That is, if the file exists, its "last modified" time stamp
is adjusted to the current time, and (more importantly) if the file
doesn't exist, it's created (as an empty file).

If you're at all curious, experiment with the above sed command, or even
the loop itself, but rather than touching a file, simply 'echo ${GROUP}'
so you can see the result of each pass through the loop.

> I was kinda trolling for some input from someone who might have the
> same problems, so as to narrow it down to a problem w/ a)leafnode, or
> b)slrn, before going for an all-out assault to fix it.

Well, I hope the fix doesn't need to involve much of an assault,
actually. What you're trying to do really isn't difficult, and software
really shouldn't make it difficult. If you download a current copy of
the Slrn distribution, and carefully read the accompanying
documentation, you should encounter no problems with Slrn and Slrnpull.

-- 
----------------------------------------------------------------------
Sylvain Robitaille                              syl@alcor.concordia.ca

Systems Manager                                   Concordia University
Instructional & Information Technology        Montreal, Quebec, Canada
----------------------------------------------------------------------

Re: slrn 0.9.5.2 + leafnode 1.7.1
#47683
Author: Tim Kynerd
Date: Thu, 01 Apr 1999 00:00
49 lines
3037 bytes
On Sun, 28 Mar 1999 08:35:51 -0600, Monte Milanuk <mm43300@navix.net> wrote:
>>making you start over from scratch, I'd recommend you consider using
>>slrnpull instead.
>
>Well, I considered that as well, plus inn+suck.  The latter seemed just a
>wee bit of overkill for a one user machine at home, though good practice if
>I should later want to 'sell' my employer on Linux.  The former didn't seem
>to be much easier to setup the config files during compile time (my SuSE 6.0
>distr. doesn't seem to come w/ slrnpull).  Yes, I probably could make sense
>out of what I really do need and don't need and set it up and compile it,
>but if I wanted that much of a PITA, I would just go w/ inn+suck to start w/.

I run slrn and slrnpull on my single-user box at home under SuSE 6.0.  If
you'd like more specific help with getting it going, I'd be glad to try to
guide you through the process; just e-mail me.

I promise you that, as Sylvain said in a response to your post, slrnpull is
not difficult to get running.

-snip-

>>Run that before your automated news fetches, (you did automate the
>>fetches, right?) and you should have the result you want.
>
>Actually, no.  As I said, I haven't had a lot of luck w/ scripts as of yet
>(mostly attributed to major frustration trying to establish a dialup
>connection in RH5.x.  It was bad enough to turn just about anyone off of
>scripts.)  But yes, ultimately my goal is to get this set up to dialup early
>in the morning, send/receive mail and news, and start up slrn and mutt,
>(complete w/ kill and score files, of course).  But that is still a ways
>down the road.  Right now I was kinda trolling for some input from someone
>who might have the same problems, so as to narrow it down to a problem w/
>a)leafnode, or b)slrn, before going for an all-out assault to fix it.

I had to solve some of the same problems in setting up my machine.  My setup
dials up every four hours, sends and receives news and mail, and sets the
time on the machine from a time server.  I leave slrn and pine running all
the time and have experienced no problems on that score.

-snip-

Best regards,

--
Tim Kynerd
Sundbyberg (sm�stan i storstan), Sweden
tksweden@newsguy.com

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