Article View: news.software.readers
Article #43967Re: SLRN: Periodically check for new news?
From: Dawn Owens-Nicholson
Date: Wed, 21 Oct 1998 00:00
Date: Wed, 21 Oct 1998 00:00
23 lines
1845 bytes
1845 bytes
Lloyd Zusman wrote:
> Do slrn or s-lang support subprocesses?
No, but in the S-Lang docs toward the end ("Future Directions") it says that
multi-threading is planned for the next major S-Lang release.
> On the other hand, if some kind of subprocess support exists, perhaps
> it wouldn't be prohibitively difficult to add such a thing to slrn.
You can have this functionality now if you don't mind doing it in a
different way. Record the time (15 minutes from now) and event ("if
(is_group_mode ()) call("refresh_groups")") somewhere (say, a linked list)
and frequently go over the list to see what events are due to be executed
now. Make this list iterator a function and call this function from macro
wrappers used frequently (i.e., a simple wrapper for call("next"),
call("delete"), call("undelete"); put it in hooks) and then approximately
every 15 minutes while you're generating keystrokes (while you're sitting
there reading news), you'll make slrn get new news.
It's a pretty elaborate way to save you a keystroke, but maybe there are
some other events you wouldn't mind automating like this.
Technical Details
Message-ID:
<slrn72s736.e5e.bluemoon@ux6.cso.uiuc.edu>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:
<slrn72r3b3.2ku.kk@linukks.fth.sbs.de> <slrn72s4v3.ang.bluemoon@ux6.cso.uiuc.edu> <ltzpapj0cc.fsf@asfast.com>Show Full Headers
Complete Article Headers
Message-ID: <slrn72s736.e5e.bluemoon@ux6.cso.uiuc.edu> Subject: Re: SLRN: Periodically check for new news? Date: Wed, 21 Oct 1998 00:00:00 +0000 From: bluemoon@ux6.cso.uiuc.edu (Dawn Owens-Nicholson) References: <slrn72r3b3.2ku.kk@linukks.fth.sbs.de> <slrn72s4v3.ang.bluemoon@ux6.cso.uiuc.edu> <ltzpapj0cc.fsf@asfast.com> 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: 403625589 Organization: University of Illinois at Urbana-Champaign User-Agent: slrn/0.9.5.3 (UNIX) Newsgroups: news.software.readers