🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #27157

Re: slrn - without nntp access

#27157
From: Olly Betts
Date: Wed, 23 Oct 1996 00:00
86 lines
3667 bytes
In article <skiDzp9o2.DAz@netcom.com>, Jeff wrote:
>I currently use tin on netcom.  After reading all the messages about slrn
>I wanted to check it out.  I built it and then found out that I don't 
>have nntp access.  In the file slrnfeat.h it says that if you want to
>configure it to use the spool directory you need inews.

Not quite true: you can read from the spool directory and post using NNTP.
But that's not much use if you don't have NNTP access.

>Does anyone know where to get inews?

Presumably it's already installed somewhere, since tin presumably is using
it to post.  Try these at a shell prompt to try to find where:

 which inews
 strings `which tin` | grep inews

If these don't turn up anything, try looking in the following places:

 /usr/local/news/inews
 /usr/local/lib/news/inews
 /etc/inews
 /usr/etc/inews
 /usr/news/inews
 /usr/news/bin/inews
 /usr/lib/news/inews

If that fails, ask your sysadmin, or try this (it searches the entire disk,
and may make you unpopular with the sysadmins if you do it often):

 find / -name inews -ls

>Also, what options in the header files should
>be set to configure it to use the spool directory.

You'll want these to get the correct backends:

#define SLRN_HAS_NNTP_SUPPORT   0
#define SLRN_HAS_SPOOL_SUPPORT	1
#define SLRN_HAS_INEWS_SUPPORT	1

The rest can be configured after building, but you may as well do it here.
The default values are those which are correct for my machine, but I think
the setup here is somewhat non-standard.  Your sysadmin should be able to
tell you where to look on your machine.

Replace "/usr/local/bin/inews" with the location of inews on your system:

# define SLRN_INEWS_PROGRAM      "/usr/local/bin/inews -S -h"

This is where the news spool is.  "/var/spool/news" is common.

# define SLRN_SPOOL_ROOT	"/export/news"

This is where the overview files live.  They are often in the same
directories as the news spool, but there are performance reasons for them
not to be.  I believe "/var/spool/news/over.view" is common.

# define SLRN_SPOOL_NOV_ROOT	SLRN_SPOOL_ROOT

This is the leafname of the overview files.  ".overview" is very likely to
be correct.

# define SLRN_SPOOL_NOV_FILE	".overview"

These need to be pointed to the correct places.  "/usr/lib/news", "active",
"active.times", and "newsgroups" are common values.  The local spool backend
can cope without any or all of them.  Without the active file it will be
less efficient.  Without active.times, you won't get told about new groups.
Without newsgroups, you won't get newsgroup descriptions.

# define SLRN_SPOOL_INNROOT	"/export/opt/inn"
  /* If the following filenames are relative ones, they are considered to be
   * relative to SLRN_SPOOL_INNROOT.
   */
# define SLRN_SPOOL_ACTIVE	"data/active"
# define SLRN_SPOOL_ACTIVETIMES	"data/active.times"
# define SLRN_SPOOL_NEWSGROUPS	"data/newsgroups"

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


Technical Details
Message-ID: <slrn56scm1.o09.olly@mantis.co.uk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <skiDzp9o2.DAz@netcom.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrn56scm1.o09.olly@mantis.co.uk>
Subject: Re: slrn - without nntp access
Date: Wed, 23 Oct 1996 00:00:00 +0000
From: olly@mantis.co.uk (Olly Betts)
References: <skiDzp9o2.DAz@netcom.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 191513298
Content-type: text/plain; charset=iso-8859-1
Organization: Mantis Consultants Ltd, Cambridge. UK.
Mime-version: 1.0
Newsgroups: news.software.readers