🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
1 messages
1 total messages Started by Sherilyn Wed, 28 Jul 1999 00:00
Hack to post Gnus articles via slrnpull
#50190
Author: Sherilyn
Date: Wed, 28 Jul 1999 00:00
45 lines
2171 bytes
-----BEGIN PGP SIGNED MESSAGE-----

As I mentioned a few days ago, I've been experimenting with Gnus as an
alternative to slrn.  I was happy with slrnpull as a means of
obtaining articles so I didn't see any need to configure innd or
leafnode, or anything like that; my SuSE 5.3 system already had inews,
so the articles were ending up in /var/spool/news/in.coming.

My slrnpull system expects to find articles to be posted to be in
/var/spool/slrnpull/out.going, and there is a slight format
difference and the filenames must start with "X".  You also need to
add yourself to the news group in /etc/group so you can delete the
news articles as you transfer them to the slrnpull directory.  This
script runs on UNIX systems under bash, and should also work under
Korn shell

#!/bin/bash
SERVER=${1:-insert.posting.news.server.here}
SLRNPULL_DIR=${2:-/var/spool/slrnpull}
for F in /var/spool/news/in.coming/*
do
    if [ -f $F ]
    then
	G=${SLRNPULL_DIR}/out.going/X$(basename $F)
	echo "<<"$F
	echo ">>"$G
	sed -e 's/^\./\.\./' $F >$G
	rm $F
    fi
done
slrnpull -d $SLRNPULL_DIR -h $SERVER --post-only


-----BEGIN PGP SIGNATURE-----
Version: 2.6.2
Comment: Processed by Mailcrypt 3.5.2, an Emacs/PGP interface

iQCVAwUBN59TotSR8rI01qX9AQGJaQP9HVvTtyfnp2wIdgFfXPYFD+alyMFOcvBV
Yx3FpsMiy7T0WFI5Eat0Yai/XIjlhbciNm7k1V+mBzI0TBa3lIpgoR2wIoLZwExg
1Tqx4HyKUavt64cN0vLckkX6yG6Ddvyf7MIaTn6OuxVISsV/Q8YOY9Y2BAb0h8wG
EmJzyYYdiK4=
=bLcT
-----END PGP SIGNATURE-----

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