🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #62218

Re: slrn: how to get list of new groups without exiting

#62218
From: Thomas Stroesslin
Date: Tue, 06 Jun 2000 00:00
48 lines
2766 bytes
>> is there a reason for not [fetching new newsgroups when
>> fetching new news articles?]
>
>Yes, some users using slow servers spoke up and lobbied for its removal.  I
>believe these users are paying for their connection by the amount of data
>they downloaded (perhaps in addition to paying by connect time).  In
>retrospect an option would have been a better choice.

ok

>> in fact, i find it quite annoying not to see them until i exit and
>> relaunch again. additionally, as i rarely exit slrn, i end up with 200 new
>> groups in one go, which is unpleasant.
>
>I have something that might help--a macro to handle automatic subscription
>and unsubscription based on regular expressions and the state of slrn's
>unsubscribe_new_groups slrnrc variable.  Someday I'll be able to point you
>to a webpage containing this macro.  Until then I'll e-mail you a copy if
>you're interested.

hmm, but still, that macro would have to be able to check for new groups.
and that's exactly what i thought was not possible any more? i'd be too glad
if there was just a way to check for new groups by pressing a key (like "G"
for new articles)

>> how can you make a macro being "suspended" for some time?
>
>Currently you can either not run a macro (typically an S-Lang function) or
>you can put a loop in the function to check the time conditionally accepting
>keystrokes and push them back on the 'keystroke stack' (for lack of a better
>term) so slrn will act on them.  I haven't tested the latter concept yet but
>I have tried the former (by making a macro that waits for a certain time to
>arrive before executing another macro).  It was clunky but it worked.

so you can wait for a certain amount of time in S-Lang and then call another
macro?

can you also recursively invoke the same macro :-) ?

cheers,
tom

-- 
T. Stroesslin
DI-MANTRA (INF 130)
EPFL

Technical Details
Message-ID: <slrn8jpg3o.s9u.thomas.stroesslin@in3sun2.epfl.ch>
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: <slrn8ja0ug.4mp.thomas.stroesslin@mantrasun3.epfl.ch> <slrn8ja8uu.mv.bluemoon@ux6.cso.uiuc.edu> <slrn8jn524.s9u.thomas.stroesslin@in3sun2.epfl.ch> <slrn8jo8hp.5k4.bluemoon@ux6.cso.uiuc.edu>

Show Full Headers
Complete Article Headers
Message-ID: <slrn8jpg3o.s9u.thomas.stroesslin@in3sun2.epfl.ch>
Subject: Re: slrn: how to get list of new groups without exiting
Date: Tue, 06 Jun 2000 00:00:00 +0000
From: thomas.stroesslin@epfl.ch (Thomas Stroesslin)
References: <slrn8ja0ug.4mp.thomas.stroesslin@mantrasun3.epfl.ch> <slrn8ja8uu.mv.bluemoon@ux6.cso.uiuc.edu> <slrn8jn524.s9u.thomas.stroesslin@in3sun2.epfl.ch> <slrn8jo8hp.5k4.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-mail
X-Deja-AN: 631646517
X-Trace: 6 Jun 2000 11:12:25 GMT+2, in3sun2.epfl.ch
Organization: EPFL
User-Agent: slrn/0.9.6.2 (SunOS)
Reply-To: thomas.stroesslin@epfl.ch
Newsgroups: news.software.readers