🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
8 messages
8 total messages Started by Curly++ Tue, 14 Mar 2000 00:00
[leafnode] How to tell it's being accessed?
#59225
Author: Curly++
Date: Tue, 14 Mar 2000 00:00
15 lines
1276 bytes
I'm trying to write a wrapper that will run `fetchnews` at 
varying intervals.  More often when the news is being read, 
much less often when no one is on the system. 

I haven't been able to find any marks left behind on my Linux 
system if the news is accessed from another computer in the 
house.  


-- 
Oisin  "Curly++"  Curtin                     ocurtin@SPAM.usa.net
Surface Liaison, Minetown Digger                    Send no SPAM.
                                http://pages.infinit.net/curlypp/

Re: [leafnode] How to tell it's being accessed?
#59200
Author: karsten
Date: Tue, 14 Mar 2000 00:00
27 lines
1637 bytes
Curly++ <ocurtin@nospam.usa.net> wrote:
> I'm trying to write a wrapper that will run `fetchnews` at 
> varying intervals.  More often when the news is being read, 
> much less often when no one is on the system. 

> I haven't been able to find any marks left behind on my Linux 
> system if the news is accessed from another computer in the 
> house.  

Why the contortions?  One of the advantages of leafnode is that it only
pulls items from active groups.  Why not simply run it on a more
frequent (hourly?) schedule and be done with it?


> -- 
> Oisin  "Curly++"  Curtin                     ocurtin@SPAM.usa.net
> Surface Liaison, Minetown Digger                    Send no SPAM.
>                                 http://pages.infinit.net/curlypp/

-- 
Karsten M. Self (kmself@ix.netcom.com)
    What part of "Gestalt" don't you understand?

Scope out Scoop:  http://scoop.kuro5hin.org/
Nothin' rusty about Kuro5hin:  http://www.kuro5hin.org/

Re: [leafnode] How to tell it's being accessed?
#59245
Author: Curly++
Date: Wed, 15 Mar 2000 00:00
44 lines
2859 bytes
In news.software.readers, karsten@ix.netcom.com proclaimed:
> Curly++ <ocurtin@nospam.usa.net> wrote:
> > I'm trying to write a wrapper that will run `fetchnews` at 
> > varying intervals.  More often when the news is being read, 
> > much less often when no one is on the system. 
> 
> > I haven't been able to find any marks left behind on my Linux 
> > system if the news is accessed from another computer in the 
> > house.  
> 
> Why the contortions?  One of the advantages of leafnode is that it only
> pulls items from active groups.  Why not simply run it on a more
> frequent (hourly?) schedule and be done with it?

I guess everyone has different habits and different needs.
 
I have it on an hourly cycle now.  It's fine for my favorite 
group in the rec.games heirarchy, it's OK for discussions like 
this, but among my professional contancts, it's not unusual for a
usenet discussion to go around the table three times in a single 
afternoon.  It's only the important stuff that doesn't work.  :-/ 
 
News servers are cronically overloaded, especially at ISPs that 
offer high speed connections.  My ISP often needs three "fetchnews" 
before it successfully takes a posting.  That can be a four 
hour delay.  Not good.  To stay in the loop, I have to monitor 
the outgoing queue manually and also manually run fetchnews before 
reading the important stuff.  

This will solve the problem for me, running three times in five 
minutes to get a posting out, picking up replies while I'm still 
reading, then backing off when I log out.  I can already do that 
based on my use on the same machine leafnode runs on.  If I can 
make it work for my daughter's system then it will work across 
any small home network.  I figure that might be usefull to other 
people, too. 


-- 
Oisin  "Curly++"  Curtin                     ocurtin@SPAM.usa.net
Surface Liaison, Minetown Digger                    Send no SPAM.
                                http://pages.infinit.net/curlypp/

Re: [leafnode] How to tell it's being accessed?
#59276
Author: Curly++
Date: Thu, 16 Mar 2000 00:00
21 lines
1670 bytes
In news.software.readers, Thorfinn proclaimed:
 
> assume there is some way to tell its reader mode process (I forget
> what it's called, but IIRC, it's usually run out of inetd) to log some

You mean use IP wrappers?  It's one way, but not a terribly 
generic solution.  I was hoping to find something that wouldn't 
require installing any other software.  Especially something as 
complex as that. 
 
Maybe I'll find time to look at the source this weekend, but I 
dunno, I've got a wizard past The Quest for the first time... 
<grin>


-- 
Oisin  "Curly++"  Curtin                     ocurtin@SPAM.usa.net
Surface Liaison, Minetown Digger                    Send no SPAM.
                                http://pages.infinit.net/curlypp/

