📄 nntpsend.8
字号:
.TH NNTPSEND 8.SH NAMEnntpsend \- send Usenet articles to remote site.SH SYNOPSIS.B nntpsend[.B \-d][.B \-p][.B \-r][.B \-S][.BI \-s " size"][.BI \-t " timeout"][.BI \-T " timelimit"][.I sitename.I fqdn] ....SH DESCRIPTION.I Nntpsendis a front-end that invokes.IR innxmit (1)to send Usenet articles to a remote NNTP site..PPThe sites to be fed may be specified by giving.I sitename.I fqdnpairs on the command line.If no such pairs are given,.I nntpsenddefaults to the information given in the.IR nntpsend.ctl (5)config file..PPThe.I sitenameshould be the name of the site as specified in the.IR newsfeeds (5) file.The .I fqdn should be the hostname or IP address of the remote site..PPAn.I innxmitis launched for sites with queued news.All.I innxmitprocesses are spawned in the background and the script waits forthem all to finish before returning.Output is sent to the file.\" =()<.IR @<_PATH_MOST_LOGS>@/nntpsend.log .>()=.IR /var/spool/news/data/nntpsend.log .In order to keep from overwhelming the local system, .I nntpsendwaits five seconds before spawned each child.The flag ``\-a'' is always given as a flag to.IR innxmit ..PP.I Nntpsendexpects that the batchfile for a site is named.\" =()<.IR @<_PATH_BATCHDIR>@/sitename .>()=.IR /var/spool/news/out.going/sitename .To prevent batchfile corruption,.IR shlock (1)is used to ``lock'' these files..PPThe ``\-p'', ``\-r'', ``\-S'', ``-t'', and ``-T'' flags are passed on tothe child.I innxmitprogram.Note that if the ``\-p'' flag is used then no connection is made andno articles are fed to the remote site.It is useful to have.IR cron (8)invoke.I nntpsendwith this flag in case a site cannot be reached for an extended period of time..PPIf the ``\-s'' flag is used, then.IR shrinkfile (1)will be invoked to perform a tail truncation on the batchfile and the flagwill be passed to it..PPWhen.I sitename.I fqdnpairs are given on the command line, any flags given on the command completely describe how.I innxmitand.I shrinkfileoperate.When no such pairs are given on the command line, thenthe information found in.I nntpsend.ctlbecomes the default flags for that site.Any flags given on the command line override the default flagsfor the site..PPFor example, with the following control file:.RS.nfnsavax:erehwon.nsavax.gov::-S -t60group70:group70.org::walldrug:walldrug.com:1m:-T1800 -t300.fi.RE.PPThe command:.RSnntpsend.REwill result in the following:.RS.nf.ta \w'sitename 'u +\w'truncation 'uSitename Truncation Innxmit flagsnsavax (none) \-a \-S \-t60group70 (none) \-a \-t180walldrug 1m \-a \-T1800 \-t300.fi.RE.PPThe command:.RSnntpsend \-d \-T1200.REwill result in the following:.RS.nf.ta \w'sitename 'u +\w'truncation 'uSitename Truncation Innxmit flagsnsavax (none) \-a \-d \-S \-T1200 \-t60group70 (none) \-a \-d \-T1200 \-t180walldrug 1m \-a \-d \-T1200 \-t300.fi.RE.PPThe command:.RSnntpsend \-s 5m \-T1200 nsavax erehwon.nsavax.gov group70 group70.org.REwill result in the following:.RS.nf.ta \w'sitename 'u +\w'truncation 'uSitename Truncation Innxmit flagsnsavax 5m \-a \-T1200 \-t180group70 5m \-a \-T1200 \-t180.fi.RE.PPRemember that ``\-a'' is always given, and ``\-t'' defaults to 180..SH HISTORYWritten by Landon Curt Noll <chongo@toad.com>and Rich $alz <rsalz@uunet.uu.net> for InterNetNews..de R$This is revision \\$3, dated \\$4....R$ $Id: nntpsend.8,v 1.3 1992/08/14 20:37:08 rsalz Exp $.SH "SEE ALSO"innxmit(1), newsfeeds(5),nntpsend.ctl(5),shrinkfile(1).
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -