File:  [CSRG BSD Unix] / 43BSD / contrib / news / man / newsrc.5
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:54 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD43
BSD 4.3

.if n .ds La '
.if n .ds Ra '
.if t .ds La `
.if t .ds Ra '
.if n .ds Lq "
.if n .ds Rq "
.if t .ds Lq ``
.if t .ds Rq ''
.de Ch
\\$3\\*(Lq\\$1\\*(Rq\\$2
..
.TH NEWSRC 5 "January 17, 1986"
.ds ]W  Version B 2.10.3
.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
.IB newsgroup : " range"
.LP
The
.I range
is a list of the articles read.  It is basically a list of numbers
separated by commas with sequential numbers collapsed with hyphens.
For instance:
.LP
.B general: 1-78,80,85-90
.br
.B mod.computers.laser-printers: 1-7
.br
.B net.news: 1
.br
.B mod.ai! 1-5
.br
.LP
If the
.Ch :
is replaced with an
.Ch !
(as in
.B mod.ai
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 !net.sf-lovers !mod.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
checknews(1),
readnews(1),
vnews(1)

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.