🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
4 messages
4 total messages Started by Sherilyn Fri, 23 Jul 1999 00:00
Want to try Gnus on my slrn spool
#50079
Author: Sherilyn
Date: Fri, 23 Jul 1999 00:00
43 lines
2423 bytes
I guess this is a FAQ, but I'm afraid I find the Gnus documentation
quite difficult to follow since I don't know emacs too well.
What I want to do is to try out Gnus using the spool which I
fetch using slrnpull, a utility written by John E Davis for
use with his slrn newsreader.

The organisation looks like this--I assume this is pretty standard:

Location of news spool:
		/var/spool/slrnpull/news/

Location of postings for this group:
		/var/spool/slrnpull/news/news/software/readers

Location of outgoing postings to be posted by slrnpull:
		/var/spool/slrnpull/out.going/

This spool's active file:
		/var/spool/slrnpull/data/active

File containing article numbers of oldest and most recent postings
for this group:
		/var/spool/slrnpull/news/news/software/readers/.minmax

File containing XOVER information for this group:
		/var/spool/slrnpull/news/news/software/readers/.overview

slrn uses ~/.jnewsrc to track articles read by this user, but I don't
mind if this is ignored or corrupted by Gnus.

Is it possible to read this spool from Gnus?
If so, is it possible to post into the out.going directory so that
slrnpull can post to a news server later?  If not, I guess I could
write code to do this myself.

Starting from emacs, what command sequence would I use to read this
spool?
-- 
Sherilyn
PGP signature in X-PGP-Auth header.

Re: Want to try Gnus on my slrn spool
#50080
Author: Karl Kleinpaste
Date: Fri, 23 Jul 1999 00:00
40 lines
2703 bytes
Sherilyn@sidaway.demon.co.uk (Sherilyn) writes:
> Is it possible to read this spool from Gnus?

Certainly.  And you've documented exactly the things which need to be
known by Gnus; thank you for being complete.

Putting this into .gnus should get you what you want (untested, however):

(setq gnus-select-method '(nnspool "")
      nnspool-active-file "/var/spool/slrnpull/data/active"
      nnspool-inews-switches '("-h")
      nnspool-spool-directory "/var/spool/slrnpull/news/"
      nnspool-nov-directory "/var/spool/slrnpull/news/"
      nnspool-sift-nov-with-sed t
      ;nnspool-active-times-file "/var/spool/slrnpull/data/active.times" ; ???
      ;nnspool-history-file "var/spool/slrnpull/data/history" ; ???
      )

Things of note from those settings:
- If you don't have a history file, then you are completely unable to
  do parent-chase operations (`^', `M-^', `A R', `A T' in *Summary*).
  Non-fatal, but a pain, if you like to be able to reconstruct threads.
- -spool-dir and -nov-dir are the same place in your environment; this 
  is fine, but is unusual these days -- overviews in real news spools
  are often on separate spindles from the articles, for perf. reasons.
- You need an "inews" program of some kind, to put outgoing articles
  into /var/spool/slrnpull/out.going.  Otherwise, you need to write
  one yourself.  In your case, perhaps all it needs to do is to take
  the final article content shipped in on stdin, and drop it in a file
  in the .../out.going directory.
- Lack of active.times file means you won't be able to auto-detect new
  groups.

I am curious why slrnpull needs both a proper active file as well as
per-group .minmax files.  The presence of the former makes the latter
superfluous.

--karl

Re: Want to try Gnus on my slrn spool
#50083
Author: Sherilyn
Date: Fri, 23 Jul 1999 00:00
29 lines
2191 bytes
In article <vxkzp0nqv4f.fsf@beaver.jprc.com>, Karl Kleinpaste wrote:
>Sherilyn@sidaway.demon.co.uk (Sherilyn) writes:
>> Is it possible to read this spool from Gnus?
>
>Certainly.  And you've documented exactly the things which need to be
>known by Gnus; thank you for being complete.

Thanks for the very complete response.
...
>- You need an "inews" program of some kind, to put outgoing articles
>  into /var/spool/slrnpull/out.going.  Otherwise, you need to write
>  one yourself.  In your case, perhaps all it needs to do is to take
>  the final article content shipped in on stdin, and drop it in a file
>  in the .../out.going directory.

Yes, I think I'll just use a script to cat it to a file based on the
Message-ID.
...
>I am curious why slrnpull needs both a proper active file as well as
>per-group .minmax files.  The presence of the former makes the latter
>superfluous.
>
I think it's probably just to support a feature of slrn that makes use
of the active file.
-- 
Sherilyn
PGP signature in X-PGP-Auth header.

Re: Want to try Gnus on my slrn spool
#50109
Author: Sherilyn
Date: Sat, 24 Jul 1999 00:00
26 lines
2259 bytes
In article <vxkzp0nqv4f.fsf@beaver.jprc.com>, Karl Kleinpaste wrote:
...
>
>Putting this into .gnus should get you what you want (untested, however):
>
>(setq gnus-select-method '(nnspool "")
>      nnspool-active-file "/var/spool/slrnpull/data/active"
>      nnspool-inews-switches '("-h")
>      nnspool-spool-directory "/var/spool/slrnpull/news/"
>      nnspool-nov-directory "/var/spool/slrnpull/news/"
>      nnspool-sift-nov-with-sed t
>      ;nnspool-active-times-file "/var/spool/slrnpull/data/active.times" ; ???
>      ;nnspool-history-file "var/spool/slrnpull/data/history" ; ???
>      )

This enabled me to get going once I got up to speed on emacs and worked
out how to feed it a delete (^?) from the backspace key--until then, life
was, um, interesting.  I'm still having trouble trying to persuade it to
prompt for username as well as password when connecting to an nntp server,
however.  On one server where my username is the same as my login name,
it works fine.
-- 
Sherilyn|PGP signature in X-PGP-Auth header.
Public key (PGP 2.6.2): http://www.sidaway.demon.co.uk/sherilyn.asc

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