🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #85677

Re: I finally figured out HOW to autosave (sort of) in Pan when Aioe screws up!

#85677
From: 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
Technical Details
Message-ID: <l6ud44$u3m$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.free.newsservers.20150605.mbox.gz!border1.nntp.dca3.giganews.com!backlog3.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin1!goblin.stu.neva.ru!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
References: <l6rqgq$sbe$10@speranza.aioe.org>

Show Full Headers
Complete Article Headers
Message-ID: <l6ud44$u3m$1@dont-email.me>
Subject: Re: I finally figured out HOW to autosave (sort of) in Pan when Aioe screws up!
Date: Sun, 24 Nov 2013 20:36:50 -0600
From: VanguardLH <V@nguard.LH>
References: <l6rqgq$sbe$10@speranza.aioe.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.free.newsservers.20150605.mbox.gz!border1.nntp.dca3.giganews.com!backlog3.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!goblin1!goblin.stu.neva.ru!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
Newsgroups: alt.free.newsservers,news.software.nntp
Organization: Usenet denizen
Lines: 82
Sender: VanguardLH <>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 25 Nov 2013 02:36:52 +0000 (UTC)
Injection-Info: mx05.eternal-september.org;
 posting-host="f65692f1328d27b9dd53e0170aa8b6f1";
 logging-data="30838"; mail-complaints-to="abuse@eternal-september.org";
 posting-account="U2FsdGVkX18HzJTvfBLvMuNuuw0Ntbwdd1rYGZm4w3I="
Keywords: VanguardLH VLH811
User-Agent: 40tude_Dialog/2.0.15.41
Cancel-Lock: sha1:b99kPmb7i2oH7UzbT4OsJQCBbb8=
X-Original-Bytes: 5454