blob: bce5e18eafd5b5769cba8d729fb928b50b8142e0 [file] [log] [blame]
rsc058b0112005-01-03 06:40:20 +00001.TH NEWS 1
2.SH NAME
3news \- print news items
4.SH SYNOPSIS
5.B news
6[
7.B -a
8]
9[
10.B -n
11]
12[
13.I item ...
14]
15.SH DESCRIPTION
16When invoked without options,
17this simple local news service
18prints files that have appeared in
19.BR /lib/news
20since last reading, most recent first,
21with each preceded by an appropriate header.
22The time of reading is recorded.
23The options are
24.TP
25.B -a
26Print all items, regardless of currency.
27The recorded time is not changed.
28.TP
29.B -n
30Report the names of the current items without
31printing their contents, and without changing
32the recorded time.
33.PP
34Other arguments
35select particular news items.
36.PP
37To post a news item, create a file in
38.BR /lib/news .
39.PP
40You may arrange to receive news automatically by
41registering your mail address in
42.BR /sys/lib/subscribers .
43A daemon mails recent news
44to all addresses on the list.
45.PP
46Empty news items, and news items named
47.B core
48or
49.B dead.letter
50are ignored.
51.SH FILES
52.TF /sys/lib/subscribers
53.TP
54.B /lib/news/*
55articles
56.TP
57.B $HOME/lib/newstime
58modify time is time news was last read
59.TP
60.B /sys/lib/subscribers
61who gets news mailed to them
62.SH SOURCE
63.B /usr/local/plan9/src/cmd/news.c