🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #261965

Re: [Dialog] Why might "Control+O" or "Stop all tasks" be needed when changing servers?

#261965
From: Bernd Rose
Date: Wed, 19 Apr 2017 18:33
47 lines
3072 bytes
On Wed, 19th Apr 2017 17:20:03 +0000 (UTC), Alexandre Janssens wrote:

> For reasons wholly beyond my control, my IP address sometimes changes, 
> where Dialog almost always flubs it up in the first read action thereafter.
> 
> Why is that?

Read the "Threads and Jobs" topic of the "How Dialog works" section from
Dialog help file:

| Note that if there are no more jobs for a newsserver the connection is
| not immediately dropped, but kept open for another 3 minutes.

If Dialog always checked, whether the local IP changed during an open 
connection, the benefits (of keeping a connection alive in the first 
place) would be nullified.

> In practice, it's easier to use keyboard shortcuts, but there doesn't seem 
> to be a keyboard shortcut for "stop all tasks", so I have found, in 
> practice, that the keyboard shortcut for toggling online mode ("Dialog: 
> Online > Online mode") works just as well and is easier to type.
> 
> So this is what I'm forced to do when my IP address changes on me:
> 1. I doubleclick to catch up on a newsgroup, which works fine.
> 2. I post to the newsgroup, which works fine.
> [my IP address changes]
> 3. I press "Control+O" (Dialog: Online > Online mode) to toggle it off
> 4. I immediately press "Control+O" again (to toggle it back on)
> 5. I doubleclick to catch up on the newsgroup, and it works just fine.

Or create a script like:

Program StopLoad;
Begin
 ADo('OnlineMode');
 ADo('OnlineMode');
 ADoLater('GetNewHeadersInSelectedGroups');
End.

and assign it a hotkey or to a button.

If you need to stop running tasks, you might need to include:
 ADo('StopAllTasks');
That would require some more testing, though, because you'd need to 
time the commands for not interlinking with each other on execution.

Bernd
Technical Details
Message-ID: <nl0azmvoiwlc$.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: <od8683$u26$1@gioia.aioe.org>

Show Full Headers
Complete Article Headers
Message-ID: <nl0azmvoiwlc$.dlg@b.rose.tmpbox.news.arcor.de>
Subject: Re: [Dialog] Why might "Control+O" or "Stop all tasks" be needed when changing servers?
Date: Wed, 19 Apr 2017 20:33:12 +0200
From: Bernd Rose <b.rose.tmpbox@arcor.de>
References: <od8683$u26$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
Newsgroups: news.software.readers
Organization: albasani.net
Lines: 47
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: news.albasani.net L5HRCpJhGAE6QMdroItK6U+OvLDUixLmNERNGBrqUa/Q4anPWSBd5AcJw5P3PG0SzxczKMeGiUBQMl3Y+haaQw==
NNTP-Posting-Date: Wed, 19 Apr 2017 18:33:13 +0000 (UTC)
Injection-Info: news.albasani.net; logging-data="EBZy4BBeYGYV8BfArT6vKV5DWJOTBh7OMIHufC8OyR0jJux5VhCyqql0SDK1DUFic67YNv588RFJ6HP6SXvh8y/HJRq422BFr3+7Ur4Xet6NLnTpBnrlUxqrTnK1JXk3"; mail-complaints-to="abuse@albasani.net"
User-Agent: 40tude_Dialog/2.0.15.41 (40d89cae.202.431)
Cancel-Lock: sha1:nT5nmnTYSiKHtEVqZ+NkAe5X/UU=
X-Received-Body-CRC: 762925737
X-Received-Bytes: 3003