⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rnews.1

📁 早期freebsd实现
💻 1
字号:
.\" $Revision: 1.15 $.TH RNEWS 1.SH NAMErnews \- receive news from a UUCP connection.SH SYNOPSIS.B rnews[.BI \-h " host"][.B \-v][.B \-U][.BI \-S " master"][.I input].SH DESCRIPTION.I Rnewsreads messages sent by a downstream UUCP newsfeed andsends them to the local InterNetNews server.The message is read from the specified input file, or standard inputif no input is named..PPIf the ``\-S'' flag is used, then.I rnewswill connect to the specified host.If the flag is not used,.\" =()<.if '@<RNEWSLOCALCONNECT>@'DO' \{\>()=.if 'DO'DO' \{\it will try to connect to the server by opening a Unix-domain streamconnection.If that fails,\}it will try to open a TCP connection to the default remote server..PPIf the server is not available, the message is spooled into a new filecreated in the.\" =()<.I @<_PATH_SPOOLNEWS>@>()=.I /var/spool/news/spool/in.comingdirectory.The ``\-U'' flag may be used to send all spooled messages to theserver once it becomes available again, and can be invoked regularlyby.IR cron (8)..PPWhen sent over UUCP, Usenet articles are typically joined in a singlebatch to reduce the UUCP overhead.Batches can also be compressed, to reduce the communication time.If a message does not start with a number sign (``#'') and an exclamationpoint, then the entire input is taken as a single news article.If it does start with with those two characters, then the first line isread and interpreted as a batch command..PPIf the command is ``#! rnews nnn'' where.I nnnis a number, then the next.I nnnbytes (starting with the next line) are read as a news article..PPIf the command is ``#! cunbatch'' then the rest of input is fed to the.IR compress (1)program with the ``\-d'' flag to uncompress it, andthe output of this pipe is read as.IR rnews 'sinput.This is for historical compatibility \(em there is no program named.IR cunbatch .A compressed batch will start with a ``#! cunbatch'' line, then contain aseries of articles separated by ``#! rnews nnn'' lines..\" =()<.if '@<RNEWSPROGS>@'DO' \{\>()=.if 'DO'DO' \{\.PPIf the command is any other word, then.I rnewswill try to execute a program with that name in the directory.\" =()<.IR @<_PATH_RNEWSPROGS>@ .>()=.IR /usr/contrib/rnews .The batch will be fed into the program's standard input, and thestandard output will be read back as input into.IR rnews .\}.\" =()<.if '@<RNEWS_SAVE_BAD>@'DO' \{\>()=.if 'DONT'DO' \{\.PPIf.I rnewsdetects any problems with an article such as a missing header, oran unintelligible reply from the server, it will save a copy of the articlein the.\" =()<.I @<_PATH_BADNEWS>@>()=.I /var/spool/news/spool/in.coming/baddirectory.\}If the ``\-v'' flag is used, it will print a notice of all such errors on thestandard error, naming the input file (if known) and printing the firstfew characters of the input.Errors are always logged through.IR syslog (3)..PPIf the ``\-h'' flag is given, or failing that, theenviroment variable.\" =()<.I @<_ENV_UUCPHOST>@>()=.I UU_MACHINEis set, then.I rnewswill log the Message-ID, and host, for each article offeredto the server via.IR syslog (3).Logging will only be done if the value is not an empty string..SH BUGS.I Rnewscannot process articles that have embedded \e0's in them..SH HISTORYWritten by Rich $alz <rsalz@uunet.uu.net> for InterNetNews..de R$This is revision \\$3, dated \\$4....R$ $Id: rnews.1,v 1.15 1993/01/29 16:43:14 rsalz Exp $.SH "SEE ALSO"innd(8).

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -