🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
2 messages
2 total messages Started by David C Lawrence Sun, 03 Feb 1991 21:49
Re: How to properly add a group?
#1375
Author: David C Lawrence
Date: Sun, 03 Feb 1991 21:49
66 lines
3626 bytes
In <1991Jan31.191511.6835@crom2.uucp> jim@crom2.uucp (James P. H. Fuller):

   I think this is an nn question but it may be a C news question.

It is nn.

   I recently had to add a group for the first time when messages for
   bionet.software.pc started turning up in my batches.

Well, this isn't quite either: remove that group!  I saw _one_ article
posted to it from BBN and it should not have been.  Eliot (or anyone
for that matter, but I would only trust a bionet newgroup if it were
from Eliot) never sent a newgroup for bionet.software.pc.  None of the
recent checkgroups message for bionet have mentioned this group.

I really _hate_ the propagation of bogus groups via whatever happens
to be in an admin's junk spool.  I just know this is what has happened
at numerous sites with comp.dcom.lans.novell.  Bleah.

   Almost everything that I was expecting to happen did happen, but now I
   notice that the group name was appended to the bottom of nn's GROUPS file
   and everybody's .newsrc instead of appearing in alphabetical order with
   the rest of the group names.

That is the way creating groups works under both B News and C News.

   Is this going to cause any problems?

No technical ones.

   I've been told not to edit .newsrc directly,

Who told you that?  I just searched through the nn manual on "nn" and
could not find anything that said something like that.  A near as I
can tell, it is a needless warning, unless qualified by "when a
newsreader is running".  Then, I don't know what would happen.

   and the GROUPS file starts out with the line
   #           DO NOT REMOVE OR REORDER ANY LINES IN THIS FILE

As far as I _think_ it is implemeneted, without having checked, the
order is not significant when DB_LONG_NAMES is configured.  NN names
the db files based on the location in GROUP otherwise, so reordering
it would give very bogus results.

(Unfortunately, Kim did not announce until the patch that split up
DATA that it is better not to have it defined.  Now I have my
DB_LONG_NAMES database set up and at the moment no readily available
way to convert everything.  Then again, I'm not really sure
DB_LONG_NAMES is that bad.)

   And yet it bothers me, orderly soul, to have one and only one group name
   out of place.  It's like having 300,000 round beans and one square one....

Well, rest assured you will be getting more square ones as time goes
on.  GROUPS really isn't looked at much by human beings anyway, unless
you want to go in and change something about how one is being handled
as stated in the nnmaster manual page.  Even then, your editor should
not have a problem with quickly jumping to the group you want to
change regardless of alphabetical order.  People can change their own
.newsrcs to whatever suits them.

Personally, I would enjoy the uniqueness of one square bean in 300k
round ones. 
--
   (setq mail '("tale@cs.rpi.edu" "tale@ai.mit.edu" "tale@rpitsmts.bitnet"))
WARNING: Don't ever reorder GROUPS file!
#1376
Author: Kim F. Storm
Date: Mon, 04 Feb 1991 14:14
50 lines
2790 bytes
tale@rpi.edu (David C Lawrence) wrote:

>   I've been told not to edit .newsrc directly,
>
>Who told you that?  I just searched through the nn manual on "nn" and
>could not find anything that said something like that.  A near as I
>can tell, it is a needless warning, unless qualified by "when a
>newsreader is running".  Then, I don't know what would happen.

Nothing except that the changes would probably be lost the next time the news
reader updates the file.  So like any other file, it is a bad idea to edit
it while it is in use by some other program.

>
>   and the GROUPS file starts out with the line
>   #           DO NOT REMOVE OR REORDER ANY LINES IN THIS FILE
>
>As far as I _think_ it is implemeneted, without having checked, the
>order is not significant when DB_LONG_NAMES is configured.  NN names
>the db files based on the location in GROUP otherwise, so reordering
>it would give very bogus results.

DONT'T EVER DO THIS.  The order of the lines in the GROUPS file
is a 1:1 relation to the order of the group information in the
MASTER file, and nn relies on this relationship to know the name
of the groups.

So if you reorder GROUPS in any way, it is no longer synchronized with
the MASTER file and your database will have become corrupted beyond
any chance of recovery!

DB_LONG_NAMES only determine how to name the files in the database - and
to do that you need to know the names of the groups which is stored in
the GROUPS file - so if you reorder it, you can't even find the right
database files anymore.

>(Unfortunately, Kim did not announce until the patch that split up
>DATA that it is better not to have it defined.  Now I have my
>DB_LONG_NAMES database set up and at the moment no readily available
>way to convert everything.  Then again, I'm not really sure
>DB_LONG_NAMES is that bad.)

Well, if you have DB_LONG_NAMES defined, and don't want it anymore,
the only way to convert is to recompile the package and rebuild the
database after manually removing the old one.  No big deal!

-- 
Kim F. Storm  <storm@texas.dk>		No news is good news,
Texas Instruments A/S, Denmark		  but nn is better!
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