Re: [leafnode] How to tell it's being accessed?
#59284
Author: Thorfinn
Date: Thu, 16 Mar 2000 00:00
27 lines
2105 bytes
In news.software.readers, on Wed, 15 Mar 2000 14:21:49 -0500
Curly++ <ocurtin@NOSPAM.usa.net> wrote:
[ leafnode cycling and backoff ]
> based on my use on the same machine leafnode runs on.  If I can 
> make it work for my daughter's system then it will work across 
> any small home network.  I figure that might be usefull to other 
> people, too. 

*nodnod* True.  I haven't played with leafnode in some time, but I
assume there is some way to tell its reader mode process (I forget
what it's called, but IIRC, it's usually run out of inetd) to log some
information about usage?

Then it'd be a matter of cobbling together a script to watch those
logs, then frobbing the frequency of fetchnews runs from there.

Later,

  Thorf

-- 
David Goh <thorfinn@netizen.com.au> -- http://netizen.com.au/
Internet and Open Source Development, Consulting and Training
Netizen Pty Ltd, GPO Box 2265U, Melbourne VIC 3000, Australia
   Telephone: +61-3-9614-0949   Facsimile: +61-3-9614-0948

Re: [leafnode] How to tell it's being accessed?
#59321
Author: Thorfinn
Date: Fri, 17 Mar 2000 00:00
26 lines
2169 bytes
In news.software.readers, on Thu, 16 Mar 2000 18:23:31 -0500
Curly++ <ocurtin@NOSPAM.usa.net> wrote:
> In news.software.readers, Thorfinn proclaimed:
> > assume there is some way to tell its reader mode process (I forget
> > what it's called, but IIRC, it's usually run out of inetd) to log some
> You mean use IP wrappers?  It's one way, but not a terribly 
> generic solution.  I was hoping to find something that wouldn't 
> require installing any other software.  Especially something as 
> complex as that. 

No no.  I mean I was presuming that leafnode's reader mode processes
had *some* level of logging and ability to turn on logging.

I don't know, since I don't have it installed anywhere... 

Later,

   Thorf

-- 
David Goh <thorfinn@netizen.com.au> -- http://netizen.com.au/
Internet and Open Source Development, Consulting and Training
Netizen Pty Ltd, GPO Box 2265U, Melbourne VIC 3000, Australia
   Telephone: +61-3-9614-0949   Facsimile: +61-3-9614-0948

Re: [leafnode] How to tell it's being accessed?
#59380
Author: Curly++
Date: Mon, 20 Mar 2000 00:00
36 lines
2605 bytes
In news.software.readers, Thorfinn proclaimed:
> In news.software.readers, on Thu, 16 Mar 2000 18:23:31 -0500
> Curly++ <ocurtin@NOSPAM.usa.net> wrote:
> > In news.software.readers, Thorfinn proclaimed:

> > > assume there is some way to tell its reader mode process (I forget
> > > what it's called, but IIRC, it's usually run out of inetd) to log some

> > You mean use IP wrappers?  It's one way, but not a terribly 
 
> No no.  I mean I was presuming that leafnode's reader mode processes
> had *some* level of logging and ability to turn on logging.

Yes, but not usefull.  In debugging mode it records activity 
to syslog.  I didn't check if it records reads 'cause it would 
take too much bandwidth to analyze the entire syslog.  I intend 
for the wrapper to run *far* more often than an actual fetchnews, 
preferrably as a daemon to remove it from cron's 1 minute madness.
It's gotta be more efficient than that. 

It's looking more and more like this will require an IP wrapper 
or a mod to leafnode.  I was realy hoping someone here would have
known of a solution.  <sigh>  I'll go ahead with what I've got and
post here when it's been tested enough and there's just enough 
doc's to install it on a dup of my system <grin>.  I'll come back
to this problem only if there is some interest in the program. 

I'll post when it's ready... prob'ly next weekend, RL permitting. 


-- 
Oisin  "Curly++"  Curtin                     ocurtin@SPAM.usa.net
Surface Liaison, Minetown Digger                    Send no SPAM.
                                http://pages.infinit.net/curlypp/

Re: [leafnode] [freshnews] Concept code now available
#59718
Author: Curly++
Date: Mon, 27 Mar 2000 00:00
15 lines
1541 bytes
I've written a small utility to run fetchnews based on demand. 
This is pre-alpha code, but if I'm the only one who wants it, 
I'm not going to give it much polish.  
 
If you run leafnode, take a look at 
         http://pages.infinit.net/curlypp/freshnews/
and see if this would be usefull to you.


-- 
Oisin  "Curly++"  Curtin                     ocurtin@SPAM.usa.net
Surface Liaison, Minetown Digger                    Send no SPAM.
                                http://pages.infinit.net/curlypp/

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