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 >
Text File  |  1991-01-05  |  7KB  |  133 lines

  1.  
  2.  
  3.  
  4. RNEWS(8)              MAINTENANCE COMMANDS               RNEWS(8)
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      rnews, cunbatch - accept and spool news input
  10.      newsspool, newsrun, c7decode - news input spooler  and  pro-
  11.      cessing
  12.      newsrunning - control news-processing daemon
  13.  
  14. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  15.      rrrrnnnneeeewwwwssss
  16.      ccccuuuunnnnbbbbaaaattttcccchhhh
  17.      ////uuuussssrrrr////lllliiiibbbb////nnnneeeewwwwssssbbbbiiiinnnn////iiiinnnnppppuuuutttt////nnnneeeewwwwssssssssppppoooooooollll [ ----iiii ] [ file ... ]
  18.      ////uuuussssrrrr////lllliiiibbbb////nnnneeeewwwwssssbbbbiiiinnnn////iiiinnnnppppuuuutttt////nnnneeeewwwwssssrrrruuuunnnn
  19.      ////uuuussssrrrr////lllliiiibbbb////nnnneeeewwwwssssbbbbiiiinnnn////iiiinnnnppppuuuutttt////cccc7777ddddeeeeccccooooddddeeee
  20.      ////uuuussssrrrr////lllliiiibbbb////nnnneeeewwwwssssbbbbiiiinnnn////iiiinnnnppppuuuutttt////nnnneeeewwwwssssrrrruuuunnnnnnnniiiinnnngggg [oooonnnn|ooooffffffff]
  21.  
  22. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  23.      _R_n_e_w_s accepts news from standard input and spools it up  for
  24.      processing,  space permitting.  If space is persistently too
  25.      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;
  26.      if  it  is  present, _r_n_e_w_s waits patiently for more space to
  27.      appear, while if it is absent, _r_n_e_w_s discards the  news  and
  28.      reports this.
  29.  
  30.      _C_u_n_b_a_t_c_h is a historical synonym  for  _r_n_e_w_s;  there  is  no
  31.      difference in what they do.
  32.  
  33.      _N_e_w_s_s_p_o_o_l is the actual  spooling  program.   It  creates  a
  34.      spool  file  with  a  name  based on the current time (which
  35.      avoids the need  for  locking)  in  the  spooling  directory
  36.      /_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)
  37.      (standard input default) to it, stripping off  any  `####!!!! ccccuuuunnnn----
  38.      bbbbaaaattttcccchhhh'  or  `####!!!! cccc7777uuuunnnnbbbbaaaattttcccchhhh' header as it does so.  If invoked
  39.      with the ----iiii option, when finished it attempts to start _n_e_w_s_-
  40.      _r_u_n  to  process the new news immediately.  _R_n_e_w_s invokes it
  41.      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
  42.      exists.
  43.  
  44.      _N_e_w_s_r_u_n should be run periodically (e.g. by _c_r_o_n(8)) to pro-
  45.      cess   spooled  news.   _N_e_w_s_r_u_n_n_i_n_g  can  be  used  to  turn
  46.      _n_e_w_s_r_u_n's processing off and on if it is  desired  to  avoid
  47.      major  news  processing  during certain hours.  `nnnneeeewwwwssssrrrruuuunnnnnnnniiiinnnngggg
  48.      ooooffffffff' instructs any currently-running _n_e_w_s_r_u_n to stop as soon
  49.      as  possible,  and prevents later ones from running.  `nnnneeeewwwwssss----
  50.      rrrruuuunnnnnnnniiiinnnngggg oooonnnn' removes the inhibition (but  does  not  actually
  51.      start  a  new  _n_e_w_s_r_u_n).   Without  an argument, _n_e_w_s_r_u_n_n_i_n_g
  52.      reports the current status:  ``off'' or ``on''.
  53.  
  54.      _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
  55.      creates,  verifies  that there is enough disk space for pro-
  56.      cessing, and then  starts  processing  spooled  news.   Each
  57.      batch  is  run through _c_7_d_e_c_o_d_e (if necessary), de_c_o_m_p_r_e_s_sed
  58.      (if necessary), and then fed to _r_e_l_a_y_n_e_w_s (on the server, if
  59.      /_u_s_r/_l_i_b/_n_e_w_s/_s_e_r_v_e_r  exists  and  contains  its  name).  If
  60.  
  61.  
  62.  
  63. Sun Microsystems    Last change: 13 Dec 1990                    1
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. RNEWS(8)              MAINTENANCE COMMANDS               RNEWS(8)
  71.  
  72.  
  73.  
  74.      _r_e_l_a_y_n_e_w_s fails, _n_e_w_s_r_u_n reports this (by  mail  to  uuuusssseeeennnneeeetttt)
  75.      and  attempts to save the spooled batch in the _b_a_d subdirec-
  76.      tory for human inspection.  To bound the accumulation in _b_a_d
  77.      in  the event of some systematic problem, _n_e_w_s_r_u_n limits _b_a_d
  78.      to 50 files; this default can be changed by placing a  _l_i_m_i_t
  79.      file  in  _b_a_d,  containing  one  ASCII line with the desired
  80.      numeric limit.  A limit of 0  will  prevent  saving  of  bad
  81.      batches.
  82.  
  83.      _C_7_d_e_c_o_d_e passes standard input to standard output,  decoding
  84.      a  complex  and  bizarre encoding of 8-bit data as printable
  85.      ASCII characters.
  86.  
  87. FFFFIIIILLLLEEEESSSS
  88.      (All in /_u_s_r/_s_p_o_o_l/_n_e_w_s/_i_n._c_o_m_i_n_g)
  89.  
  90.      000000000 (etc.) spooled news
  91.      stop      _n_e_w_s_r_u_n disable file
  92.      bad       directory for failed news
  93.      bad/limit limit on number of files in _b_a_d
  94.  
  95. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  96.      compress(1), newsbatch(8), newsmail(8), relaynews(8)
  97.  
  98. DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
  99.      Complaints are mailed to uuuusssseeeennnneeeetttt if something goes wrong.
  100.  
  101. HHHHIIIISSSSTTTTOOOORRRRYYYY
  102.      Part of C News.  Written at University of Toronto  by  Henry
  103.      Spencer.
  104.  
  105. BBBBUUUUGGGGSSSS
  106.      _C_7_d_e_c_o_d_e should be part of the underlying transport  mechan-
  107.      ism.  It hasn't been tested very well in the C News environ-
  108.      ment.  _B_d_e_c_o_d_e (see _n_e_w_s_m_a_i_l(8)) is probably better for most
  109.      uses.
  110.  
  111.      _R_e_l_a_y_n_e_w_s is a bit too enthusiastic about declaring  batches
  112.      bad,  so  things  end up in _b_a_d for no terribly good reason.
  113.      Actually, it's rare for the  contents  of  _b_a_d  to  be  very
  114.      interesting.
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129. Sun Microsystems    Last change: 13 Dec 1990                    2
  130.  
  131.  
  132.  
  133.