summaryrefslogtreecommitdiff
path: root/static/v10/man1/inews.1
blob: 15bb55a6617a105179edb58d6800eb98b4e611ce (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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
.TH INEWS 1
.SH NAME
inews \- submit news articles
.SH SYNOPSIS
.B inews
[
.B \-h
]
.B \-t
.IR title " [ "
.B \-n 
.IR newsgroups " ] [ "
.B \-e 
.IR "expiration date" " ]"
.PP
.B "inews \-p"
.RI " [ " filename " ] "
.PP
.BI "inews \-C " newsgroup
.SH DESCRIPTION
.I Inews
submits news articles to the USENET news
network.
It is intended as a raw interface, not as a human user interface.
Casual users should probably use
.IR postnews (1)
instead.
.PP
The first form is for submitting user articles.
The body will be read from the standard
input.  A
.I title
must be specified as there is no default.  Each article
belongs to a list of newsgroups.  If the
.B \-n
flag is omitted, the list
will default to something line 
.IR general .
(On ours, it is 
.IR general .)
If you wish to submit
an article in multiple newsgroups, the
.I newsgroups
must be separated by commas and/or spaces.
If not specified, the expiration date will be
set to the local default.
The
.B \-f
flag specifies the article's sender.  Without this flag, the sender
defaults to the user's name.
If
.B \-f
is specified, the real sender's name will be included as a Sender line.
The
.B \-h
flag specifies that headers are present at the beginning of the
article, and these headers should be included with the article
header instead of as text.
(This mechanism can be used to edit headers and supply additional
nondefault headers, but not to specify certain information,
such as the sender and article ID, that inews itself generates.)
.LP
When posting an article, the environment is checked for
information about the sender.
If NAME is found, its value is used for the full name,
rather than the system value (often in /etc/passwd).
This is useful if the system value cannot be set, or when
more than one person uses the same login.
If ORGANIZATION is found, the value overrides the system
default organization.
This is useful when a person uses a guest login and is
not primarily associated with the organization owning the machine.
.LP
The second form is used for receiving articles from other machines.
If
.I filename
is given, the article will be read from the specified file; otherwise
the article will be read from the standard input.  An expiration date
need not be present and a receival date, if present, will be ignored.
.LP
After local installation, inews will transmit the article to all systems
that subscribe to the newsgroups that the article belongs to.
.LP
The third form is for creating new newsgroups.  On some systems, this may
be limited to specific users such as the super-user or news administrator.
(This happens on ours.)
.LP
If the file /usr/lib/news/recording is present, it is taken as a list of
"recordings" to be shown to users posting news.
(This is by analogy to the recording you hear when you dial information
in some parts of the country, asking you if you really wanted to do this.)
The file contains lines of the form:
.br
	newsgroups <tab> filename
.br
for example:
.br
	net.all	net.recording
	fa.all	fa.recording
.br
Any user posting an article to a newsgroup matching the pattern on
the left will be shown the contents of the file on the right.
The file is found in the LIB directory (often /usr/lib/news).
The user is then told to hit DEL to abort or RETURN to proceed.
The intent of this feature is to help companies keep proprietary
information from accidently leaking out.
.SH FILES
.PD 0
.TP 25
/usr/spool/news/.sys.nnn
temporary articles
.TP 25
.RI /usr/spool/news/ newsgroups / article_no.
Articles
.TP 25
/usr/spool/oldnews/
Expired articles
.TP 25
/usr/lib/news/active
List of known newsgroups and highest local article numbers in each.
.TP 25
/usr/lib/news/seq
Sequence number of last article
.TP 25
/usr/lib/news/history
List of all articles ever seen
.TP 25
/usr/lib/news/sys
System subscription list
.PD
.SH "SEE ALSO"
Mail(1),
binmail(1),
getdate(3),
msgs(1),
news(5),
newsrc(5),
postnews(1),
readnews(1),
recnews(1),
sendnews(8),
uucp(1),
uurec(8),
.SH AUTHORS
Matt Glickman
.br
Mark Horton
.br
Stephen Daniel
.br
Tom R. Truscott