🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
7 messages
7 total messages Started by Danny D'Amico Sun, 24 Nov 2013 03:07
I finally figured out HOW to autosave (sort of) in Pan when Aioe screws up!
#85672
Author: Danny D'Amico
Date: Sun, 24 Nov 2013 03:07
39 lines
2820 bytes
I finally found a semblance of an autosave in Pan which can (possibly) be used
to protect me when the inevitable happens, and Pan sends off a message to Aioe, 
which Aoie doesn't bother posting, but, Pan doesn't bother to tell me!

Apparently there is an "autosave" text file located, by default, at:
 ~/.pan2/article-drafts/autosave 

So, I can put into my crontab a save of the autosave.

For example, I can save every minute using a command like this:
 cp ~/.pan2/article-drafts/autosave ~/.pan2/article-drafts/autosave.{DATE}

Then, when Pan/Aioe inevitably screw up the handshaking, then at least I 
won't lose my entire post (which is the most frustrating part of this mess).

Note: Aioe is going to ban me for another day, I think, because this 
just happened!
 http://farm8.staticflickr.com/7335/11020525814_48664ab398_o.png

Notice I did NOT send that message three times!
I simply hit the "File->Send Article" button in Pan.

I *think* Pan tried sending it, but Aioe didn't acknowledge properly; so Pan
tried again; and again, and simply gave up on the third try.

That's all well and good - but Pan didn't tell me any of this, so, now Aioe
has three duplicate messages (which I just checked, and they posted).

Now Aioe will get mad at me (for good reason) and ban me for a day, but, 
of course, neither Aioe or Pan will tell me, so, the next message I send
via Pan will be lost forever - unless - I implement the autosave crontab
as discussed above.

It's not a solution - but - at least - it's a workaround so that my details
aren't lost (that particular post was *very* detailed) and is shown here:
 https://groups.google.com/forum/#!original/alt.satellite.gps/AoE0Ox2We58/aF2LetNZ-s8J

I *hate* losing detailed posts!
Re: I finally figured out HOW to autosave (sort of) in Pan when Aioe screws up!
#85677
Author: VanguardLH
Date: Mon, 25 Nov 2013 02:36
82 lines
5682 bytes
Danny D'Amico wrote:

> I finally found a semblance of an autosave in Pan which can (possibly) be used
> to protect me when the inevitable happens, and Pan sends off a message to Aioe, 
> which Aoie doesn't bother posting, but, Pan doesn't bother to tell me!
> 
> Apparently there is an "autosave" text file located, by default, at:
>  ~/.pan2/article-drafts/autosave 
> 
> So, I can put into my crontab a save of the autosave.
> 
> For example, I can save every minute using a command like this:
>  cp ~/.pan2/article-drafts/autosave ~/.pan2/article-drafts/autosave.{DATE}
> 
> Then, when Pan/Aioe inevitably screw up the handshaking, then at least I 
> won't lose my entire post (which is the most frustrating part of this mess).
> 
> Note: Aioe is going to ban me for another day, I think, because this 
> just happened!
>  http://farm8.staticflickr.com/7335/11020525814_48664ab398_o.png
> 
> Notice I did NOT send that message three times!
> I simply hit the "File->Send Article" button in Pan.
> 
> I *think* Pan tried sending it, but Aioe didn't acknowledge properly; so Pan
> tried again; and again, and simply gave up on the third try.
> 
> That's all well and good - but Pan didn't tell me any of this, so, now Aioe
> has three duplicate messages (which I just checked, and they posted).
> 
> Now Aioe will get mad at me (for good reason) and ban me for a day, but, 
> of course, neither Aioe or Pan will tell me, so, the next message I send
> via Pan will be lost forever - unless - I implement the autosave crontab
> as discussed above.
> 
> It's not a solution - but - at least - it's a workaround so that my details
> aren't lost (that particular post was *very* detailed) and is shown here:
>  https://groups.google.com/forum/#!original/alt.satellite.gps/AoE0Ox2We58/aF2LetNZ-s8J
> 
> I *hate* losing detailed posts!

Can Pan be configured NOT to send immediately when you click the Send
button in its new-message composition window?  That is, can you disable
scheduled and automatic sending so the only way to submit a message is
to manually click on some other Send button?

For users still on dial-up who pay by the minute or have a limited
online time quota, they may want to queue up all their posts to send all
at once.  Sending each means having to wait for the dial-up handshaking,
establish an NNTP session to send just one message, and then disconnect
to repeat again later when they happen to decide to reply to another
thread.  All that dial-up connect and disconnect time consumes a lot
more time than just sending the messages alone, so such users might want
to buffer up their new and reply messages to send all at once.  There
are users that are not always online.  They download the articles while
online, go offline, and then read while still offline.  They compose
their new or reply messages and then later go online at which time they
then send their queued up messages.  An automatic and/or scheduled poll
initiated by clicking on the Send button in the new-message composition
window would fail because the user is not currently online.  So NNTP
clients usually have a means of disabling automatic sends and also
scheduled sends/polls.

