🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #20943

Re: 'Any new news articles'-program? (Option to slrn?)

#20943
From: Jay Maynard
Date: Thu, 25 Apr 1996 00:00
26 lines
2014 bytes
On 25 Apr 1996 18:51:25 GMT, John E. Davis <davis@space.mit.edu> wrote:
>This is already present in slrn.  When it starts up and displays the group
>screen, this is exactly what you see.  The number to the left of the
>newsgroup indicates how many unread articles in the group.

I think he's looking for an option like [t]rn's -c, which scans the .newsrc
and prints up to five newsgroups with new articles in them to stdout:

Unread news in alt.tv.animaniacs                          398 articles
Unread news in alt.tv.tiny-toon                            84 articles
Unread news in alt.tv.tiny-toon.fandom                     92 articles
Unread news in alt.tv.simpsons                           1163 articles
Unread news in general                                    114 articles
etc.

It also sets the exit code to reflect whether or not any articles were found.

I may get adventurous and see if it's not too hard to do.
-- 
Jay Maynard, EMT-P, K5ZC, PP-ASEL | Never ascribe to malice that which can
http://k5zc.hsc.uth.tmc.edu       | adequately be explained by stupidity.
      "Are we going to push it to the edge of the envelope?" -- Pinky
     "No, Pinky. We may, however, reach the sticky part." -- The Brain


Technical Details
Message-ID: <slrn4nvnea.2ef.jmaynard@k5zc.hsc.uth.tmc.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: <slrn4nnlhv.evb.evenh@storm.stud.unit.no> <slrn4nvidd.8mv.davis@wiwaxia.mit.edu>

Show Full Headers
Complete Article Headers
Message-ID: <slrn4nvnea.2ef.jmaynard@k5zc.hsc.uth.tmc.edu>
Subject: Re: 'Any new news articles'-program? (Option to slrn?)
Date: Thu, 25 Apr 1996 00:00:00 +0000
From: jmaynard@k5zc.hsc.uth.tmc.edu (Jay Maynard)
References: <slrn4nnlhv.evb.evenh@storm.stud.unit.no> <slrn4nvidd.8mv.davis@wiwaxia.mit.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: 151423284
Content-type: text/plain;charset=US-ASCII
Organization: University of Texas Health Science Center
Mime-version: 1.0
Reply-to: jmaynard@admin5.hsc.uth.tmc.edu
Newsgroups: news.software.readers