🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #51625

Re: [slrn] refresh groups

#51625
From: Dawn Owens-Nicholson
Date: Sun, 05 Sep 1999 00:00
9 lines
1106 bytes
Stephane Gibier wrote:
> Just a remark : why to test the length of the current newsgroup ?

Because group_unread() returns 0 when you use it when no groups are listed.
This is all done in an attempt to discover whether empty groups are toggled
on (meaning empty subscribed groups are showing) or off (they're not
showing) and then to turn them off before calling refresh_groups.

Technical Details
Message-ID: <slrn7t3n1c.msi.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
References: <slrn7t2p4j.9b2.sgibier@hermes.olympus.fr> <slrn7t2vol.l1b.bluemoon@ux6.cso.uiuc.edu> <slrn7t33er.afu.sgibier@hermes.olympus.fr>

Show Full Headers
Complete Article Headers
Message-ID: <slrn7t3n1c.msi.bluemoon@ux6.cso.uiuc.edu>
Subject: Re: [slrn] refresh groups
Date: Sun, 05 Sep 1999 00:00:00 +0000
From: bluemoon@ux6.cso.uiuc.edu (Dawn Owens-Nicholson)
References: <slrn7t2p4j.9b2.sgibier@hermes.olympus.fr> <slrn7t2vol.l1b.bluemoon@ux6.cso.uiuc.edu> <slrn7t33er.afu.sgibier@hermes.olympus.fr>
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: 521196651
Organization: University of Illinois at Urbana-Champaign
User-Agent: slrn/0.9.5.7 (UNIX)
Newsgroups: news.software.readers