🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #58444

Re: slrnpull win32 problem

#58444
From: David Gerard
Date: Thu, 24 Feb 2000 00:00
39 lines
2727 bytes
On 23 Feb 2000 21:50:56 GMT, Hans Peter Holm <hpholm@post1.tele.dk> wrote:
:John E. Davis wrote:
:> On 23 Feb 2000 14:32:00 GMT, David Gerard <fun@thingy.apana.org.au>
:> wrote:

:> >Is there anything I can do about this? Can a future version trap the first
:> >Ctrl-C and clean up properly, and take a *second* Ctrl-C as die-right-now?
:> >Do these questions make sense in this context?

:> I do not know enough about win32 to answer these questions.  Perhaps
:> someone more knowlegable abount win32 and the winsock API will step in
:> here and indicate how one can interrupt a network read from a console
:> mode program.  On Unix this is handled by setting SIGINT to interrupt
:> system calls.

:I hit Ctrl+Break in slrnpull, if the server or the connection dies. It 
:works for me in both the OS/2 and Windows versions. - I haven't noticed 
:any duplicate entries or odd behavior.


For me, Ctrl-Break is doing the same as Ctrl-C - it dies immediately and
does not clean up after itself in the currently-being-downloaded newsgroup.

(I *think* what's happening is that it's failing to correctly update
.minmax when you hit Ctrl-C. I could be wrong, though, and should
investigate further.)

Hmmm. Does what I'm asking for (an interrupt that says 'drop this
connection, clean up after yourself and terminate) even exist in slrnpull?
Or is there only the Ctrl-C, which says 'terminate RIGHT NOW'?


-- 
http://xenu.netizen.com.au/                           http://www.caube.org.au/
"It is more than possible to be a member of a sub-culture, a different and
'outside the box' thinker who's dealt with the hardships of being different and
other people's scorn and *still* be an intolerant fuckwit."  (Morgan Jaffit)

Technical Details
Message-ID: <893hgu$erl$1@thingy.apana.org.au>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <890r10$ufn$1@thingy.apana.org.au> <slrn8b81if.q7n.davis@aluche.mit.edu> <slrn8b8ihh.3vve853.hpholm@post1.tele.dk>

Show Full Headers
Complete Article Headers
Message-ID: <893hgu$erl$1@thingy.apana.org.au>
Subject: Re: slrnpull win32 problem
Date: Thu, 24 Feb 2000 00:00:00 +0000
From: fun@thingy.apana.org.au (David Gerard)
References: <890r10$ufn$1@thingy.apana.org.au> <slrn8b81if.q7n.davis@aluche.mit.edu> <slrn8b8ihh.3vve853.hpholm@post1.tele.dk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 589333481
X-Geek: You should be reading the message, not the headers
X-Complaints-To: abuse@thingy.apana.org.au
X-Trace: thingy.apana.org.au 951404894 15221 192.168.10.2 (24 Feb 2000 15:08:14 GMT)
Organization: Please try to understand before one of us dies.
X-URL: http://thingy.apana.org.au/~fun/
User-Agent: slrn/0.9.5.4 (Windows)
NNTP-Posting-Date: 24 Feb 2000 15:08:14 GMT
Newsgroups: news.software.readers