🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
10 messages
10 total messages Started by John E. Davis Fri, 28 Jun 1996 00:00
announce: slrn 0.8.8.3 with inews, local spool support released
#23460
Author: John E. Davis
Date: Fri, 28 Jun 1996 00:00
60 lines
2960 bytes
   slrn version 0.8.8.3 has been released.  This version provides support
for a local news spool and inews.  Thanks go to Erik Manders (inews) and
Olly Betts (local spool) for these features.  

   The local spool support was scheduled for 0.8.9 but I decided to release
it early to get some feedback on it and to iron out any problems that may
occur.  For that reason, I consider this to be a beta release.  If you do
not intend to use these features, you might want to upgrade simply because
of a few minor bug fixes (nothing major) and support for multiple newsgroup
patterns in score files (see list of changes below).

   As usual slrn is available from:
   
      ftp://space.mit.edu/pub/davis/slrn/
      
      ftp://ftp.uni-stuttgart.de/pub/unix/misc/slang/

Changes since 0.8.8.2
0.  Misc bug fixes (very small)
1.  Support for INEWS and LOCAL NEWS SPOOL.  The INEWS patches were
    originally provided by Erik Manders <erik@il.ft.hse.nl>.
    Olly Betts <olly@mantis.co.uk> is responsible for the local spool support.
    Edit src/features.h to enable these options.
    
    The following slrn.rc variables are are related to the spool support:
    
	 set spool_inn_root "/export/opt/inn"
	 set spool_root "/export/news"
	 set spool_nov_root "/export/news"
	 % -- The following filenames are relative to spool_root
	 set spool_nov_file ".overview"
	 set spool_active_file "data/active"
	 set spool_activetimes_file "data/active.times"
	 set spool_newsgroups_file "data/newsgroups"

    Of course default values for these files may be hard-coded.  See
    src/features.h.
    
    In addition, new command line arguments have been added:
    
          --inews ==> use inews for posting
	  --nntp  ==> use nntp
	  --spool ==> use local news spool
	  --version
	  
2.  Score files now allow more than one newsgroup pattern to be specified,
    e.g., 
    
        [sci.*, comp.*]
	   .
	   .


-- 
John E. Davis                   Center for Space Research/AXAF Science Center
617-258-8119                    MIT 37-662c, Cambridge, MA 02139
http://space.mit.edu/~davis


Re: announce: slrn 0.8.8.3 with inews, local spool support released
#23476
Author: Liam Greenwood
Date: Fri, 28 Jun 1996 00:00
24 lines
1893 bytes
On 28 Jun 1996 17:28:36 GMT, John E. Davis <davis@space.mit.edu> wrote:
> Changes since 0.8.8.2
> 0.  Misc bug fixes (very small)
> 1.  Support for INEWS and LOCAL NEWS SPOOL.  The INEWS patches were
>     originally provided by Erik Manders <erik@il.ft.hse.nl>.
>     Olly Betts <olly@mantis.co.uk> is responsible for the local spool support.
>     Edit src/features.h to enable these options.
>     
>     The following slrn.rc variables are are related to the spool support:
>     
> 	 set spool_inn_root "/export/opt/inn"

First off - thanks for the local spool support. 
Does the spool_inn_root variable indicate that the local spool support
depends on the news systems being INN?  If so can you let me know what the 
dependancies are?  I will be running cnews on my home system, and will 
need to address any such issues.
(Please don't bother telling me any inn-is-better stories.  Cnews is
the answer for _me_, for what I need to do on the system available.)

			CHeers, Liam


Re: Scoring/slrn (was: slrn 0.8.8.3 with local spool support)
#23508
Author: Steve Lamb
Date: Sat, 29 Jun 1996 00:00
24 lines
1819 bytes
On 29 Jun 1996 01:53:31 GMT, Christopher B. Browne <cbbrowne@dantzig.nodomain.nowhere> wrote:

>d) With the growing score files, one will need some score file management
>tools in order to keep the score file from bloating too much; neato
>score file tools would be interesting in any case.
>
>I'm liable to build some Perl scripts to load in scoring information and
>shorten it, taking out:
> - comments
> - expired scores
> - duplicates (fold rules together)

    jfesler here has already done it.  Works rather nicely, in fact, but I
think he has it for strictly in house use at the moment.

-- 
                         ------------ = -----------
                                Steve C. Lamb 
  This is not like TV only better. This is life. It's a piece of somebody's
   life. Pure and uncut, straight from the cerebral cortex. You're there.
            You're doing it, seeing it, hearing it... feeling it.


