🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #261681

Re: Ping Bernd Rose: How do you set and define a variable in 40Tude Dialog

#261681
From: Stijn De Jong
Date: Sun, 08 Jan 2017 00:51
131 lines
7421 bytes
On Sat, 7 Jan 2017 22:57:01 +0100, you wrote:

> [OnBeforeSendingMessage script]
>> If you like, I can further genericize the script

I'm all about giving back to the newsgroup so here is the result with both 
your comments and those of JJ taken into account as best I could do so.
 JJAddAndRemoveHeadersWhileCheckingNewsgroupsIdentitiesAndServers  
 version 1.00 January 8th 2017 "http://pastebin.com/6Md5m67X

> You can do, whatever pleases /you/ the most. If I ever needed such a script,
> I'd write it, myself. (Adjusted to my needs.) 

Again, almost nothing you say can I disagree with, in that expert 
programmers like you are come to the problem armed with different tools 
than people like I come to the problem with.

It's like you come to the battle armed with a Panzer tank, while all I have 
is a molotov cocktail. We both work with what we have as our current tools.

I could NEVER write a 40Tude-Dialog script (and I know it), so, people like 
me scavenge what we can from existing scripts.

That's why I'm adamant that I give back to the team, so that other 
scavengers can make use of what I've compiled from the efforts of the 
original coders, you, and JJ.

> Btw., it seems to me, that you request help for hiding, that you wish to
> use a non-approved Mail&News client at work. That's no good idea, out of 
> several reasons. Removing/altering headers like Content-Transfer-Encoding
> or Mime-Version is no good idea, either, because you end up with messages,
> that violate standards. Better set charset and attachment settings in the
> Dialog options appropriately; and maybe take a pass on sending attachments
> altogether.

I have never seen any negative repercussions from getting rid of the 
seemingly extraneous and wasteful and not needed additional headers that 
Dialog adds to the header.

I only use a English and the 26 letters of the US alphabet though, but for 
what I type, NEVER have those wasteful header lines ever been of any import 
whatsoever. 

Why even have them if they do absolutely nothing useful?

> If you just wish (and are permitted) to use one Dialog installation for 
> private and business matters, but want to see them separately and want
> to be able to distinguish sent messages by header, you could do this 
> without altering outgoing messages by script.

Dialog is not an approved newsreader.
I'm told that's because it's unsupported.
The approved newsreader is a Microsoft product.

In addition, the only sanctioned newsgroups are Microsoft newsgroups, and 
specific product newsgroups such as Adobe, Corel, etc.

If I could obfuscate the Newsgroup line, I would, but I can't so I'm only 
trying to minimize the existent transgressions.

> You can define different identities and adjust them (as posting-identities)
> to newsgroups. They can have the same or different internal settings, only 
> mail-in and/or mail-out, or only news settings. (Or no settings, at all.) 

I don't know if I understand your suggestion as I already set, for each 
newsgroup, the default posting identity, but as you are well aware, you 
can't set the default server UNLESS that's the server you use to read the 
newsgroup. Since I use a different server to read the newsgroup than to 
post to the newsgroup (for good reasons), then Dialog is ALWATYS defaulting 
to the wrong newsgroup. 

Hence, the outgoing server has to be set on every single post.
This fact that I must set the outgoing news server on every single post is 
a usability deficiency in Dialog where I have concluded there is nothing I 
can do about it because it is a basic design flaw.

The makers of Dialog never thought anyone would read from one server and 
post to another, I guess. If Dialog simply had a "default outgoing server" 
setting for each newsgroup, that problem would be solved instantly.

> You can define X-headers and adjust them to identities. You can pre-define 
> some "normal" headers specific to identities, as well. You can use different
> Message-Id creation methods and X-Faces for each identity, if you like.

Yes. But you can't set the default outgoing server. Sigh.