Once automatic and scheduled polling are disabled, you could then
compose your new message and click ONCE on the Send button to initiate a
manually-established NNTP session.  Maybe then Pan would only try to
send just once your message.

Documentation really sucks for Pan so I couldn't find anything at
http://pan.rebelbase.com/manual/html/ that means how to disable
automatic sends and to disable scheduled polling.

If Pan still attempts 3 tries (1 try, 2 retries) when you perform a
manually-instigated single Send operation then it's retry behavior coded
into the program.  If there are not settings outside the programs UI,
like in config files (under ~\.pan or ~\.gnome\Pan), to let to alter its
retry behavior then you cannot get around that retry behavior.  However,
if the server is issuing a 441 error then the NNTP client shouldn't be
retrying without your permission or without prompting.  Many NNTP
servers employ flood control which means your client must wait the
server's specified interval between sessions; else, subsequent sessions
are locked out to avoid flooding
Re: I finally figured out HOW to autosave (sort of) in Pan when Aioe screws up!
#85676
Author: Danny D'Amico
Date: Mon, 25 Nov 2013 04:53
50 lines
3139 bytes
On Sun, 24 Nov 2013 20:36:50 -0600, VanguardLH wrote:

> Can Pan be configured NOT to send immediately when you click the Send
> button in its new-message composition window?  That is, can you disable
> scheduled and automatic sending so the only way to submit a message is
> to manually click on some other Send button?

I looked in the ~/.pan2/preferences.xml file and there *is* a setting:
 <flag name='work-online' value='true'/>

So, maybe the online/offline status can be used within a workaround.

> Documentation really sucks for Pan so I couldn't find anything at
> http://pan.rebelbase.com/manual/html/ that means how to disable
> automatic sends and to disable scheduled polling.

Thanks for looking. I'm pretty sour on Pan nowadays, given these basic
and obvious flaws that *no* self-respecting newsreader should have.

So, all I need to do is go through the effort to pick another 
cross-platform (Linux + PC) newsreader and ditch Pan forever. 

> If Pan still attempts 3 tries (1 try, 2 retries) when you perform a
> manually-instigated single Send operation then it's retry behavior coded
> into the program. 

I see where you're going. Perhaps I can configure the "retry" setting
to be 0. 

I just grepped the settings file:
 $ grep -i \{retry,retries,resend,send\} ~/.pan2/preferences.xml
But nothing was found with those settings.
I also viewed the file, line by line, and didn't see such a setting.

> if the server is issuing a 441 error then the NNTP client shouldn't be
> retrying without your permission or without prompting. 

Exactly my opinion! 

It makes no sense for Pan to send two more retries when the server 
issued a 441 on the first attempt.
 
I *did* see this perhaps useful setting which might save more than just
the one message being edited every five minutes:
 <string name='rules-autocache-value' value='never'/>
Combined with:
 <int name='draft-autosave-timeout-min' value='5'/>

But I'm not sure what to set it to and what it does yet.
Re: I finally figured out HOW to autosave (sort of) in Pan when Aioe screws up!
#85678
Author: Danny D'Amico
Date: Mon, 25 Nov 2013 05:05
39 lines
2772 bytes
On Sun, 24 Nov 2013 20:36:50 -0600, VanguardLH wrote:

> if the server is issuing a 441 error then the NNTP client shouldn't be
> retrying without your permission or without prompting.

BTW, when the message works, Pan issues a "240" as shown here for
my previous reply to you:
 http://farm8.staticflickr.com/7432/11043149426_cddc8c6e4c_o.png

The problem is that I constantly have to second-guess Pan, because
I never know if Pan really sent it or not until *after* it has been
sent.

That's really not a way for a newsreader to behave, so, I'm 99.99% 
done with Pan. Point is, now I should spend my effort on finding a 
usable newsreader (which is a different question altogether).

Here are my key needs:

a) Prefer the same newsreader GUI on both Windows & Linux
b) Can't stand Wine (Emulation sucks. Been there. Done that.)
c) No Mail User Agents masquerading as newsreaders (been there, done that too)
d) Must handle multiple news servers & nyms as needed
e) Must be sane (in so much as Pan is not sane in how it handles things)

That's pretty much it for my nntp newsreader needs.

PS: I'm sending this offline first, to see how pan handles offline:
OK. I tried & realized the Pan offline setting is a cruel farce... 
or, more to the point, a sadistic Pan joke. 
 http://farm4.staticflickr.com/3739/11043151355_dcbbd37750_o.png
 
Q: What would you expect from an offline setting?
A: I'd expect it to queue the articles.

Q: What does Pan actually give you in the offline setting?
A: The choice to go online or to lose all your edits.