Scoring/slrn (was: slrn 0.8.8.3 with local spool support)
#23513
Author: Christopher B. Browne
Date: Sat, 29 Jun 1996 00:00
81 lines
3877 bytes
In article <slrn4t85i4.6d3.davis@aluche.mit.edu>, John E. Davis wrote:
>   slrn version 0.8.8.3 has been released.  This version provides support
>for a local news spool and inews.  Thanks go to Erik Manders (inews) and
>Olly Betts (local spool) for these features.  

This may sound like an unkind question; it's not intended as such.

So slrn now supports a local news spool.  Who cares?

I might well be interested; I can't quite tell, at least not from the
news posting.  I don't think I'm a dummy here; ignorant; but not dumb.
I figured out that it was quite worthwhile running an HTTP proxy server,
and was able to configure and install that.  I speculate that this might
be the same issue.

Speculatively, I might theorize that:
"A local spool allows some of the communications that go on between
newsreader and NNTP server to take place on one box instead of passing
over potentially slow network lines."  This might actually be related
to reality; I don't know for sure.

A sentence like:
"Local spool support is commonly useful because...<X, Y, Z>" would
be *extremely* useful.

>2.  Score files now allow more than one newsgroup pattern to be specified,
>    e.g., 
>        [sci.*, comp.*]

What I would *really* like to see in scoring is as follows:
a) Display article headers in order of score.  (ala the option in strn).

b) Have *two* thresholds for negative scoring instead of the one.
Right now, articles with <-9999 scores get killed altogether, and
articles with <0 scores are marked as deleted automatically.

I'd like to see two changes to this:
i) -9999 becomes a configurable value - kill_article
ii) 0 becomes a configurable value - mark_deleted

c) I would like to have various events associated with articles to have
the potential to add in scores (ala GNUS).

There might be a set of variables looking like:
from_delta_read=5
from_delta_deleted=-5
from_delta_replied=50
from_delta_...
subject_delta_read=2
subject_delta_deleted=-1
subject_delta_replied=25
xref_delta_deleted=-1
xref_delta_read=1
xref_delta_replied=20
...

This way, a score file gets built up signalling my preferences in
various areas based just on what I read and don't read.  I don't have
to enter scores explicitly as often; slrn figures out some things about
my preferences automatically.

It probably makes sense to have default expiry time ranges associated
with these scores too. 

d) With the growing score files, one will need some score file management
tools in order to keep the score file from bloating too much; neato
score file tools would be interesting in any case.

I'm liable to build some Perl scripts to load in scoring information and
shorten it, taking out:
 - comments
 - expired scores
 - duplicates (fold rules together)
-- 
Christopher B. Browne, cbbrowne@conline.com, chris_browne@sdt.com
Web: http://www.conline.com/~cbbrowne  SAP Basis Consultant, UNIX Guy,
Linux Guy.  "Windows?  Ah...  The Athena Project from MIT..."


Re: Scoring/slrn (was: slrn 0.8.8.3 with local spool support)
#23532
Author: John E. Davis
Date: Sat, 29 Jun 1996 00:00
52 lines
3646 bytes
On 29 Jun 1996 01:53:31 GMT, Christopher B. Browne <cbbrowne@dantzig.nodomain.nowhere>
wrote:
 : In article <slrn4t85i4.6d3.davis@aluche.mit.edu>, John E. Davis wrote:
 : >   slrn version 0.8.8.3 has been released.  This version provides support
 : >for a local news spool and inews.  Thanks go to Erik Manders (inews) and
 : >Olly Betts (local spool) for these features.
[...]
 : So slrn now supports a local news spool.  Who cares?

I should have pointed out that by default, local spool and inews support are
not compiled into slrn.  So, if you use slrn to simply access news via NNTP
and do not need the ability to read from a local news spool, simply build it
as usual.  However, if you want to use slrn to read from a local news spool,
you will have to enable the support in slrn/src/features.h.

I do not know how many people have access to a local news spool so I cannot
say what impact this feature will have.  I do not have access to a local
news spool.  However, I have received quite a few requests for this feature
and it is something that most Unix newsreaders support.  In fact, a news
administrator of one somewhat well known commercial service told me that all
of their customers read news from a news spool and that they do not intend
to offer NNTP support for performance reasons.

As far as inews goes, apparantly quite a few sites who provide NNTP
connections for their users require that posting be done through inews.  For
those sites, this is an important feature.

I like the way the new features were integrated into slrn. Basically now
slrn communicates to the server and posting ``objects'' through a well
defined interface.  These objects function as something like device drivers
which conform to the specifications of the interface.  The beauty of this is
that it opens the door to other device drivers making it possible for slrn
to support other types of servers.

Currently, only two drivers are supported: NNTP and LOCAL spool.  However,
the road is paved for new drivers.  For example, someone from Carnegie
Mellon contacted me about adding support for an IMAP4 server which is
apparantly a combined mail and news server.  Now it is easy to add such
support to slrn.  Also, about 5 people have mentioned that they would like
slrn to become their mail program.  While I have no intention to write code
that would add support for reading email with slrn, I believe that this can
be done now much more easily via the appropriate driver.  Finally, it might
also be possible to provide some sort of off-line reading support via the
appropriate driver.

-- 
John E. Davis                   Center for Space Research/AXAF Science Center
617-258-8119                    MIT 37-662c, Cambridge, MA 02139
http://space.mit.edu/~davis


Re: announce: slrn 0.8.8.3 with inews, local spool support released
#23576
Author: ol... Olly Betts
Date: Mon, 01 Jul 1996 00:00
52 lines
2914 bytes

In article <slrn4t8q...@sweetums.lab.nz.eds.com>, Liam Greenwood wrote:
>Does the spool_inn_root variable indicate that the local spool support
>depends on the news systems being INN?

I don't believe so.  It just means I use INN.  The naming of the .slrnrc
options is John's adaption of some #define-s in my code.

The only requirements for you to use the local spool are:

* the group name converts to the directory by converting '.' to '/' and
  prepending a root path.

* articles are stored as numbered files in these directories.

* filing system read access to these files

If you want NOV/XOVER support, you need to have the overview files in a
similar directory structure (it can be the same one, but commonly is on a
different partition for efficiency reasons) where the NOV data is in a
particular file in each group directory (usually ".overview").

The local spool code can cope with no other information, but it will work
more efficiently if you can give it paths to these files (the format is one
line per group, each line being like the example I've given):

* 'active' e.g. news.software.readers 0000027502 0000023223 y
  (Used to check for new articles, valid groups, etc).

* 'active.times' e.g. news.software.nntp 795466693 ta...@uunet.uu.net
  (Used to check for newly created groups).

* 'newsgroups' e.g. comp.lang.awk		The AWK programming language.
  (Used for newsgroup descriptions).

If you use INN, these files are usually all in the same directory, so you
can just set "spool_inn_root" and the default relative paths will find the
files.  You can however set the paths individually, or if you don't have an
equivalent, set them to dummy values.  So you can use slrn to read MH-style
mail folders (which store each message as a numbered file, and folders are
directories) -- I've tried this, and it works.

If anyone is using a newsserver which has a different format for any of the
support files, send me some mail and we can try to sort out a patch.

Olly
-- 
cool wet grass  cool wet grass  cool wet grass  cool wet grass  cool wet grass


Re: announce: slrn 0.8.8.3 with inews, local spool support released
#23589
Author: he... Volker Hejny
Date: Mon, 01 Jul 1996 00:00
29 lines
1923 bytes

On 28 Jun 1996 17:28:36 GMT, John E. Davis wrote:
>
>   The local spool support was scheduled for 0.8.9 but I decided to release
>it early to get some feedback on it and to iron out any problems that may
>occur.  

Some thoughts:

I think the local spool support is a nice idea. Now, there's only one
feature missing to close the gap between NNTP and a local spool area.
I would like to have an option to save articles in a spool-area like
structure, may be all new articles, tagged ones or depending on the scorefile.
This would help to archive articles or to prevent to miss some
articles while on holiday. Therefore it might be useful to run slrn
in batch-mode like tin.

V. Hejny

-- 
==============================================================================
Volker Hejny                               |  Tel.: 0641 - 702 2783 / 2760   
II. Physikalisches Institut, Uni Giessen   |  Fax : 0641 - 74390       
Heinrich-Buff-Ring 16, D-35392 Giessen     |  URL :       
EMail: he...@piggy.physik.uni-giessen.de   |  http://www.uni-giessen.de/~gdt6
==============================================================================

slrn on VMS (was Re: announce: slrn 0.8.8.3)
#23595
Author: pro... Niels Provos
Date: Mon, 01 Jul 1996 00:00
54 lines
2713 bytes

In article <slrn4t85i...@aluche.mit.edu>, John E. Davis wrote:
>   slrn version 0.8.8.3 has been released.  
[...]
>1.  Support for INEWS and LOCAL NEWS SPOOL.  The INEWS patches were
>    originally provided by Erik Manders <er...@il.ft.hse.nl>.
>    Olly Betts <ol...@mantis.co.uk> is responsible for the local spool support.
>    Edit src/features.h to enable these options.
There are some problems with compiling slrn0.8.8.3 on Alpha OpenVMS Systems
which I try to state here.

1. While using netlib 'gethostbyname' is still a nonexistant function and thus
generates linker errors. I replaced every occurance in clientlib.c and misc.c
just by NULL and stated a hostname in 'slrn.rc'.

2. It seems that some defines got lost during the update which cause compiler
errors. The following are missing in src/slrnconf.h:

#define USE_DOMAIN_NAME 1

#define MY_DOMAIN_NAME "foo.bar"

#define SLRN_SERVER_ID_NNTP 1
#define SLRN_SERVER_ID_SPOOL 2

#define SLRN_POST_ID_NNTP 1
#define SLRN_POST_ID_INEWS 2

3. The next compiler error is generated while compiling server.c:
  slrn_exit_error is defined differently twice 
( not the exact error message but I hope you get what I mean )

It seems that this error is caused by using slrn_exit_error in clientlib.c 
without any prototype. I include "slrn.h" in clientlib.c and could 
compile server.c afterwards.

4. Hmm, I am not quite sure if you are aware of the MX% mail transport by
Madgoat Software which is fairly common ... perhaps add a define for that
also.

Okay, after those changes slrn run pretty okay for me.... hehe, and I
wouldnt want to miss it ;)

Greetings
 Niels Provos =8)
-- 
- PHYSnet Rechnerverbund     PGP V2.6 Public key via finger or key server
  Niels Provos               
  Universitaet Hamburg       WWW: http://www.physnet.uni-hamburg.de/provos/   
  Jungiusstrasse 9           E-Mail: pro...@wserver.physnet.uni-hamburg.de
  Germany 20355 Hamburg      Tel.:   +49 40 4123-2504     Fax: -6571 

Re: announce: slrn 0.8.8.3 with inews, local spool support released
#23601
Author: da... John E. Davis
Date: Mon, 01 Jul 1996 00:00
21 lines
1520 bytes

On Fri, 28 Jun 1996 23:33:20 GMT, Liam Greenwood <li...@sweetums.lab.nz.eds.com>
wrote:
 : > 	 set spool_inn_root "/export/opt/inn"
 : 
 : First off - thanks for the local spool support. 
 : Does the spool_inn_root variable indicate that the local spool support
 : depends on the news systems being INN?  If so can you let me know what the
 : dependancies are?  I will be running cnews on my home system, and will 

It is just a name that is the root directory for the active file,
activetimes file, and newsgroups file.  Perhaps I should have chosen a more
generic name.

-- 
John E. Davis                   Center for Space Research/AXAF Science Center
617-258-8119                    MIT 37-662c, Cambridge, MA 02139
http://space.mit.edu/~davis

Re: Scoring/slrn (was: slrn 0.8.8.3 with local spool support)
#23619
Author: ol... Olly Betts
Date: Mon, 01 Jul 1996 00:00
52 lines
2863 bytes

In article <slrn4t92ek.5jq.cbbrowne@dantzig.nodomain.nowhere>, Christopher B. Browne wrote:
>This may sound like an unkind question; it's not intended as such.
>
>So slrn now supports a local news spool.  Who cares?
>
>[...]
>
>Speculatively, I might theorize that:
>"A local spool allows some of the communications that go on between
>newsreader and NNTP server to take place on one box instead of passing
>over potentially slow network lines."  This might actually be related
>to reality; I don't know for sure.

That's a pretty close guess.  In fact, it eliminates the use of NNTP
entirely.

>A sentence like:
>"Local spool support is commonly useful because...<X, Y, Z>" would
>be *extremely* useful.

OK, here goes:

Local spool support is useful if you run your newsreader on the same box[*]
as the newsserver you are using, because you can cut out the overhead of
opening sockets and using NNTP, and just access the files directly.  It's
perceptibly faster on our Unix box here.

[*] In fact you don't necessarily need to have the newsreader and newsserver
on the same box.  The newsreader just needs to have filing system access to
the directories where the newsserver keeps the news, for example over NFS.
I'm not sure how local spool over NFS will compare to NNTP though.

This does require the news to be stored in files in directories in a
standard way, but most news servers currently do I believe.  A few more
modern ones have more cunning storage systems, for example geared for
efficient expiry.  You'll have to use NNTP in these cases (or work out how
to patch the local spool code).

>What I would *really* like to see in scoring is as follows:
>a) Display article headers in order of score.  (ala the option in strn).

I've written a patch for this which I've sent to John, so hopefully it'll be
incorporated soon.  If anyone wants a copy in the meantime, mail me.

Olly
-- 
cool wet grass  cool wet grass  cool wet grass  cool wet grass  cool wet grass


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