Article View: news.software.readers
Article #535Minimal newsreader for login announcements
From: Heather L. Sherman
Date: Fri, 30 Aug 1991 20:53
Date: Fri, 30 Aug 1991 20:53
18 lines
1631 bytes
1631 bytes
I'd like to to start using a local newsgroup to display system login messages on the system I manage along with the .newsrc to keep track of what has been displayed. All users have "announce | more" in the .login. "announce" is just a shell script which creates a .newsrc if there isn't one and reads unread news in the system newsgroup. I thought the readnews program distributed with Cnews would work (using readnews -p -n newsgroup) but it has some nasty .newsrc munging behaviour: it sorts the .newsrc, crashes if it sees "group:" without a number list, and it changes lines like "group:1-3,7,10" to "group:1-3"). The first two problems were trivial to fix, the third looks much tougher. Has anyone made this third fix to readnews or does anyone have a basic newsreader which will simply dump (without paging) unread articles from a given newsgroup without doing strange things to the .newsrc? Heather Sherman heather@iago.caltech.edu
Technical Details
Message-ID:
<1991Aug30.205353.27195@cco.caltech.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmdzi!unido!math.fu-berlin.de!ox.com!yale.edu!think.com!sdd.hp.com!mips!ptimtc!nntp-server.caltech.edu!heatherShow Full Headers
Complete Article Headers
Message-ID: <1991Aug30.205353.27195@cco.caltech.edu> Subject: Minimal newsreader for login announcements Date: Fri, 30 Aug 1991 20:53:53 +0000 From: heather@cco.caltech.edu (Heather L. Sherman) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmdzi!unido!math.fu-berlin.de!ox.com!yale.edu!think.com!sdd.hp.com!mips!ptimtc!nntp-server.caltech.edu!heather Newsgroups: news.software.readers Distribution: all Organization: California Institute of Technology, Pasadena Lines: 18