🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #262001

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

#262001
From: picoRNA
Date: Sat, 17 Jun 2017 18:15
64 lines
3942 bytes
On Fri, 16 Jun 2017 18:28:05 -0500, VanguardLH <V@nguard.LH> wrote:

> "regex \.printer" or "contains .printer" would find newsgroups
> containing ".printer" in all the NNTP server that you poll.

Thanks. Given the Big 7 hierarchies:
https://en.wikipedia.org/wiki/Usenet_newsgroup#Hierarchies 

comp.* Discussion of computer-related topics
news.* Discussion of Usenet itself
sci.*  Discussion of scientific subjects
rec.*  Discussion of recreational activities (e.g. games and hobbies)
soc.*  Socialising and discussion of social issues.
talk.* Discussion of contentious issues such as religion and politics.
misc.* Miscellaneous

Bernd's Big8 regular expression works just fine for the stated goal!
^(comp\.|news\.|sci\.|rec\.|soc\.|talk\.|misc\.|alt\.).*\.print.*\(Albasani\)$

What would be nice is to turn that into some sort of keystroke command in
Dialog.

> We could get into negating substrings in a regex to eliminate those
> newsgroups with prefixes you don't want to find but that would be more
> work than looking at the 6 ".printer" newsgroups per server.

I agree that the negative regex I first tried would be thousands of
"strings" long, while the positive regex that Bernd suggested only need to
contain the Big 8 top hierarchies.
 
> Although you are polling multiple NNTP servers, tis likely you only want
> to subscribe to the target newsgroup on only one of them.  Of course, if
> you subscribed to the same newsgroup on multiple servers, those would
> show up in the Subscribed tab.

Dialog kind of forces me to give up on the "subscribe" use model in favor
of the "category" use model.

While I have zero subscriptions, I have more than a dozen categories, each
of which covers a particular situation, where I move items from minor
categories to current categories all the time at the flick of a rightmouse
button. 

> Never used categories for grouping of newsgroups.  Not sure how that
> would work.  There is no guarantee the server will have comments
> available for every newsgroup.  Please explain how to define a "category
> of newsgroup" in Dialog.

There are MANY ways to use categories in Dialog!

One simple way is to only have two categories.
[1] Category 1 is for your current newsgroups (active threads of yours)
[2] Category 2 is for your newsgroups of interest (but no active threads)

I use a much more detailed version of that type of numbered set of
categories to keep track of which newsgroups I have active threads in.

Another way to use categories is to separate news servers by categories, or
to separate active nyms by categories, or to even separate countries or
personalities by categories. 

In short, dialog categories are like transisters set in the amplification
range, while dialog subscribe/unsubscribe is like a transister set in the
on/off switch range.
Technical Details
Message-ID: <oi3rl4$npj$1@adenine.netfront.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.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> <643b529u7vcy.dlg@v.nguard.lh>

Show Full Headers
Complete Article Headers
Message-ID: <oi3rl4$npj$1@adenine.netfront.net>
Subject: Re: [Dialog] How to delete selected groups from the "All" tab?
Date: Sat, 17 Jun 2017 20:15:59 +0200
From: picoRNA <picoRNAspam@comcast.net>
References: <ohvdpu$1g1d$1@adenine.netfront.net> <1xty7hg4v8j2j.dlg@v.nguard.lh> <oi1675$iuq$1@adenine.netfront.net> <643b529u7vcy.dlg@v.nguard.lh>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mail
Newsgroups: news.software.readers,alt.free.newsservers
Followup-To: news.software.readers
Organization: Netfront http://www.netfront.net/
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 17 Jun 2017 18:16:05 +0000 (UTC)
Injection-Info: adenine.netfront.net; posting-host="80.194.135.177";
 logging-data="24371"; mail-complaints-to="news@netfront.net"
User-Agent: 40tude_Dialog/2.0.15.41
X-Received-Body-CRC: 494534107
X-Received-Bytes: 3980