🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #265423

Re: (Dialog) TAB order - Subscribed : All : New : Folders : Filtered : categories

#265423
From: VanguardLH
Date: Tue, 15 Mar 2022 08:01
165 lines
8849 bytes
Lars Anders wrote:

> I do not understand what is "Subscribed" meaning.
> Is just doubleclick newsgroup in tab the same resulting action?

There are some functions in, or can be added via script, Dialog that
work on subscribed newsgroups.  

For a subscribed newsgroup, in the Status column, there is a square icon
that has a solid thick line at the top and a bunch of thin lines in the
body representing a newspaper.  In Help, search on "icon", and select
the "The Newsgroup List" topic.  You'll see what the status icons look
like.  Although you are using categories, I suspect you are subscribing
to the newsgroups you put in those categories, so Dialog will update to
get the articles in those subscribed newsgroups.  That is, when you look
in your categories tabs, do those newsgroups have the square icon in the
Status column?  If you look in the Subscribed tab, are the newsgroups
listed there the same ones you put in your category tabs?

There is no automatic downloading of article bodies in Dialog.  I had to
add script events to get Dialog to automatically get articles while it
was running instead of me having to manually instigate article downloads
by having to [double] click on newsgroups.  The event scripts are:

_OnStartup event script_

// These actions are committed when starting up 40tude Dialog.                     

program OnStartup;

procedure OnStartup;
  begin 
    ADo('GetNewEmailsForAllIdentities');     // Get all new e-mails.  
    
    ADo('GetNewHeadersInSubscribedGroups');  // Get headers for new posts in subscribed groups.   
    
    timer1.interval:=60000*5;                // Get e-mails at 5-minute intervals.
    timer1.enabled:=true;                    // Used by OnTimer1 event script.
    
    timer2.interval:=60000*5;                // Get newsgroups posts at 5-minute intervals.
    timer2.enabled:=true;                    // Used by OnTimer2 event script.
  end;

begin
end.


_OnTimer1 event script_

// See OnStartup event script on enabling this timer event script.
program OnTimer1;

procedure OnTimer1;
  begin
    ADo('GetNewEmailsForAllIdentities');  // Get new e-mails
  end;

begin
end.


__OnTimer2 event script_

// See OnStartup event script on enabling this timer event script.

program OnTimer2;

procedure OnTimer2;
  begin
    ADo('GetNewHeadersInSubscribedGroups');  // Get headers for new posts.        
  end;

begin
end.


OnTimer1 is to check for new e-mails on the server (but I don't use
Dialog for e-mail).  OnTimer2 is to check for new messages from the
Usenet servers.  You'll see the OnStartup event script uses those
timers, and also specify how many milliseconds is the polling interval.

The ADo('GetNewHeadersInSubscribedGroups') function in OnTimer2 is
getting new headers from *subscribed* newsgroups.  The OnStartup script
uses the same function.  When Dialog loads, it runs the OnStartup
script, so it polls for new messages when it starts, and then uses the
OnTimer2 script to check for new messages at 5-minute intervals.  

I don't want Dialog to retrieve articles for every newsgroup it finds on
the server.  There are way over 20,000 newsgroups, I don't want Dialog
wasting time getting articles for newsgroups where I do not participate.
I want Dialog to only poll (on startup, and every 5 minutes thereafter)
for new messages in the subscribed newsgroups.

I've had Dialog polling for new messages (only in subscribed newsgroups)
for so long that I'm not about the manual method.  I think the manual
method has you double-click a newsgroup to then have it download new
articles (since last visit there) for the selected newsgroup.  That
means I'd have to double-click every newsgroup I want to view, wait for
the new message downloads, and then I can see a list of the articles in
that newsgroup.  Too much wasted time with manual actions and waiting
for downloads when I can add automatic polling to Dialog via script. (*)

  (*) There's another reason why I use polling in Dialog.  To test on
all headers (overview and non-overview) in my filters, I have to
download an entire message.  The initial poll only gets the overview
headers when you see the article listed in the articles pane.  My
filters often use non-overview headers, like Path, and those are only
available if I download the entire message (headers+body).  That makes
message retrieval take longer, and why I only participate in text-only
newsgroups.  Getting just the overview headers is shorter, but messages
in text-only newsgroups are relatively short, anyway (when compared, to
say, binary newsgroups).  I can test on ANY header in my filters if full
messages are downloaded, but I don't want to wait around, so I have
Dialog poll the subscribed newsgroups while I'm busy reading a message.

