Article View: news.software.readers
Article #52541Re: [Win-slrn] abort actions?
From: John E. Davis
Date: Thu, 30 Sep 1999 00:00
Date: Thu, 30 Sep 1999 00:00
20 lines
1641 bytes
1641 bytes
On 25 Sep 1999 15:37:12 GMT, Tomasz 'tsca' Sienicki <tsca@cryogen.com> wrote: > How do I abort actions (e.g. downloading 10.000 headers or looooong > binary message when I accidentaly press Enter once too much) in slrn > under Windows? Under Linux I simply do ^G. It doesn't work under Win. It works under Unix because Ctrl-G causes a SIGINT to be sent to slrn, which is setup so that system calls are not automatically restarted. Hence, when SIGINT is sent, slrn can react and abort the read. To be honest, I know very little about windows and I do not know how to implement this under windows in a console mode program. Perhaps there is a mechanism built into winsock, but my suspicion is that it would involve the use of Ctrl-Break and not something configurable like Ctrl-G. In any case, feel free to submit a patch. Thanks, --John
Technical Details
Message-ID:
<slrn7ut0rl.7jn.davis@mygir.davis.net>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-mailReferences:
<slrn94648txt53.146.tsca@gate666.has.dk>Show Full Headers
Complete Article Headers
Message-ID: <slrn7ut0rl.7jn.davis@mygir.davis.net> Subject: Re: [Win-slrn] abort actions? Date: Thu, 30 Sep 1999 00:00:00 +0000 From: davis@space.mit.edu (John E. Davis) References: <slrn94648txt53.146.tsca@gate666.has.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: 531071239 X-Complaints-To: usenet@eecs-usenet-02.mit.edu X-Trace: eecs-usenet-02.mit.edu 938685795 7239 18.75.2.45 (30 Sep 1999 10:03:15 GMT) Organization: Center for Space Research User-Agent: slrn/0.9.5.7 (UNIX) NNTP-Posting-Date: 30 Sep 1999 10:03:15 GMT Newsgroups: news.software.readers