One more nail in the coffin of Pan, I would say, as a viable newsreader.
Re: I finally figured out HOW to autosave (sort of) in Pan when Aioe screws up!
#85845
Author: Danny D'Amico
Date: Mon, 25 Nov 2013 07:09
27 lines
2732 bytes
On Mon, 25 Nov 2013 04:53:16 +0000, Danny D'Amico wrote:

I just used the autosave feature to my advantage, after defining the alias:
$ alias pansave='cp ~/.pan2/article-drafts/autosave ~/tmp/autosave.txt'

Here is what I got in the Pan event log after sending a message via Aioe:
 441 437 EMP (phr nph)
 http://farm8.staticflickr.com/7395/11044439325_fa2c2962ec_o.png

I'm not sure what a "441 437 EMP (phr nph)" from Aioe means, but, what it
means is that Pan, yet again, lost the post.

Luckily, that alias saved the draft for me, before it was overwritten.

BTW, why does the Pan event log *always* say (verbatim) it was "successful"?
a) The log, when things go well, says "240" as shown here:
   http://farm8.staticflickr.com/7432/11043149426_cddc8c6e4c_o.png

b) The log, when things don't go well, says "441" as shown here:
   http://farm4.staticflickr.com/3749/11002189894_d3d61a08bb_o.png

c) Yet, both of those log messages say (verbatim) "successful".


NOTE: Sending this via Solani, because of Aioe errors; so, I'm restricted 
to a single followup, so, I'll send it twice (once to each ng).
Re: I finally figured out HOW to autosave (sort of) in Pan when Aioe screws up!
#85694
Author: VanguardLH
Date: Mon, 25 Nov 2013 15:35
46 lines
3397 bytes
Danny D'Amico wrote:

> On Sun, 24 Nov 2013 20:36:50 -0600, VanguardLH wrote:
> 
>> if the server is issuing a 441 error then the NNTP client shouldn't be
>> retrying without your permission or without prompting.
> 
> BTW, when the message works, Pan issues a "240" as shown here for
> my previous reply to you:
>  http://farm8.staticflickr.com/7432/11043149426_cddc8c6e4c_o.png
> 
> The problem is that I constantly have to second-guess Pan, because
> I never know if Pan really sent it or not until *after* it has been
> sent.
> 
> That's really not a way for a newsreader to behave, so, I'm 99.99% 
> done with Pan. Point is, now I should spend my effort on finding a 
> usable newsreader (which is a different question altogether).
> 
> Here are my key needs:
> 
> a) Prefer the same newsreader GUI on both Windows & Linux
> b) Can't stand Wine (Emulation sucks. Been there. Done that.)
> c) No Mail User Agents masquerading as newsreaders (been there, done that too)
> d) Must handle multiple news servers & nyms as needed
> e) Must be sane (in so much as Pan is not sane in how it handles things)
> 
> That's pretty much it for my nntp newsreader needs.
> 
> PS: I'm sending this offline first, to see how pan handles offline:
> OK. I tried & realized the Pan offline setting is a cruel farce... 
> or, more to the point, a sadistic Pan joke. 
>  http://farm4.staticflickr.com/3739/11043151355_dcbbd37750_o.png
>  
> Q: What would you expect from an offline setting?
> A: I'd expect it to queue the articles.
> 
> Q: What does Pan actually give you in the offline setting?
> A: The choice to go online or to lose all your edits.
> 
> One more nail in the coffin of Pan, I would say, as a viable newsreader.

As someone mentioned before, the current release really isn't a valid
release.  It is beta and looks more like an alpha release.  The other
poster mentioned an earlier version of Pan before they started a whole
rewrite of the program.
Re: I finally figured out HOW to autosave (sort of) in Pan when Aioe screws up!
#85714
Author: Danny D'Amico
Date: Sat, 30 Nov 2013 00:52
28 lines
2697 bytes
On Mon, 25 Nov 2013 18:25:20 +0000, Whiskers wrote:

> In this group, you are technically 'Off Topic' and it seems you are the
> only Pan user posting here so the most you can expect is for others to
> take an academic interest.

OK. I'll stop. I try to stay off "mailing lists", so I don't see any
way to anonymously report Pan bugs. Hence, I won't; but, I do appreciate
all your help in this endeavour. 

At the moment, I'm sick of Pan so I've already decided to give up on
trying to make Pan into a usable newsreader in the long term.

I just have to pick the newsreader of choice to replace it, given 
my dual-boot (linux/windows) environment and text-only multiple-nym
newsserver needs.

Also, I'm sick of the arbitrary nature of Aioe, so I've given up on 
that as a free newsserver. No malice. I thank them for their service, 
as you get what you pay for. I especially had liked the fact that I 
can remain somewhat anonymous (IP address is hashed) on Aioe; but the
limitations were too annoying, so, I've moved to Albasani, which seems
to be the *only* free newsserver (that I know of) that preserves 
privacy (as defined by intelligent always-different hashing of both 
the account and IP address).

Thanks for all your help!
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads