]> diplodocus.org Git - nmh/blob - docs/historical/mh-jun-1982/man/news.1
add documentation on friendly function
[nmh] / docs / historical / mh-jun-1982 / man / news.1
1 .TH NEWS 1 RAND
2 .SH NAME
3 news \- show news
4 .SH SYNOPSIS
5 \fBnews\fR \%[topic\ ...]
6 \%[\fB\-check\fR]
7 \%[\fB\-display\fR]
8 \%[\fB\-update\fR]
9 \%[\fB\-review\fR\ [topic]]
10 \%[\fB\-send\ \fRtopic]
11 \%[\fB\-topics\fR]
12 \%[\fB\-help\fR]
13 .SH DESCRIPTION
14 .I News
15 is an MH program which checks, displays, reviews, or sends news.
16 A pseudo-user called `news' acts as an automated
17 custodian for news items on various topics.
18 These topics are managed as MH folders in the home directory of news.
19 Mail sent to `news.everyone', for instance, will get
20 filed in the `everyone' news folder.
21 .PP
22 You can explicitly select the group of news topics you want
23 to check or display by specifying them as arguments to the
24 .I news
25 command.
26 If you don't explicitly select topics in this way,
27 the topic `everyone' is selected by default.
28 Additional default topics can be selected by listing them on a
29 \&``News\-Topics:'' line in your MH profile.
30 The MH profile line
31 must contain a blank-separated list of topics.
32 As a special case, the profile line:
33 .br
34 \&``News\-Topics:\ *''
35 .br
36 means you want to keep track of all news.
37 .PP
38 \&``\fINews \fB\-topics\fR''
39 will show you what topics exist and
40 the number of messages in each.
41 Topics selected are marked with asterisks.
42 \&``\fINews \fB\-help\fR''
43 is like
44 \&``\fInews \fB\-topics\fR''
45 except that it also displays the syntax of the
46 .I news
47 command.
48 .PP
49 \&``\fINews \fB\-check\fR''
50 will report the existence of unread news in the selected topics.
51 .I News
52 without any option arguments
53 will display all unread news items from
54 all selected topics.
55 \&``\fINews \fB\-display\fR''
56 is identical to
57 .I news
58 without an argument, but it suppresses the
59 no news message (useful in login scripts).
60 \&``\fINews \fB\-review\fR [#] [topic]''
61 will redisplay the last # (default all) items
62 in the selected topics.
63 .PP
64 News stores in your MH profile the message number of the most recent news
65 item it has shown you in each topic.
66 \&``\fINews \fB\-update\fR''
67 will update your MH profile to indicate no
68 outstanding news items to be read.
69 .PP
70 \&``\fINews \fB\-send\fR topic''
71 is identical to
72 \&``mail news.topic''.
73 The mail sent to news.topic is
74 automatically filed in a folder with
75 name topic.
76 .PP
77 Any unrecognized switches to
78 .I news
79 are sent along to
80 .IR l (1)
81 for displaying items, or to
82 .IR mail (1)
83 for sending a news item.
84 .SH FILES
85 .ta 2.4i
86 $HOME/.mh\(ruprofile The user profile
87 .br
88 ~news/<topics> The news folders
89 .br
90 ~news/.<topics> The number of items in <topics>
91 .SH PROFILE COMPONENTS
92 News-topics: Topics the user is interested in.
93 .br
94 News-<topic>: Current message in news topics
95 .SH SEE ALSO
96 mh-mail(5), mh(1)
97 .SH DEFAULTS
98 The topic `everyone' is the default topic.
99 .SH CONTEXT
100 The current message in each news folder is maintained in the
101 user's mh\(ruprofile.