🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
5 messages
5 total messages Started by Craig Werner Wed, 27 Nov 1996 00:00
Question on slrn's -create option
#27951
Author: Craig Werner
Date: Wed, 27 Nov 1996 00:00
18 lines
1110 bytes
Hello, everyone.

I'm about to try slrn, but I'm stuck before I start.  :-)

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?

This is the kindd of question that bothers compulsive doc readers like me
who really don't understand all the ins and outs of UNIX. 

Thanks for all help.

Craig Werner <werner@world.std.com>

Re: Question on slrn's -create option
#27965
Author: 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

Re: Question on slrn's -create option
#27968
Author: Carey Evans
Date: Thu, 28 Nov 1996 00:00
21 lines
1447 bytes
On Wed, 27 Nov 1996 10:32:28 GMT, Craig Werner <werner@world.std.com> 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?

It means it should be run by each user, to download the active file from the
server and turn it into that user's .jnewsrc.  Some other options seem to
need to be set to *keep* it there, but since my server has a working XGTITLE
command I haven't bothered.

I suppose this is a good time to say that my current version of slrn seems
to like crashing if it has an empty .jnewsrc.

-- 
	  Carey Evans  <*>  c.evans@student.canterbury.ac.nz

		       "Do you know who I am?"

Re: Question on slrn's -create option
#28076
Author: Heikki Kantola
Date: Wed, 04 Dec 1996 00:00
29 lines
2031 bytes
In article <slrn45aapvm.jhv.lillqvis@vesuri.helsinki.fi>,
	lillqvis@cc.Helsinki.FI (Holger Lillqvist) writes:
> 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?
> 
> As others already have pointed out, that parameter is for each user.
> However, if you _change_ to slrn from another newsreader, you probably
> want to ignore the -create switch, because if slrn can't find a
> .jnewsrc, it looks for a .newsrc, and upon exiting saves it as .jnewsrc.
> Thus you automatically get all newsgroups you had before, using that
> other reader.

And if you don't like the idea that slrn will use its own .jnewsrc
(for example because you still want use other newsreaders too), you
can force it to use the standard .newsrc-file simply by adding the
following line to your .slrnrc:
	server your.news.server.name .newsrc

-- 
Heikki "Hezu" Kantola, <Heikki.Kantola@IKI.FI>
L�hett�m�ll� mainoksia tai muuta asiatonta s�hk�postia yll� olevaan
osoitteeseen sitoudut maksamaan oikolukupalvelusta FIM500 alkavalta
tunnilta.

Re: Question on slrn's -create option
#28090
Author: Holger Lillqvist
Date: Wed, 04 Dec 1996 00:00
21 lines
1483 bytes
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?
:  

As others already have pointed out, that parameter is for each user.
However, if you _change_ to slrn from another newsreader, you probably
want to ignore the -create switch, because if slrn can't find a
.jnewsrc, it looks for a .newsrc, and upon exiting saves it as .jnewsrc.
Thus you automatically get all newsgroups you had before, using that
other reader.

-- 
Holger.Lillqvist@Helsinki.Fi
University of Helsinki * Nordica / Institute of literature

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