


NNPOST(1)                                               NNPOST(1)


NNAAMMEE
       nnpost - post news articles (_n_n)

SSYYNNOOPPSSIISS
       nnnnppoosstt [ -ddkkssyy _s_t_r_i_n_g ] [ -ff _f_i_l_e ] [ -pp ] [ _g_r_o_u_p... ]

DDEESSCCRRIIPPTTIIOONN
       nnnnppoosstt  is  used  to  post  new articles using _n_n's normal
       interface, but without entering _n_n in reading mode.

       When started, it reads the _i_n_i_t  file  and  then  directly
       executes _n_n's ::ppoosstt command.

       It  will  prompt  for  a  (comma-separated)  list  of news
       groups, the article subject, a list of  keywords,  a  sum-
       mary,  and the distribution of the article.  Each of these
       prompts can also be supplied via command line  options  or
       arguments as described below.

       When  prompted  for  the "Newsgroup:", entering a ?? as the
       first key will cause _n_n_p_o_s_t to list  all  the  known  news
       groups  and  their  purpose (if this information is avail-
       able).  You can also enter // followed by a word or regular
       expression  which  will  cause  _n_n_p_o_s_t to produce a (much)
       shorter listing only  containing  the  groups  whose  name
       and/or purpose description matches the regular expression.
       When paging through either list, you can enter qq  to  quit
       the listing.

       If  a  source file is specified with --ff it will be used as
       the initial article body.  If the --pp option is also speci-
       fied, the article is posted directly without editing.

       _n_n_p_o_s_t can be used to do unattended postings if sufficient
       arguments are provided on the command line  to  build  the
       header  and  the  body of the article.  The required argu-
       ments are: one or  more  newsgroups,  a  subject  (--ss),  a
       source  file (--ff), a distribution (--dd), and the --pp option.
       Other fields which are not specified (e.g. keywords)  will
       not  be included in the header.  The contents of the _n_e_w_s_-
       _h_e_a_d_e_r variable in the init file will be included  in  the
       header.

OOPPTTIIOONNSS
       --dd _d_i_s_t_r_i_b_u_t_i_o_n
              Use the specified _d_i_s_t_r_i_b_u_t_i_o_n for the article.

       --kk "_k_e_y_w_o_r_d_s"
              Associate  the specified _k_e_y_w_o_r_d_s with the article.

       --ss "_s_u_b_j_e_c_t"
              Use the specified _s_u_b_j_e_c_t for the new article.





                           Release 6.4                          1





NNPOST(1)                                               NNPOST(1)


       --yy "_s_u_m_m_a_r_y"
              Include the given _s_u_m_m_a_r_y in the article header.

       --ff _f_i_l_e
              Read the article _b_o_d_y from the specified file.

       --pp     Post the article specified with --ff without editing.

FFIILLEESS
       ~/.nn/init   The control variables for _n_n_p_o_s_t.

SSEEEE AALLSSOO
       nn(1)

AAUUTTHHOORR
       Kim F. Storm, Texas Instruments A/S, Denmark
       E-mail: storm@texas.dk








































                           Release 6.4                          2


