🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #27965

Re: Question on slrn's -create option

#27965
From: Olly Betts
Date: Thu, 28 Nov 1996 00:00
40 lines
2306 bytes
In article <E1IyM5.4zL@world.std.com>, Craig Werner wrote:
>The man page says the -create option should be used the first time slrn 
>is run on a server.  Is this switch to be invoked by the sysadmin when 
>first installing slrn or by each user the first time he/she runs slrn?  
>If I don't run the software with the -create switch, how will slrn behave?

The -create switch creates a .jnewsrc file (or another name if you specify
one) for you, by reading the list of active newsgroups from the server (this
can take some time, as the list can be very long).

The .jnewsrc file lists groups you are subscribed to and which ranges of
article numbers you have read in those groups.  It can also list groups
marked as unsubscribed, but it's best to tell slrn to drop such groups
as it makes the file much shorter.

If you don't create one, slrn says:

: slrn 0.9.1.1 BETA
: Unable to open /root/.jnewsrc.  I will try .newsrc.
:
: Unable to open /root/.newsrc.
: If you want to create /root/.newsrc, add command line options:
:    -f /root/.newsrc -create

If the link to the server is very slow, you could just use 'touch .jnewsrc'
to create an empty file, and then use 'a' to add groups you know the exact
names of.

BTW, the format of .jnewsrc is the same as the format of the .newsrc files
used by most Unix newsreaders (e.g. rn and trn).  I think some MS Windows
readers (e.g. NX) use it too.  So if you're moving to slrn from another
newsreader, you can probably keep your .newsrc file.  But bear in mind that
article numbers will differ between news servers, so don't keep your
.newsrc if you change news servers, else your newsreader will be confused
over which articles you've read.

Olly

Technical Details
Message-ID: <slrn59r1qo.g4f.olly@noxious.muscat.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: <E1IyM5.4zL@world.std.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrn59r1qo.g4f.olly@noxious.muscat.co.uk>
Subject: Re: Question on slrn's -create option
Date: Thu, 28 Nov 1996 00:00:00 +0000
From: olly@noxious.muscat.co.uk (Olly Betts)
References: <E1IyM5.4zL@world.std.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: 201227395
X-nntp-posting-host: noxious.muscat.co.uk
Newsgroups: news.software.readers