🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #4069

Re: Having nn prompt when new newsgroups are added

#4069
From: Kristian Koehntopp
Date: Mon, 19 Apr 1993 06:52
49 lines
3327 bytes
In <z7t5lqc@rpi.edu> buckmr@vccnw02.its.rpi.edu (Ron Buckmire) writes:
>Is there a way to get nn to tell you about new newsgroup when they are
>created without unsubscribing to all the current newsgroups that one doesn't
>read?

The nn manual is accessible via the :man command from within
nn. In the section about variables there is a variable
new-group-action, which control how new newsgroups are treated.
Select the new-group-action suitable to your needs and put the
line

set new-group-action <number>

into your $HOME/.nn/init file. Have a look at the other
variables, too. There are almost surely more customizations
that you were missing badly.

Here is the relevant part from the man:

new-group-action action (integer, default 3)
     This variable controls how new groups are treated by nn. It is an integer
     variable, and the following values can be used. Some of these actions
     (marked with an *) will only work when keep-unsubscribed is set, since
     the presence of a group in .newsrc is the only way to recognize it as an
     old group:
     0) Ignore groups which are not in .newsrc. This will obviously include
     new groups.
     1*) Groups not in .newsrc are considered to be new, and are inserted at
     the beginning of the .newsrc file.
     2*) Groups not in .newsrc are considered to be new, and are appended to
     the end of the .newsrc file.
     3) New groups are recognized via a time-stamp saved in the file .nn/LAST
     and in the database, i.e. it is not dependent on the groups currently in
     .newsrc. The new groups are automatically appended to .newsrc with
     subscription. Old groups not present in .newsrc will be considered to be
     unsubscribed.
     4) As 3, but the user is asked to confirm that the new group should be
     appended to .newsrc. If rejected, the group will not be appended to
     .newsrc, and thus be regarded as unsubscribed.
     5) As 4, except that the information is stored in a format compatible
     with the rn news reader (.rnlast). This needs to be tested!


Kristian
-- 
Kristian Koehntopp, Harmsstrasse 98, DW-2300 Kiel, +49 431 676689
"After about an hour, without manuals, I guess I would prefer VMS
 but after a week, with manuals, I know that I would prefer UNIX."
	-- Mohammad Razi Khan in comp.arch
Technical Details
Message-ID: <1993Apr19.065239.746@black.toppoint.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!usc!wupost!uunet!math.fu-berlin.de!fub!tpki.toppoint.de!black.toppoint.de!kris
References: <z7t5lqc@rpi.edu>

Show Full Headers
Complete Article Headers
Message-ID: <1993Apr19.065239.746@black.toppoint.de>
Subject: Re: Having nn prompt when new newsgroups are added
Date: Mon, 19 Apr 1993 06:52:39 GMT
From: kris@black.toppoint.de (Kristian Koehntopp)
References: <z7t5lqc@rpi.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!usc!wupost!uunet!math.fu-berlin.de!fub!tpki.toppoint.de!black.toppoint.de!kris
Newsgroups: news.software.nn
X-Excuse: X-Copyright wegen Emma, Suedwestpresse und /C'T/DISKUSSIONEN.
Organization: Toppoint Mailbox e.V.
X-Copyright: (C) Copyright 1993 Kristian Koehntopp -- All rights reserved.
 Reproduktion, auch auszugsweise, ausserhalb elektronischer,
 nichtkommerzieller Datennetze nur mit ausdruecklichem,
 schriftlichem Einverstaendnis des Autors.
Lines: 49