📄 readme
字号:
This is a "pseudo" inews which allows remote posting usingthe NNTP server. Essentially it takes a bunch of arguments and ignoresones starting with "-", expecting to find at least one which isa file name. If no files are specified, it uses standard inputas the input file.============================================================================ This release has been modified from the original to match the uudeview distribution. Some configuration options not needed in this context have been removed. The original, or what I consider to be the original, is packaged with the 'lynx' source code distribution. I also renamed the program 'minews' to distinguish it from the real inews. Most of the many changes in the source are tagged with __FP__. fp@informatik.uni-frankfurt.de============================================================================ It then opens a connection to the NNTP server on the remotemachine and blasts the article across. It then closes the connection.If it doesn't find a From: or Path: line, it inserts them, in thedefault format From: login@hostname.DOMAIN (Full_name) Path: hostname!loginwhere DOMAIN is a #define in ./conf.h, and should be changed to reflectyour system. A good choice is "UUCP" if you are not a member of theInternet. "Full_name" understands the & hack in password files. If"HIDDENNET" is defined in ./conf.h, DOMAIN is used as the complete hostname, and the format used is From: login@DOMAIN (Full_name) Path: login "hostname" is figured out by what you've #defined in ../config.h.If you have defined GHNAME, it uses the gethostname() call.If you've defined UUNAME, it figured it out from the file/etc/uucpname. Finally, if neither is defined it gets it from/usr/include/whoami.h. If you have GHNAME defined and yourgethostname() returns your fully-qualified Internet name,undefine DOMAIN. The point here is that the thing looks like inews to any programwhich would care to post something (e.g., Pnews, postnews, what haveyou). The difference is that the article will look like it was postedon the remote end, not on the local end. Please note that "postnews"(nor any of the other standard news programs) is not required forrrn/nntp on client machines. The "test*" files in this directory provide some good testmaterial for inews; you can just redirect inews to take input fromthem or whatever. Thanks to Steven Grady <grady@postgres.berkeley.edu> forwriting this, and for wasting a lot of his valuable time dealingwith the can-o'-worms that is the real inews.BUGS: This version of inews doesn't handle real inews options. Asa result, some posting programs (notably the Gnumacs front end) willfail if they use this program. In the interests of simplicity, Ihave no plans for modifying mini-inews to handle real-inews options.However, if you'd like to send me diffs I'll be more than happy toinstall them for the next release.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -