blob: 54118d17ad93df295b49f4ad682fb22c4a1914de (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
.TH NEWS 7
.CT 1 comm_users
.SH NAME
news \(mi print news items
.SH SYNOPSIS
.B news
[
.B -a
]
[
.B -n
]
[
.B -s
]
[
.I item ...
]
.SH DESCRIPTION
When invoked without options,
this simple local news service
prints files that have appeared in
.BR /usr/news
since last reading, most recent first,
with each preceded by an appropriate header.
The time of reading is recorded.
The options are
.TP
.B -a
Print all items, regardless of currency.
The recorded time is not changed.
.TP
.B -n
Report the names of the current items without
printing their contents, and without changing
the recorded time.
.TP
.B -s
Report the number of current items.
.PP
Other arguments
select particular news items.
.PP
If an interrupt
is received during a news item, the
next item is started immediately.
Another interrupt
within a second of the first causes the program to terminate.
.PP
To post a news item, create a file in
.FR /usr/news .
.PP
You may arrange to receive news automatically by
registering your mail address in
.FR /usr/lib/subscribers .
A daemon mails newly posted news items
to all addresses on the list.
.SH FILES
.F /usr/news/*
.br
.F $HOME/news_time
date of last read news
.br
.F /usr/lib/subscribers
.SH SEE ALSO
.IR calendar (1),
.IR readnews (7)
|