I'm sure besides script using functions to work with subscribed
newsgroups that there are built-in functions in Dialog that only work
with subscribed newsgroups.  Following are examples.

- After all, Online menu -> Get new headers in subscribed groups will 
  work only on subscribed newsgroups, not those you put in a category 
  tab that are unsubscribed.  There is also the Online menu -> Check for 
  new headers in subscribed groups.  This had Dialog get new messages in 
  ALL the newsgroups to which you subscribed, not just one newsgroup at 
  a time using the Online menu -> Get new headers in select groups.  

- I described how I can group newsgroups together (by dragging them to 
  change their order in the newsgroups list) and add the separator bar 
  to delineate the groups from each other.  I can do that in the 
  Subscribed tab.  I cannot do that reordering or grouping in the other 
  standard tabs (All, New, Folders, Filtered).  While you can add 
  newsgroups into your user-defined category tabs, can you arrange their 
  order to your liking?  From what I can tell, rearrange only works in 
  the Subscribed tab.

- There is also the thread blocking option in Dialog which help says   
  "Using Minimal blocking threads lets you get new headers in a long 
  list of subscribed group for example and while headers come in for 
  other groups you can still get bodies in other groups without having 
  to wait for all the "Get headers" jobs to finish."  Well, that only 
  works on subscribed newsgroups.

I'm sure there is other functionality in Dialog that only works on
subscribed newsgroups, and if you subscribe to newsgroups then they are
listed in the Subscribed tab where you can rearrange to group and
delineate them however you want.

Look in your category tabs in the newsgroups list pane.  If they have
the square newspaper-like icon, you are subscribed to those newsgroups
which means they'll be listed under the Subscribed tab.  With those
subscribed newsgroups in your category tabs, you'll have duplicated
newsgroups listed under Subscribed, and under your category tabs.

I'm pretty sure the Subscribed tab was not intended as a do-nothing
category, especially since it is fixed (you cannot delete or move it).
Your category tabs, in contrast, are not as permanent.

Oh, another point is seeing which newsgroups have new messages.  With
them grouped (categorized) under the Subscribed tab, I can easily scroll
under one tab to see which newsgroups have new messages.  I don't have
to bounce between category tabs to check which newsgroups might have new
messages.  However, I'm having Dialog automatically poll for new
messages in subscribed newsgroups rather than have to do manual polls,
so an extra mouse click to bounce between category tabs isn't much more
than doing the manual poll process.
Technical Details
Message-ID: <109urrtn4vd7f.dlg@v.nguard.lh>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
References: <t0lpjn$nvk$1@gioia.aioe.org> <w6dl2nstei9s$.dlg@v.nguard.lh> <t0m1o4$1ct2$1@gioia.aioe.org> <l2brji7yy1j.dlg@v.nguard.lh> <t0nu3j$c55$1@gioia.aioe.org> <1qibr20sr78pm$.dlg@v.nguard.lh> <my2er3prj6hx.dlg@v.nguard.lh> <t0pa2m$ils$1@gioia.aioe.org>

Show Full Headers
Complete Article Headers
Message-ID: <109urrtn4vd7f.dlg@v.nguard.lh>
Subject: Re: (Dialog) TAB order - Subscribed : All : New : Folders : Filtered : categories
Date: Tue, 15 Mar 2022 03:01:50 -0500
From: VanguardLH <V@nguard.LH>
References: <t0lpjn$nvk$1@gioia.aioe.org> <w6dl2nstei9s$.dlg@v.nguard.lh> <t0m1o4$1ct2$1@gioia.aioe.org> <l2brji7yy1j.dlg@v.nguard.lh> <t0nu3j$c55$1@gioia.aioe.org> <1qibr20sr78pm$.dlg@v.nguard.lh> <my2er3prj6hx.dlg@v.nguard.lh> <t0pa2m$ils$1@gioia.aioe.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
Newsgroups: news.software.readers
Organization: Usenet Elder
Lines: 165
Reply-To: invalid@invalid.invalid
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: individual.net AM5QaJbZnmVxZeOVCK40DgN/jr2b/MIIGLpgXhYIOLgZNZLcma
Keywords: VanguardLH VLH811
Cancel-Lock: sha1:PaB2B2JXla9AycwaiKqtRVexM3k=
User-Agent: 40tude_Dialog/2.0.15.41