Thread View: news.software.readers
4 messages
4 total messages
Started by Heather L. Sherman
Fri, 30 Aug 1991 20:53
Minimal newsreader for login announcements
Author: 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
Re: Minimal newsreader for login announcements
Author: Geoff Collyer
Date: Fri, 30 Aug 1991 21:37
Date: Fri, 30 Aug 1991 21:37
24 lines
1989 bytes
1989 bytes
Heather L. Sherman: >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? As we warn in the documentation, the readnews we distribute is there mainly for completeness and as a dead simple news reader for very casual use only. You certainly can't use that readnews and any other news reader on the same .newsrc files. The third "problem" you list is a feature of this readnews; when I looked at it, it didn't look easy to change it to support commas in .newsrc lines. For your application, I think I had good luck with TERM=dumb TERMCAP= rn though (as always) you may need some options for rn. In the old days, I think "readnews -p -n group" worked, where "readnews" is the B readnews. -- Geoff Collyer world.std.com!geoff, uunet.uu.net!geoff
Re: Minimal newsreader for login announcements
Author: Ronald S H Khoo
Date: Sat, 31 Aug 1991 16:53
Date: Sat, 31 Aug 1991 16:53
16 lines
1269 bytes
1269 bytes
geoff@world.std.com (Geoff Collyer) writes: > Heather L. Sherman: > >I thought the readnews program distributed with Cnews would work (using > >readnews -p -n newsgroup) > In the old days, I > think "readnews -p -n group" worked, where "readnews" is the B readnews. Can you think of any reason why Heather couldn't just simply use the B readnews ? After all, B News is still available from archive sites everywhere, dead though it be. I can't check -- I no longer keep B sources within throwing distance ... -- Ronald Khoo <ronald@robobar.co.uk> +44 81 991 1142 (O) +44 71 229 7741 (H)
Re: Minimal newsreader for login announcements
Author: Geoff Collyer
Date: Sat, 31 Aug 1991 21:06
Date: Sat, 31 Aug 1991 21:06
8 lines
965 bytes
965 bytes
Ronald S H Khoo: >Can you think of any reason why Heather couldn't just simply use the B >readnews ? No. The B readers continue to work just fine with C News. There are folks still using B vnews at C News sites. -- Geoff Collyer world.std.com!geoff, uunet.uu.net!geoff
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads