🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #262150

Re: [Dialog] How to delete selected groups from the "All" tab?

#262150
From: Bernd Rose
Date: Sat, 17 Jun 2017 08:20
42 lines
3361 bytes
On Fri, 16 Jun 2017 21:16:57 +0200, picoRNA wrote:

> I thought originally there was a method of deleting what groups are
> displayed to the user but that's apparently not possible inside of dialog.

Deleting groups from the groups lists of the servers is not a supported 
functionality. Searching/filtering for groups is regarded easy enough
for most users; and usually it is done fairly seldom. And what's more, 
it really would be difficult, programmatically, to maintain a consistent 
method for the UpdateGroupLists process, afterwards.
 
> So I will look for that brute force file in the dialog data directory.
> Hopefully it will be text and not binary.
> 
> There are ".\data\newsservers.gtl" files which seem to be group lists.
> https://s17.postimg.org/y2gql11hr/bildschirmausdruck4.gif
> 
> Searching for ^fido I found 3,800 fido lines alone in just one newsserver!
> I deleted them all in the "gtl" file for one news server.
> 
> It didn't work but I think you have the only idea that stands chances of
> working.

The *.gtl text files are just templates for the creation of the binary
groups.stg. Messing with groups.stg, OTOH, will destroy pointer references
in other files of the Dialog database and therefore brick it for good.

If you really only want a small subset of the list, why don't you just apply
a /positive/ RegEx filter on the Filtered tab? Like:

^(alt\.|comp\.).*\.print.*\(Albasani\)$

This way, you get only results from one server (Albasani) and only from 
the alt. and comp. top hierarchies. The actual search string in the middle
(= \.print) finds any group starting with "print", but allows for any more
characters at the end of the name, like .printer, .printers, .print-hp and 
so on. Look through the list of the top Usenet hierarchies, to select those
you'd like to include:

https://en.wikipedia.org/wiki/Usenet_newsgroup#Hierarchies

Bernd
Technical Details
Message-ID: <1spm2sr1u91fk$.dlg@b.rose.tmpbox.news.arcor.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mail
References: <ohvdpu$1g1d$1@adenine.netfront.net> <1xty7hg4v8j2j.dlg@v.nguard.lh> <oi1675$iuq$1@adenine.netfront.net> <P_udnVzrDYnTutnEnZ2dnUU7-KfNnZ2d@giganews.com> <oi1arl$13h8$1@adenine.netfront.net>

Show Full Headers
Complete Article Headers
Message-ID: <1spm2sr1u91fk$.dlg@b.rose.tmpbox.news.arcor.de>
Subject: Re: [Dialog] How to delete selected groups from the "All" tab?
Date: Sat, 17 Jun 2017 10:20:34 +0200
From: Bernd Rose <b.rose.tmpbox@arcor.de>
References: <ohvdpu$1g1d$1@adenine.netfront.net> <1xty7hg4v8j2j.dlg@v.nguard.lh> <oi1675$iuq$1@adenine.netfront.net> <P_udnVzrDYnTutnEnZ2dnUU7-KfNnZ2d@giganews.com> <oi1arl$13h8$1@adenine.netfront.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mail
Newsgroups: news.software.readers
Organization: albasani.net
Lines: 42
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: news.albasani.net UrPOWqvvoETNHwr6gLHv3dBTXEni0hjKdjpYh0TSlmXgM3UNusqp2XSSaEzEwo1KfFR2a5WY8yJG0qIp45EjuNJ6uHWikA8UBBwPmhP+xJxn7bLH1TfjBWhMA1vtwKsa
NNTP-Posting-Date: Sat, 17 Jun 2017 08:20:38 +0000 (UTC)
Injection-Info: news.albasani.net; logging-data="nF0WEOB0PZOdCG2ytOTfGZWqqWIOW+cOz5LyO5ryZJi1ln4pPhDYeez4zk8t7NQD1P8rlqHPXruACCjSXvRid1J7jgnc0VbzlrGqILLyHmqvWReUXOavlf03f8gECPlW"; mail-complaints-to="abuse@albasani.net"
User-Agent: 40tude_Dialog/2.0.15.41 (d9f1bbde.201.261)
Cancel-Lock: sha1:tEpEvklb4TdnPDKfnVCMgO8tBgQ=
X-Received-Bytes: 3354
X-Received-Body-CRC: 3894124286