🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
5 messages
5 total messages Started by swanger Tue, 15 Sep 1992 16:15
.newsrc format wanted
#2170
Author: swanger
Date: Tue, 15 Sep 1992 16:15
10 lines
1137 bytes
I am writing a news reader (SUN IPC, SUNOS 4.1.2, NNTP 1.5.11) and I would
like to know if there is a standard format for .newsrc files.  I would like
to use xvnews at work and my own news reader at home (2400 baud dialup) and
share a .newsrc file between the two.

Also, do xvnews and rn use the same .newsrc file format?

Thanks for any advice you can send!
-- 
David Swanger,   Auburn University, Alabama,   swanger@ducvax.auburn.edu 
Re: .newsrc format wanted
#2168
Author: Iain Lea
Date: Tue, 15 Sep 1992 18:36
22 lines
1448 bytes
swanger@news.duc.auburn.edu wrote:
:
: I am writing a news reader (SUN IPC, SUNOS 4.1.2, NNTP 1.5.11) and I would
: like to know if there is a standard format for .newsrc files.  I would like
: to use xvnews at work and my own news reader at home (2400 baud dialup) and
: share a .newsrc file between the two.

Why not contribute your talents to one of the actively maintained readers:
  gnus (?)
  nn
  tin
  trn

Each have many small/medium/large projects to offer potential developers.

Iain

--
NAME   Iain Lea 
EMAIL  Iain.Lea%anl433.uucp@Germany.EU.net
SNAIL  Siemens AG, ANL A433SZ, Gruendlacher Str. 248, 8510 Fuerth, Germany.
PHONE  +49-911-3089-407 (work) +49-911-331963 (home) +49-911-3089-290 (FAX)  
Re: .newsrc format wanted
#2179
Author: swanger
Date: Wed, 16 Sep 1992 23:33
28 lines
1968 bytes
In article <1992Sep15.183601.14989@anl433.uucp>, Iain.Lea%anl433.uucp@Germany.EU.net (Iain Lea) writes:
> swanger@news.duc.auburn.edu wrote:
> :
> : I am writing a news reader (SUN IPC, SUNOS 4.1.2, NNTP 1.5.11) and I would
> : like to know if there is a standard format for .newsrc files.  I would like
> : to use xvnews at work and my own news reader at home (2400 baud dialup) and
> : share a .newsrc file between the two.
> 
> Why not contribute your talents to one of the actively maintained readers:
>   gnus (?)
>   nn
>   tin
>   trn
> 
> Each have many small/medium/large projects to offer potential developers.

Oh I don't know, I just want to write my own for now.  I've tried some of
the available readers and they are fine, but none of them feel "right" to
me (this is reflection on me and not the readers). Therefore, I decided to
try to write one.  Maybe I can eventually get it to work like I want it to! 
This isn't a major project and I am doing it in my part time.

Still, back to my original question, is there any info on .newsrc files
available?  I would really appreciate help with this.

Thanks!
-- 
David Swanger,   Auburn University, Alabama,   swanger@ducvax.auburn.edu 
Re: .newsrc format wanted
#2206
Author: John Dilley
Date: Mon, 21 Sep 1992 00:57
12 lines
1357 bytes
In article <1992Sep16.183323.1@news.duc.auburn.edu> swanger@news.duc.auburn.edu writes:

> Still, back to my original question, is there any info on .newsrc
> files available?  I would really appreciate help with this.

	All the information I have about .newsrc files comes from
reading the gnus source.  You might try there for some hints.  I would
have thought you'd have gotten an authoritative response by now, but
since you haven't I thought I'd trow this in ...

			 --       jad       --
		      John Dilley <jad@nsa.hp.com>
Re: .newsrc format wanted
#2219
Author: Geoff Collyer
Date: Tue, 22 Sep 1992 01:44
59 lines
2320 bytes
The newsrc format is defined in newsrc(5).  Here's the most recent
uncopyrighted one I could find (from B 2.10.1 news):


.TH NEWSRC 5
.SH NAME
newsrc \- information file for readnews(1) and checknews(1)
.SH DESCRIPTION
The
.I .newsrc
file contains the list of previously read articles and an optional
options line for
.IR readnews(1) " and " checknews(1).
Each newsgroup that articles
have been read from has a line of the form:
.LP
.I newsgroup: range
.LP
The
.I range
is a list of the articles read.  It is basically a list of no.'s
separated by commas with sequential no.'s collapsed with hyphens.
For instance:
.LP
.B general: 1-78,80,85-90
.br
.B fa.info-cpm: 1-7
.br
.B net.news: 1
.br
.B fa.info-vax! 1-5
.br
.LP
If the : is replaced with an ! (as in info-vax above) the newsgroup
is not subscribed to and will not be shown to the user.
.LP
An options line starts with the word
.B options
(left-justified).  Then there are the list of options just as they
would be on the command line.  For instance:
.LP
.B "options \-n all !fa.sf-lovers !fa.human-nets \-r"
.br
.B "options \-c \-r"
.LP
A string of lines beginning with a space or tab after the initial options
line will be considered continuation lines.
.SH FILES
.TP 25
~/.newsrc
options and list of previously read articles
.SH SEE ALSO
readnews(1),
checknews(1)
-- 
Geoff Collyer				world!geoff, world.std.com!geoff
``closed is Open'' - not George Orwell on ``Open'' Systems
open, a. admitting visitors or customers; not yet settled or decided (OPD)
``and it's Open For Business like a cheap bordello'' - Bruce Cockburn
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