Annotation of 43BSD/contrib/news/man/checknews.1, revision 1.1.1.1

1.1       root        1: .if n .ds La '
                      2: .if n .ds Ra '
                      3: .if t .ds La `
                      4: .if t .ds Ra '
                      5: .if n .ds Lq "
                      6: .if n .ds Rq "
                      7: .if t .ds Lq ``
                      8: .if t .ds Rq ''
                      9: .de Ch
                     10: \\$3\\*(Lq\\$1\\*(Rq\\$2
                     11: ..
                     12: .TH CHECKNEWS 1 "January 17, 1986"
                     13: .ds ]W  Version B 2.10.3
                     14: .SH NAME
                     15: checknews \- check to see if user has news
                     16: .SH SYNOPSIS
                     17: .BR checknews " [ " ynqevvN " ]  ["
                     18: .IR "newsgroup list" " ]  ["
                     19: .IR "readnews options" " ]"
                     20: .SH DESCRIPTION
                     21: .I Checknews
                     22: reports to the user whether or not he has news.
                     23: .TP 10
                     24: .B \-y
                     25: reports \*(LqThere is news\*(Rq if the user has news to read.
                     26: If the
                     27: .B \-N
                     28: flag is given,
                     29: then the newsgroups requested are also printed.
                     30: .TP 10
                     31: .B \-n
                     32: reports \*(RqNo news\*(Rq if there isn't any news to read.
                     33: .TP 10
                     34: .B \-q
                     35: causes
                     36: .I checknews
                     37: to be quiet.
                     38: Instead of printing a message, the exit status indicates news.
                     39: A status of 0 means no news, 1 means there is news.
                     40: .TP 10
                     41: .B \-v
                     42: alters the
                     43: .B \-y
                     44: message to show the name of the first newsgroup containing unread news.
                     45: Doubling
                     46: .B v
                     47: (e.g.
                     48: .BR \-vv )
                     49: will cause an explanation of
                     50: .I any
                     51: claim of new news,
                     52: and is useful if
                     53: .I checknews
                     54: and
                     55: .IR readnews (1)
                     56: disagree on whether there is news.
                     57: .TP 10
                     58: .B \-e
                     59: executes
                     60: .I readnews
                     61: if there is news.
                     62: .TP 10
                     63: .B \-N
                     64: causes the next argument to be read and interpreted as
                     65: a comma-separated list of newsgroups to be checked.
                     66: .PP
                     67: If there are no options,
                     68: .B \-y
                     69: is the default.
                     70: .SH FILES
                     71: .PD 0
                     72: .TP 40
                     73: ~/.newsrc
                     74: Active newsgroups
                     75: .TP 40
                     76: /usr/lib/news/active
                     77: Options and list of previously read articles
                     78: .SH SEE ALSO
                     79: inews(1),
                     80: postnews(1),
                     81: readnews(1),
                     82: vnews(1),
                     83: news(5),
                     84: newsrc(5),
                     85: expire(8),
                     86: recnews(8),
                     87: sendnews(8),
                     88: uurec(8)
                     89: .SH BUGS
                     90: .LP
                     91: The
                     92: .B \-N
                     93: flag should really be named
                     94: .B \-n
                     95: to be consistent with other news programs,
                     96: but
                     97: .B \-n
                     98: was already used.
                     99: If the
                    100: .B \-v
                    101: flag is used with the
                    102: .B \-N
                    103: flag, the first newsgroup in the list
                    104: where there is news should be printed instead of the entire list.
                    105: If the
                    106: .B \-N
                    107: flag is used and
                    108: .I readnews
                    109: is invoked (with
                    110: .BR \-e )
                    111: it does not restrict
                    112: news reading to those groups checked, but reads all newsgroups where there
                    113: is new news.

unix.superglobalmegacorp.com

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