home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fred Fish Collection 1.5
/
ffcollection-1-5-1992-11.iso
/
ff_disks
/
400-499
/
ff473.lzh
/
CNewsSrc
/
cnews_src.lzh
/
man
/
rnews.man
< prev
next >
Wrap
Text File
|
1991-01-05
|
7KB
|
133 lines
RNEWS(8) MAINTENANCE COMMANDS RNEWS(8)
NNNNAAAAMMMMEEEE
rnews, cunbatch - accept and spool news input
newsspool, newsrun, c7decode - news input spooler and pro-
cessing
newsrunning - control news-processing daemon
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
rrrrnnnneeeewwwwssss
ccccuuuunnnnbbbbaaaattttcccchhhh
////uuuussssrrrr////lllliiiibbbb////nnnneeeewwwwssssbbbbiiiinnnn////iiiinnnnppppuuuutttt////nnnneeeewwwwssssssssppppoooooooollll [ ----iiii ] [ file ... ]
////uuuussssrrrr////lllliiiibbbb////nnnneeeewwwwssssbbbbiiiinnnn////iiiinnnnppppuuuutttt////nnnneeeewwwwssssrrrruuuunnnn
////uuuussssrrrr////lllliiiibbbb////nnnneeeewwwwssssbbbbiiiinnnn////iiiinnnnppppuuuutttt////cccc7777ddddeeeeccccooooddddeeee
////uuuussssrrrr////lllliiiibbbb////nnnneeeewwwwssssbbbbiiiinnnn////iiiinnnnppppuuuutttt////nnnneeeewwwwssssrrrruuuunnnnnnnniiiinnnngggg [oooonnnn|ooooffffffff]
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
_R_n_e_w_s accepts news from standard input and spools it up for
processing, space permitting. If space is persistently too
short, _r_n_e_w_s looks for the file /_u_s_r/_l_i_b/_n_e_w_s/_r_n_e_w_s._s_t_a_l_l;
if it is present, _r_n_e_w_s waits patiently for more space to
appear, while if it is absent, _r_n_e_w_s discards the news and
reports this.
_C_u_n_b_a_t_c_h is a historical synonym for _r_n_e_w_s; there is no
difference in what they do.
_N_e_w_s_s_p_o_o_l is the actual spooling program. It creates a
spool file with a name based on the current time (which
avoids the need for locking) in the spooling directory
/_u_s_r/_s_p_o_o_l/_n_e_w_s/_i_n._c_o_m_i_n_g and copies the input _f_i_l_e(s)
(standard input default) to it, stripping off any `####!!!! ccccuuuunnnn----
bbbbaaaattttcccchhhh' or `####!!!! cccc7777uuuunnnnbbbbaaaattttcccchhhh' header as it does so. If invoked
with the ----iiii option, when finished it attempts to start _n_e_w_s_-
_r_u_n to process the new news immediately. _R_n_e_w_s invokes it
this way if and only if the file /_u_s_r/_l_i_b/_n_e_w_s/_r_n_e_w_s._i_m_m_e_d
exists.
_N_e_w_s_r_u_n should be run periodically (e.g. by _c_r_o_n(8)) to pro-
cess spooled news. _N_e_w_s_r_u_n_n_i_n_g can be used to turn
_n_e_w_s_r_u_n's processing off and on if it is desired to avoid
major news processing during certain hours. `nnnneeeewwwwssssrrrruuuunnnnnnnniiiinnnngggg
ooooffffffff' instructs any currently-running _n_e_w_s_r_u_n to stop as soon
as possible, and prevents later ones from running. `nnnneeeewwwwssss----
rrrruuuunnnnnnnniiiinnnngggg oooonnnn' removes the inhibition (but does not actually
start a new _n_e_w_s_r_u_n). Without an argument, _n_e_w_s_r_u_n_n_i_n_g
reports the current status: ``off'' or ``on''.
_N_e_w_s_r_u_n checks for the _s_t_o_p file that _n_e_w_s_r_u_n_n_i_n_g _o_f_f
creates, verifies that there is enough disk space for pro-
cessing, and then starts processing spooled news. Each
batch is run through _c_7_d_e_c_o_d_e (if necessary), de_c_o_m_p_r_e_s_sed
(if necessary), and then fed to _r_e_l_a_y_n_e_w_s (on the server, if
/_u_s_r/_l_i_b/_n_e_w_s/_s_e_r_v_e_r exists and contains its name). If
Sun Microsystems Last change: 13 Dec 1990 1
RNEWS(8) MAINTENANCE COMMANDS RNEWS(8)
_r_e_l_a_y_n_e_w_s fails, _n_e_w_s_r_u_n reports this (by mail to uuuusssseeeennnneeeetttt)
and attempts to save the spooled batch in the _b_a_d subdirec-
tory for human inspection. To bound the accumulation in _b_a_d
in the event of some systematic problem, _n_e_w_s_r_u_n limits _b_a_d
to 50 files; this default can be changed by placing a _l_i_m_i_t
file in _b_a_d, containing one ASCII line with the desired
numeric limit. A limit of 0 will prevent saving of bad
batches.
_C_7_d_e_c_o_d_e passes standard input to standard output, decoding
a complex and bizarre encoding of 8-bit data as printable
ASCII characters.
FFFFIIIILLLLEEEESSSS
(All in /_u_s_r/_s_p_o_o_l/_n_e_w_s/_i_n._c_o_m_i_n_g)
000000000 (etc.) spooled news
stop _n_e_w_s_r_u_n disable file
bad directory for failed news
bad/limit limit on number of files in _b_a_d
SSSSEEEEEEEE AAAALLLLSSSSOOOO
compress(1), newsbatch(8), newsmail(8), relaynews(8)
DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
Complaints are mailed to uuuusssseeeennnneeeetttt if something goes wrong.
HHHHIIIISSSSTTTTOOOORRRRYYYY
Part of C News. Written at University of Toronto by Henry
Spencer.
BBBBUUUUGGGGSSSS
_C_7_d_e_c_o_d_e should be part of the underlying transport mechan-
ism. It hasn't been tested very well in the C News environ-
ment. _B_d_e_c_o_d_e (see _n_e_w_s_m_a_i_l(8)) is probably better for most
uses.
_R_e_l_a_y_n_e_w_s is a bit too enthusiastic about declaring batches
bad, so things end up in _b_a_d for no terribly good reason.
Actually, it's rare for the contents of _b_a_d to be very
interesting.
Sun Microsystems Last change: 13 Dec 1990 2