> You can create different categories for different usage scenarios (like
> business or private use) and sort only the newsgroups and mailboxes into
> them, that are needed. This way, you even could create a different 
> identity for each subscribed group from each server.

Yes. But you can't set a default outgoing server. 
It's just impossible.
But it should have been as simple as "Default outgoing server = server1".

> Although this would
> clutter the "Subscribed" category with Inboxes (which can be sorted to the
> bottom, though), the specific categories could be organized in a clean
> way with only one Inbox (or none at all).

That clutter of inboxes drives me nuts.
You can't delete any of them without deleting the identity.
It's just a mess but I simply ignore that "Folders" tab because of all the 
unnecessary Dialog-generated clutter. 

Instead, I use the "Categories" tabs, one for business, and the other for 
personal. I use different incoming servers for business than for personal, 
and then again, a different set of outgoing servers for business and 
personal (for a total of four servers). 

There is a reason for this, but those reasons are specific to the company 
that I work for and for the servers that I choose to use.

Suffice to say that a flaw in Dialog's implementation is that Dialog 
doesn't have any concept of a "default outgoing server". 

Dialog simply naively assumes that the outgoing server is the same as the 
incoming server. 

That's one setting that I'd love to add to dialog:
 Default outgoing server = server1

> You can retrieve news for one group from different servers. Although those
> groups would be handled internally by Dialog, as if they were different
> groups, you can set up, that each message shall be copied on reception
> from one group to another (and vice versa) via Scoring&Actions (= "virtual
> groups").

Hmm. Maybe that method you just described can get around the fundamental 
design flaw in Dialog that the outgoing server always defaults to the 
incoming server?
Technical Details
Message-ID: <o4s2ec$a4u$1@gioia.aioe.org>
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: <o4bg7v$t51$1@gioia.aioe.org> <1xmerwn6hkw2o.dlg@b.rose.tmpbox.news.arcor.de> <o4cbjs$4pc$1@gioia.aioe.org> <w4daz9t9jqbr$.dlg@b.rose.tmpbox.news.arcor.de> <o4mq1e$2u7$1@gioia.aioe.org> <1k5qgdg6ulbzp$.dlg@b.rose.tmpbox.news.arcor.de> <o4pna9$9u9$1@gioia.aioe.org> <11rcu0h87cvsa.dlg@b.rose.tmpbox.news.arcor.de> <o4rlog$1j7o$1@gioia.aioe.org> <1ffs4h0aol2bg.dlg@b.rose.tmpbox.news.arcor.de>

Show Full Headers
Complete Article Headers
Message-ID: <o4s2ec$a4u$1@gioia.aioe.org>
Subject: Re: Ping Bernd Rose: How do you set and define a variable in 40Tude Dialog
Date: Sun, 08 Jan 2017 00:51:25 +0000
From: Stijn De Jong <stijndekoning@nlnet.nl>
References: <o4bg7v$t51$1@gioia.aioe.org> <1xmerwn6hkw2o.dlg@b.rose.tmpbox.news.arcor.de> <o4cbjs$4pc$1@gioia.aioe.org> <w4daz9t9jqbr$.dlg@b.rose.tmpbox.news.arcor.de> <o4mq1e$2u7$1@gioia.aioe.org> <1k5qgdg6ulbzp$.dlg@b.rose.tmpbox.news.arcor.de> <o4pna9$9u9$1@gioia.aioe.org> <11rcu0h87cvsa.dlg@b.rose.tmpbox.news.arcor.de> <o4rlog$1j7o$1@gioia.aioe.org> <1ffs4h0aol2bg.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
Newsgroups: news.software.readers
Organization: Aioe.org NNTP Server
Lines: 131
NNTP-Posting-Host: hfOAoZlqGeFs4SUbLxBJ8Q.user.gioia.aioe.org
X-Complaints-To: abuse@aioe.org
X-Notice: Filtered by postfilter v. 0.8.2
X-Received-Body-CRC: 4139749906
X-Received-Bytes: 7343