🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #259617

Re: 40tude Dialog: Anyway to keep it from deleting local copies of articles?

#259617
From: VanguardLH
Date: Sun, 04 Oct 2015 08:37
58 lines
3814 bytes
VanguardLH wrote:

> I submitted 2 replies but deliberately exited Dialog before it polled
> for new articles (to next test using minimal set of filters).  With
> Dialog unloaded, I copied filter.dat to filter.OLD_dat and edited
> filter.dat (a text file) to delete everything other than the following
> lines:
> 
> ## For all groups:
> [*]
> # Save copies of newly retrieved posts (marked as read) into a repository.
> !markread,copy(Repository),!markunread bytes %>0
> 
> Upon loading Dialog, now no copies of newly retrieved articles get
> copied into the Repository folder.  Huh?  The news.software.readers
> group got bolded with a new-count of 2 due to my new replies to you.  So
> Dialog found the new articles on the server and retrieved them into the
> news.software.readers group.  Those new articles didn't show up in the
> Repository folder.
> 
> So I'll try changing the filters to each action is on its own line, as
> in:
> 
> ## For all groups:
> [*]
> # Save copies of newly retrieved posts (marked as read) into a repository.
> !markread bytes %>0
> !copy(Repository) bytes %>0
> !markunread bytes %>0

Well, with each action on its own line, now I'm back to Dialog executing
the 'copy' action to save a copy of a newly retrieved article into the
Repository folder.  Alas, the copy is marked unread (bolded), not marked
read, so the Repository folder is also bolded.

The "!markread bytes %>0" line is not working either because 'markread'
doesn't work or "bytes %>0" doesn't work with the 'markread' action.  

So having each action on its own line does not trigger the 'markread'
action to fire.  That would explain why having all actions on the same
line in:

!markread,copy(Repository),markunread bytes %>0

did not work.  The 'markread' action was ignored but the 'copy' action
did work (but then an unmarked copy got stored in the respository).
Whether 'markunread' does anything or not cannot be determined as the
new articles would've already been unread (and 'markread' isn't doing
anything to change that state).

According to Dialog's help:

!markread                  Marks the message read 
!markunread                  Marks the message unread

It hints that these actions apply only to 1 article, not to a whole
bunch of retrieved new articles.  Yet, in my test case, Dialog only
retrieved 1 new article.  Okay, enough, time to go to bed.
Technical Details
Message-ID: <d7c6r4Fetr1U1@mid.individual.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
References: <d6optbFjbkcU1@mid.individual.net> <18x37jj2k3tuj.dlg@b.rose.tmpbox.news.arcor.de> <d6prtfFqtfaU1@mid.individual.net> <xmtv98kwnp60$.dlg@b.rose.tmpbox.news.arcor.de> <d6qkb8F2i48U1@mid.individual.net> <1im02jq0il8ly$.2ye0mpql50be$.dlg@40tude.net> <d7batdF8r4fU1@mid.individual.net> <19a05emalh5k9.dlg@b.rose.tmpbox.news.arcor.de> <d7c4asFea6gU1@mid.individual.net> <d7c61kFenquU1@mid.individual.net>

Show Full Headers
Complete Article Headers
Message-ID: <d7c6r4Fetr1U1@mid.individual.net>
Subject: Re: 40tude Dialog: Anyway to keep it from deleting local copies of articles?
Date: Sun, 4 Oct 2015 03:37:54 -0500
From: VanguardLH <V@nguard.LH>
References: <d6optbFjbkcU1@mid.individual.net> <18x37jj2k3tuj.dlg@b.rose.tmpbox.news.arcor.de> <d6prtfFqtfaU1@mid.individual.net> <xmtv98kwnp60$.dlg@b.rose.tmpbox.news.arcor.de> <d6qkb8F2i48U1@mid.individual.net> <1im02jq0il8ly$.2ye0mpql50be$.dlg@40tude.net> <d7batdF8r4fU1@mid.individual.net> <19a05emalh5k9.dlg@b.rose.tmpbox.news.arcor.de> <d7c4asFea6gU1@mid.individual.net> <d7c61kFenquU1@mid.individual.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
X-Received: by 10.13.221.143 with SMTP id g137mr3338535ywe.48.1443947877656;
Newsgroups: news.software.readers
Organization: Usenet Elder
Lines: 58
Sender: VanguardLH <>
Mime-Version: 1.0
X-Trace: individual.net pNtocEUrtRtuRkXLs5XrbQIkfWK2xY1kArR/hxswrZKw2XRWiq
Keywords: VanguardLH VLH811
Cancel-Lock: sha1:kEiQzVu8zgF7/f7yKSJeU65qAyQ=
User-Agent: 40tude_Dialog/2.0.15.41
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Received-Bytes: 3905
X-Received-Body-CRC: 254642900