home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / coherent / 4523 < prev    next >
Encoding:
Text File  |  1992-09-14  |  49.5 KB  |  1,452 lines

  1. Newsgroups: comp.os.coherent
  2. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!Sirius.dfn.de!Urmel.Informatik.RWTH-Aachen.DE!gandalf!michael
  3. From: michael@gandalf.moria (Michael Haardt)
  4. Subject: [documentation] wnews.1 -- wnews overwiew manual
  5. Message-ID: <9209141573@gandalf.moria>
  6. Keywords: wnews
  7. Lines: 1437
  8. Sender: news@Urmel.Informatik.RWTH-Aachen.DE (Newsfiles Owner)
  9. Nntp-Posting-Host: messua
  10. Reply-To: u31b3hs@pool.informatik.rwth-aachen.de (Michael Haardt)
  11. Organization: An old and gray machine, somewhere in Moria.
  12. Date: Mon, 14 Sep 92 23:07:18 +0100
  13. Lines: 1437
  14.  
  15. Ok ok ok before I get flooded with requests and questions, I will post 
  16. the general WNEWS 3.00 manual.  I really wonder why you don't have it
  17. already, but the questions I got seem to indicate that it is indeed
  18. missing, and the number of people who asked questions about wnews
  19. seems to justify the posting.  Note that the manual is not formattable
  20. with real nroff, only with that weird MINIX nroff thing, so better
  21. having the sources than a screwed up formatted copy.  A try can't hurt,
  22. because I don't know Coherent's nroff.
  23.  
  24. If you want to write an obsolete flame about wasting bandwidth ... don't 
  25. post.  It would be a waste of bandwidth too, and people will not even 
  26. archive your flame!
  27.  
  28. Michael
  29.  
  30. PS: Do I need to say that you can get the complete MINIX wnews version
  31.     from the well known MINIX archives?  I think that is obvious.
  32. -------------------------snip,snap -- FvKs good stuff-------------------------
  33. .\"
  34. .\"      MicroWalt Corporation/MINIX User Group Holland (NLMUG)
  35. .\"
  36. .\"                 W-NEWS NEWS Processing Package
  37. .\"
  38. .\"                      Fred N. van Kempen
  39. .\"
  40. .\"                  Version 3.00 - 03/30/91
  41. .\"
  42. .\"
  43. .\"     Format this document with the command "nroff -man name"
  44. .\"
  45. .\" Document-specific macros
  46.  
  47. .\" Indent a line.
  48. .de IN
  49. .ti +5
  50. .nf
  51. \fB\$1\fP
  52. .fi
  53. .br
  54. ..
  55.  
  56. .\" Define a chapter.
  57. .de CD
  58. .bp
  59. .sp 7
  60. .nr A +1
  61. .nr B 0 0
  62. .ce
  63. .nf
  64. \fB\nA.   $1\fP
  65. .fi
  66. .sp 3
  67. ..
  68.  
  69. .\" Define a section.
  70. .de HD
  71. .ne 5
  72. .sp 2
  73. .nr B +1
  74. .nf
  75. \fB\nA.\nB  $1\fP
  76. .fi
  77. .sp 1
  78. ..
  79.  
  80. .\" Document global settings
  81. .ll 72
  82. .in 8
  83. .nr A 0 0
  84. .nr B 0 0
  85.  
  86. .\" Title page
  87. .bp
  88. .sp 15
  89. .ce 5
  90. .B "MicroWalt Corporation/MINIX User Group Holland (NLMUG)"
  91. .sp 2
  92. .B "W-NEWS NEWS Processing Package"
  93. .sp 2
  94. .B "Fred N. van Kempen"
  95. .sp 2
  96. .B "Version 3.00 - 03/30/91"
  97. .sp 2
  98. .B "R E F E R E N C E    M A N U A L"
  99. .sp 2
  100. .sp 10
  101. .B ABSTRACT
  102. .br
  103. W-NEWS is a NEWS processing package which resembles the
  104. .B B-News
  105. package found on many UNIX systems. It was written especially for
  106. use with the MINIX operating system, but it will work on most other
  107. UNIX-like systems as well, since virtually no system-dependent code
  108. is used by the programs.
  109. .bp 1
  110. .\" Header and footer lines.
  111. .he "MicroWalt W-NEWS""Reference Manual
  112. .fo "Version 3.00(Beta)""Page %
  113.  
  114. .CD "I N T R O D U C T I O N"
  115. .B W-NEWS
  116. is a set of programs that can be used to process news articles,
  117. both incoming and outgoing.  This Reference Manual describes its
  118. bugs, shortcomings, workings and history.
  119.  
  120. .HD "THE OLD DAYS"
  121. I have been running
  122. .B UUCP
  123. on MINIX for some years now, and with success, as is known by
  124. many people. I wrote some application programs such as
  125. .B W-MAIL
  126. and
  127. .B U-MAIL
  128. that let me communicate with the rest of the world in a fairly
  129. convienient manner, and I am very pleased with it all.
  130. .sp 1
  131. However,
  132. .B NEWS
  133. access has always been a bother. My UUCP host did not have a news
  134. feed itself, and I got somewhat tired of dialing in on my former
  135. school to read news there. Finally, my account expired, and I was
  136. left with no news access at all...
  137. .sp 1
  138. Luckily, about half a year ago someone offered to send me articles
  139. from
  140. .B comp.os.minix
  141. by e-mail (note, that I did have a more-or-less reliable mail link),
  142. which I gratefully accepted. It worked fine, but it took me lots of
  143. time to process all incoming articles. Also, a newsreader was not
  144. present...
  145. .sp 1
  146. So, to ease the reading of those articles, I ported the
  147. .B vn
  148. newsreader (posted by Tony Andrews) to MINIX, with only little
  149. effort. This cured only part of the problem, since I still had to
  150. insert the incoming articles into the NEWS spool directory...
  151. .sp 1
  152. About three months later, I got a "normal" UUCP link, and the system
  153. manager of that host offered to send me comp.os.minix as
  154. .B "batches"
  155. of articles. I didn't have a clue as to what those things were, but
  156. I told the guy to send 'em anyway...
  157. .sp 1
  158. While experimenting with the incoming data, I gradually found out
  159. what a news batch was, and how it was constructed. I wrote two
  160. little programs (
  161. .B rnews
  162. and
  163. .B newsrun
  164. ) that allowed me to automatically process incoming articles.
  165. .sp 1
  166. The first stripped off this funny-looking
  167. .sp 1
  168. .IN "#! cunbatch"
  169. .sp 1
  170. header, fed the remainder through compress(1) and stored the result
  171. in a spool directory for later processing by
  172. .B newsrun
  173. , which was started daily by cron(1). Newsrun unpacked the decompressed
  174. batches, and stuffed all articles into the
  175. .B /usr/spool/news/comp/os/minix
  176. directory, just like vn wanted it. It also maintained an
  177. .B active
  178. file, because vn wanted it to exist. This worked well enough to keep
  179. me satisfied until I set up the
  180. .B MUGNET
  181. network.
  182.  
  183. .HD "MUGNET and B NEWS"
  184. A network backbone needs much more robust software than the little
  185. package I wrote, and this I realized very quickly after starting up.
  186. My package could only handle one group (it stored all incoming articles
  187. in one directory!), and posting news was impossible (besides mailing it
  188. to some relay system).
  189. .sp 1
  190. So, since we now had to handle news groups from lots of hosts, plus a
  191. number of MUGNET groups, I had to use a package smarter than my own.
  192. I dislike
  193. .B "C News"
  194. because it depends on shell scripts too much (which is
  195. .B "very slow"
  196. on MINIX !!!). Therefore, I finished the 'cleanup' of the MINIX-port
  197. of the
  198. .B "B News 2.11"
  199. software that Peter Housel sent me, and I started using that on the
  200. MUGNET-Europe backbone.
  201. .sp 1
  202. However, although my machine is large enough to run 'B', many small
  203. MINIX systems around me (in MUGNET) cannot handle such a beast. We
  204. just needed a simple version of the 'B' software which does not try
  205. to do it all, since many of the special features offered by large
  206. packages like 'B' use either special UNIX-ish tricks to get things
  207. working, or they can be lived without (for example, the support for
  208. old-style news articles).
  209.  
  210. .HD W-NEWS
  211. All of this lead to me starting a major rewrite of my old NEWS package,
  212. under the name of
  213. .B W-NEWS
  214. (what else? :-). Since I like the way 'B' handles things, I decided to
  215. try and give W-NEWS as much of the 'B' look as possible. It now consists
  216. of the following modules:
  217. .sp 1
  218. .IN "rnews     - handle incoming articles and batches"
  219. .IN "unbatch   - process spooled news"
  220. .IN "inews     - the main article relayer"
  221. .IN "control   - implementation of control messages"
  222. .IN "sendbatch - create batches of articles for transport"
  223. .IN "expire    - remote old articles from the system"
  224. .IN "pnews     - post a news article"
  225. .IN "checknews - check if any new articles have arrived"
  226. .sp 1
  227. As can be seen, it is a fairly complete system. Incoming articles or
  228. batches of articles are moved to a NEWS spool directory by the
  229. .B rnews
  230. program for later processing (cron!) by
  231. .B unbatch
  232. (also callable as
  233. .B "rnews -U"
  234. ). Unbatch calls
  235. .B inews
  236. for each article to be posted locally. The latter also takes care
  237. of the forwarding (relaying) to other systems connected to the host,
  238. which is required for backbone operation. Inews is also called by the
  239. .B pnews
  240. news posting program (a derivative of the
  241. .B W-MAIL
  242. Message Editor) for the actual posting (both local and remote) of the
  243. article. Posting is achieved by putting a copy (well, actually a link,
  244. since each article is put on disk only once; all other copies in other
  245. news groups are links) in the desired subdirectory of the NEWS spool
  246. space. For any article forwarded to a certain remote host, a line
  247. containing the full pathname of the article is added to a text file in
  248. the
  249. .B /usr/spool/batch
  250. directory. The
  251. .B sendbatch
  252. program (which should be executed at least daily by cron) creates
  253. batches (optionally compressed) from these outgoing articles, ready
  254. for transmission with a network protocol, usually UUCP.
  255. So, the batches end up in the UUCP spool directory for transmission
  256. to the remote system.
  257. .sp 1
  258. This setup allows you to both receive (with
  259. .B vn
  260. ) and post (with
  261. .B pnews
  262. ) news articles, for multiple news groups the same way 'B' does it.
  263. .sp 1
  264. For a newsreader, I recommend the
  265. .B vn
  266. program, or, if you don't like using full-screen software, the
  267. .B rna
  268. (also called
  269. .B readnews
  270. )
  271. program. These are both available from the NLMUG Archive Service. There
  272. will be a simplified version of the vn program in the W-NEWS package in
  273. the future.
  274. .sp 1
  275.  
  276. .HD "OUTLINE OF THE REST"
  277. The rest of this document will describe all the modules of the W-NEWS
  278. system, one per section.  Following that, a description of all files
  279. used is presented.
  280.  
  281. .CD "M O D U L E S"
  282. This chapter describes the inner workings of the various programs
  283. (modules) of the W-NEWS system.  It does not, however, tell you how
  284. to invoke the programs.  See the respective manual pages for that
  285. information.
  286. .HD rnews
  287. Usenet (UUCP protocol) or Internet (TCP/IP protocol).  They come
  288. in as simple datafiles.  When these datafile are ready to be
  289. processed by the NEWS system, the networking software calls the
  290. .B rnews
  291. program to take care of processing the newly received data. In
  292. many case, however, it is at least undesirable to have the system
  293. process the data right away, since this processing may cause the
  294. system to be slowed down quit a bit.  Therefore, this program only
  295. moves the datafiles to a spool directory of the NEWS system.  By
  296. default, this is the
  297. .B /usr/spool/news/.rnews
  298. directory, and the filename of the datafile will be something like
  299. .sp 1
  300. .IN "yymmddhhmmXXXX"
  301. .sp 1
  302. with
  303. .B yy
  304. being the year (minus 1900),
  305. .B mm
  306. the month (01 is January),
  307. .B dd
  308. being the day of the month (1-based), and
  309. .B hh
  310. and
  311. .B mm
  312. being the time in hours and seconds respecively.  The last four
  313. characters of the name are the process ID of the rnews program
  314. in hexadecimal (to make them fit in 14 characters total).
  315. .sp 1
  316. This file will later be processed by the
  317. .B unbatch
  318. program.
  319. .sp 1
  320. After the file has been queued, rnews exits.  See the manual page
  321. for
  322. .B rnews(8)
  323. for more details on how to invoke this program.
  324. .HD unbatch
  325. At regular time intervals, the system should start the
  326. .B unbatch
  327. program, to process the news that came in that day.
  328. .sp 1
  329. The first thing unbatch does is check if there is already a copy of
  330. it running on the system.  This is indicated by the presence of the
  331. lock file called
  332. .B .unblock
  333. in the news LIBDIR (usually
  334. .B /usr/lib/news
  335. ).  If it exists, unbatch simply exits.  If the lock file does not
  336. yet exist, unbatch creates it, to indicate that there is now a copy
  337. of unbatch running.
  338. .sp 1
  339. Incoming news can be in either one of three forms:
  340. .sp 1
  341. .IN "1. Regular articles."
  342. .IN "2. Batches of articles."
  343. .IN "3. Compressed batches of articles."
  344. .sp 1
  345. All of these are expected to be in the "incoming" spool directory
  346. of the NEWS system, usually this is the
  347. .B /usr/spool/news/.rnews
  348. directory.  When this program is invoked, it will search the directory
  349. named above for files, which it then processes one at a time.
  350. .sp 1
  351. Each file is first opened.  Then, unbatch will read the first line of
  352. text from the file (up to 128 characters in length) to determine the
  353. type of this file.  The folllowing rules apply:
  354. .sp 1
  355. .B "COMPRESSED BATCHES"
  356. are files with a line of
  357. .sp 1
  358. .IN "#! cunbatch"
  359. .sp 1
  360. as their header.
  361. .sp 1
  362. .B "BATCHES"
  363. are files with the text
  364. .sp 1
  365. .IN "#! rnews NNNNN"
  366. .sp 1
  367. as their header.
  368. .sp 1
  369. .B "ARTICLES"
  370. are all other files.
  371. .sp 1
  372. First of all, unbatch checks if the file is compressed.  If so, it
  373. executes a command line of the form:
  374. .sp 1
  375. .IN "/usr/bin/compress -d"
  376. .sp 1
  377. with the standard input being the current input file, and with the
  378. output being a temporary file in the
  379. .B /tmp
  380. directory.  After successful decompression (indicated by an exit
  381. status of 0), unbatch closes the current file, and opens the newly
  382. created temporary file as the current input file.
  383. .sp 1
  384. At this point, it can either expect to get a batch of concatenated
  385. articles, or a plain, single article.  To see what type of file it
  386. has currently open, it continues the check with comparing the first
  387. 9 characters of the line with the text:
  388. .sp 1
  389. .IN "#! rnews "
  390. .sp 1
  391. since this indicates the start of an article in a batch file.
  392. .sp 1
  393. Unbatch now goes into a loop, extracting all articles in the current
  394. open file and posting them by calling the
  395. .B inews
  396. program repeatedly.  It does this by copying each article into a
  397. temporary file, and then issue a command like:
  398. .sp 1
  399. .IN "/usr/lib/news/inews -h"
  400. .sp 1
  401. with standard input being the temporary file containing the article.
  402. The inews program then takes care of the actual posting of the
  403. article.
  404. .sp 1
  405. When a file has been completely processed, it will be removed if no
  406. errors occurred during the unpacking.  Otherwise, it will be moved
  407. to the parent directory, to allow the system administrator to unpack
  408. it manually.
  409. .sp 1
  410. When all files in the directory have been processed in this manner
  411. (relax; this may take some time... :-) the lock file is removed and
  412. unbatch exits.  See the manual pages of
  413. .B unbatch(8)
  414. and
  415. .B rnews(8)
  416. for more details on how to invoke unbatch.
  417. .HD inews
  418. .B Inews
  419. is the heart of the NEWS system.  It receives articles from the
  420. unbatching program for local posting (and possibly forwarding to
  421. other systems), and it receives articles that are generated by
  422. news composing programs like
  423. .B pnews
  424. or news readers like
  425. .B vn
  426. when a followup is created.
  427. .sp 1
  428. When inews is started, it reads the article's header (as far as one
  429. exists) into memory.  The rest of the article is copied into a
  430. temporary file in the
  431. .B /tmp
  432. directory.  Now, inews checks if it has to generate a message header
  433. (which is the case if the article was generated locally), or if it
  434. only has to update the information in the header it just read into
  435. memory (which is the case when unbatch calls inews with an article).
  436. A message header usually has the following fields in it:
  437. .sp 1
  438. .nf
  439.   * Path:
  440.   * From:
  441.   * Sender:
  442.     Reply-To:
  443.     Followup-To:
  444.   * Newsgroups:
  445.     Distribution:
  446.     Control:
  447.   * Subject:
  448.     Keywords:
  449.     Summary:
  450.     References:
  451.   * Message-ID:
  452.     Organization:
  453.     Department:
  454.   * Date:
  455.     Expires:
  456.     Approved:
  457.     Lines:
  458. .fi
  459. .sp 1
  460. All fields marked with an asterisk (*) are mandatory.  The other
  461. fields need not be present, although they frequently are.  Some
  462. fields (From, Sender, Reply-To, Subject, Message-ID, Organization,
  463. Date) have the same meaning as in e-mail message headers.  The rest
  464. are special to the NEWS system.
  465. .sp 1
  466. As soon as inews finishes updating the article header, it creates
  467. a complete article (comprised of the new article header plus the
  468. article body) in a file in the NEWS main spool directory (usually
  469. this is
  470. .B /usr/spool/news
  471. ).  Now, a note is written to the NEWS system log file about the
  472. arrival of this article.  If resource accounting has been enabled,
  473. inews will also write a record about the arrival to the NEWS
  474. accounting file, after which the temporary file in /tmp is deleted.
  475. .sp 1
  476. Inews will now check the system's
  477. .B sys
  478. file to see if the local system is interested in this article.  If
  479. it is not, the system will try to put the article in a news group called
  480. .B junk
  481. , which is used to dump all unwanted articles in.  Then, it checks
  482. to see if the directory for this news group exists, since it has to
  483. be put somewhere.  If no directory exists, inews will change the
  484. news group name to
  485. .B junk
  486. again.
  487. .sp 1
  488. If the
  489. .B HISTORY
  490. mechanism was enabled at compile time, inews will now check its
  491. history database to see of this article has already been received
  492. before (which is, in theory, possible if a system has more than one
  493. news feed).  If it already got it before, it will write a message to
  494. this effect in the log file, and stop the delivery. Otherwise, a
  495. record for this article will be added to the history database.
  496. .sp 1
  497. Inews then scans through the system's
  498. .B active
  499. file, to see which sequence number the article will get.  If the
  500. news group cannot be found in this file, inews will try to use
  501. the junk group again, to prevent the article from getting lost.
  502. .sp 1
  503. Inews now locks the active file, and increases the number of the
  504. next available article.  Finally, the article's temporary copy
  505. is linked to a file with a name identical to the ASCII representation
  506. of the sequence number for this article.  So, when using a news
  507. group of
  508. .B comp.os.minix
  509. , we get a total path name of:
  510. .sp 1
  511. .IN "/usr/spool/news/comp/os/minix/NNNNN"
  512. .sp 1
  513. with
  514. .B NNNNN
  515. being the number of the article in that news group.  This naming
  516. scheme allows for up to 65535 articles per news group, without the
  517. physical need for expiration of articles.  Larger NEWS installations
  518. use a 10-digit number instead of the usual 5-digit number.
  519. .sp
  520. This process of linking the temporary copy of the article to files
  521. in the spool directories of the various news groups is repeated for
  522. all news groups in the
  523. .B Newsgroups:
  524. field of the article.  Thus, only one copy of the article is on the
  525. disks; the rest of all occurrences are links to the same article
  526. to save disk space.
  527. .sp 1
  528. .B NOTE:
  529. this requires all directories to be on the same disk!
  530. .sp 1
  531. Finally, inews will check the
  532. .B sys
  533. file to see if it has to send this article to other systems as well
  534. (this is called
  535. .B relaying
  536. of news articles).  If so, it will send the article to the remote system
  537. as described in the
  538. .B FILES
  539. chapter under section
  540. .B sys
  541. , since this can be set on a per-system basis.
  542. .sp 1
  543. Again, a note is written to the system log file telling to which systems
  544. the article has been relayed.  Also, if resource accounting is enabled,
  545. a record is written about the relaying of this article.
  546. .sp 1
  547. Inews now has successfully posted the incoming article to the local
  548. system, and to any systems that were interested in the article.  It
  549. will remove all temporary files, and exit.
  550. .sp 1
  551. For more information on how to invoke the inews program, see the
  552. .B inews(8)
  553. manual page.
  554. .HD control
  555. This program implements the various types of
  556. .B "control messages"
  557. that can be sent out using the NEWS system.  Typically, these
  558. messages are used to add and/or remove news groups, and to
  559. cancel previously sent articles.  Since most of these messages
  560. share a fair amount of code, it was implemented as a single
  561. program with a link for each of the available functions.
  562. .sp 1
  563. A control message is a news article with a special field in the
  564. message header (named
  565. .B Control:
  566. ), which can be used to tell other NEWS-running systems to perform
  567. certain management-operations like creating or deleting a newsgroup,
  568. or cancelling a message that was previously sent.
  569. .sp 1
  570. For example, the system administrator of a network may decide to
  571. create a new newsgroup on the network.  He (or she) then posts a
  572. control message, which looks something like:
  573. .sp 1
  574. .nf
  575.  Path: minixug!mugadm
  576.  From: mugadm@minixug.mugnet.org (MUGNET Administrator)
  577.  Newsgroups: mugnet.gov
  578.  Distribution: world
  579.  Control: newgroup mugnet.questions
  580.  Subject: newgroup mugnet.questions
  581.  Date: Thu, 28 Feb 91 17:45:00 GMT +0100
  582.  Approved: mugadm@minixug.mugnet.org (MUGNET Administrator)
  583.  Lines: 1
  584.  
  585.  This news group is for questions from novice users on MUGNET.
  586. .fi
  587. .sp 1
  588. The meaning of this article is clear.  A new newsgroup is to be
  589. created, named
  590. .B mugnet.questions
  591. , with its description being the first line of the message body.
  592. The message will go to all systems receiving the news group called
  593. .B mugnet.gov
  594. (which is the "official announcements" group on MUGNET, received
  595. by all hosts on it), and the message will have a geographical
  596. distribution of
  597. .B world
  598. (it is possible to only create such a group in a limited distribution,
  599. by specifying the desired distribution).
  600. .sp 1
  601. This message causes the named news group to be created on all systems
  602. receiving the message.  This includes the addition of a line to the
  603. system's
  604. .B active
  605. and
  606. .B newsgroups
  607. files, and the creation of an empty spool directory for the news group.
  608. .sp 1
  609. On receipt of an article with the "Control" field present, inews assumes
  610. that it is a control message.  It then takes the first word of the
  611. field, and uses that as name of a program to run (in our example, it
  612. would try to run the command
  613. .B newgroup
  614. in the system's LIBDIR (
  615. .B /usr/lib/news
  616. ) directory).  The program gets the article as its standard input,
  617. since certain control messages use the text in the message body as
  618. well.
  619. .sp 1
  620. The result of the control message will be mailed to the NEWS system
  621. administrator, together with the contents of the message.  Alternatively,
  622. it is possible to mail the entire control message to the administrator
  623. without executing it, if it is not desired that control messages are
  624. executed automatically.  The administrator can then execute message if
  625. he or she desires to.
  626. .sp 1
  627. For more details on how to create and execute control messages, see the
  628. .B control(8)
  629. manual page.
  630. .HD sendbatch
  631. The news batches are generated by scanning the
  632. .B /usr/spool/batch
  633. directory for files that are kept for all systems connected to
  634. this host, one file per host (usually with the same name as the
  635. host). These files contain the names of any articles that need
  636. to be sent to that system. All these articles are then concatenated
  637. together, prefixing them with the
  638. .sp 1
  639. .IN "#! rnews NNNN"
  640. .sp 1
  641. header line. In this header,
  642. .B NNNN
  643. is the number of bytes (characters) in the article. Articles are
  644. added to the current batch as long as they still fit in it (which
  645. can be set either manually at the time of batching or by default
  646. at compile-time). As soon as a batch is complete, it is closed and
  647. sent to the UUCP system, possibly via the
  648. .B compress(1)
  649. program. This compression of the batch is indicated by the extra
  650. .sp 1
  651. .IN "#! cunbatch"
  652. .sp 1
  653. header line.  The batch is sent to the UUCP system by issuing a
  654. command like:
  655. .sp 1
  656. .IN "/usr/bin/uux -r -gd - system_name!rnews < batch_file_name"
  657. .sp 1
  658. which means, that the
  659. .B uxx(1C)
  660. program is run, with the newly generated batch file as its input.
  661. The
  662. .B -r
  663. flag specifies that the job should be queued rather than to call
  664. the system
  665. .B system_name
  666. at once.
  667. .sp 1
  668. After having sent the batch file, a new file is created, and the
  669. process of batching all articles continues.
  670. .sp 1
  671. When no more articles are remaining, the current batch is closed,
  672. and sent to UUCP if it has at least ore article in it, to prevent
  673. UUCP from creating empty jobs. After having sent the last batch file,
  674. it removes the lock file and exits.
  675. .sp 1
  676. See the manual page of the
  677. .B unbatch(8)
  678. program for more details on how to invoke this program.
  679. .HD expire
  680. Systems that receive articles via the NEWS system often find that
  681. this can mean a substantial load on the disks, both in terms of
  682. required space and use.  Especially the amount of disk space
  683. required to store incoming and outgoing articles is something of
  684. a problem to system administrators, since many news packages (
  685. W-NEWS included) have no way of controlling the amount of space
  686. used by the NEWS system.  The software just uses disk space until
  687. the disks are full...
  688. .sp 1
  689. On the other hand, it is a waste of disk space to keep articles
  690. online forever, since most of them will not be of lasting importance.
  691. It is said that most articles have a certain
  692. .B "expiration date"
  693. , much like certain news bulletins.  This means, that articles can
  694. be removed from the system's disks after this date, either to an
  695. archiving subsystem (for later retrieval of the articles) or to
  696. the Great Bit Bucket.
  697. .sp 1
  698. The
  699. .B expire
  700. program is taking care of expiring these old articles from the system
  701. disks.  It has numerous command line options to tell it what to do
  702. with old articles, and it can be told how to determine the age of an
  703. article.
  704. .sp 1
  705. The basic strategy of this program is to simply walk through all news
  706. spool directories, and have a look at the articles in those directories.
  707. For each article, it will determine its age (in days), and it will then
  708. decide if the article should be expired.  If it has to be, it can do
  709. one out of three things:
  710. .sp 1
  711. .IN "1. Remove the article from the system"
  712. .IN "2. Move the article to a different disk"
  713. .IN "3. Archive the article and then remove it"
  714. .sp 1
  715. If the system's NEWS host already archives news articles, it is the
  716. easiest to either remove the article, or to move it into another part
  717. of the system's file system (often in the directory called
  718. .B /usr/spool/oldnews
  719. ).
  720. .sp 1
  721. However, it may also be useful to archive the articles in certain
  722. news groups (for example, source postings and such).  Expire can do
  723. this as well, it can be told which archiving program to use in that
  724. case.
  725. .sp 1
  726. After the entire tree of spool directories has been processed, expire
  727. locks the system's
  728. .B active
  729. file and updates it.  This means, that the second set of digits in the
  730. file contain the number of the first article in that news group that
  731. has not yet been expired.  The news readers can use this number to
  732. see which is the first article actually available in the news group.
  733. After the updating is done, the lock is removed and expire exits.
  734. .sp 1
  735. Since expiring articles is a fair load on the system, it is advised
  736. to only expire at times when the system is not doing much other work.
  737. It also prevents the clashing of users ready news while expire is
  738. removing articles from the system.
  739. .sp 1
  740. A note about the removal of an article is written to the NEWS system's
  741. log file, to allow the system administrator to trace the entire life
  742. of an article, from the moment it came in until and including its
  743. expiration.
  744. .sp 1
  745. For more details on how to use this program, see the manual page for
  746. the
  747. .B expire(8)
  748. program.
  749. .HD pnews
  750. Posting news is done by presenting the contents of the news article
  751. as input to the
  752. .B inews
  753. program.  However, it requires a fair deal of knowledge about the
  754. inews program (and of the NEWS system as a whole) to be able to post
  755. news articles this way.  Therefore, any news system usually provides
  756. one or more programs that can generate, read and often reply to news
  757. articles.  These programs usually are (more or less :-) user-friendly,
  758. and the users are often allowed to invoke their favourite text editor
  759. to create the actual article text.
  760. .sp 1
  761. .B Pnews
  762. is such a user-friendly news-creating program.  It uses a message
  763. composing editor similar to the one found in the
  764. .B W-MAIL
  765. mailer program, which, in turn,  is very similar to the UNIX-standard
  766. .B mailx
  767. program.  Thus, users who are at some level familiar with the use
  768. of one of the programs named above will have little difficulty in
  769. posting news articles with this program.
  770. .sp 1
  771. See the manual page for
  772. .B pnews(1)
  773. for more details on how to use this program.
  774. .HD checknews
  775. The
  776. .B NEWS
  777. system maintains a file in which the actual number of articles per
  778. news group are stored: the
  779. .B active
  780. file.  Most news-reading programs also maintain a file called
  781. .B .newsrc
  782. for each user, which holds the numbers of the articles that have been
  783. read by the user, to prevent the user from having to read through ALL
  784. news each time.
  785. .sp 1
  786. This program simply compares the system's active file with  the
  787. contents of the .newsrc file of the calling user.  If it detects that
  788. new articles have arrived since the last time the user's .newsrc file
  789. was modified, it will print a message to this effect.  Alternatively,
  790. it may be told to only say something when there is NO news waiting to
  791. be read.  With use of some command-line arguments, the user can also
  792. select a set of news groups to be checked.
  793. .sp 1
  794. See the manual page of the
  795. .B checknews(1)
  796. program for more details on how to invoke this program.
  797.  
  798. .CD "F I L E S"
  799. This chapter describes the format and use of the various files used
  800. by the NEWS system.  Most of these files are either compatible with
  801. their counterparts on UNIX systems (sys, active), or they are unique
  802. to W-NEWS (i.e. the accouting files).
  803.  
  804. .HD "active"
  805. The system's
  806. .B /usr/lin/news/active
  807. file holds the status of each news group that is active on the system.
  808. It is an ASCII text file with each line describing exactly one news
  809. group.  The line format is:
  810. .sp 1
  811. .IN "NAME<SPACE>XXXXX<SPACE>YYYYY<SPACE>MODE"
  812. .sp 1
  813. with
  814. .B NAME
  815. being the name of the news group,
  816. .B XXXXX
  817. being the 5-digit, zero-prefixed ASCII representation of the number of
  818. the article most recently received,
  819. .B YYYYY
  820. the number of the first article that has not yet been expired, and,
  821. finally,
  822. .B MODE
  823. is a single character describing the status of the news group.  It can
  824. be either one of:
  825. .sp 1
  826. .IN "y - users may post to this news group"
  827. .sp 1
  828. .IN "n - users cannot post to this group"
  829. .sp 1
  830. .IN "m - this is a moderated news group"
  831. .sp 1
  832. The first two modes are self-explanatory.  However, the third mode (the
  833. .B moderated
  834. news group mode) deserves an explanation.
  835. .sp 1
  836. In some news groups (like official network management bulletins) it is
  837. often undesirable to have the network users post articles to that news
  838. group.  However, it is also a hassle to keep changing the status from
  839. .B n
  840. to
  841. .B y
  842. each time an official announcement is posted.  So, the original implementors
  843. of the NEWS system thought of the
  844. .B moderator-concept
  845. , which means, that there is only one person that can acually post articles
  846. to the news group (this person is called the
  847. .B moderator
  848. of this group). To the moderator, it looks like any other non-moderated
  849. news group.
  850. .sp 1
  851. However, when "ordinairy" people post an article to this news group, the
  852. NEWS system ultimately finds out that it is a moderated group, and it then
  853. uses a trick to get it posted...
  854. .sp 1
  855. The trick is, that the article is sent to the moderator of the news group
  856. by
  857. .B e-mail
  858. , thus allowing the moderator to first have a look at the article before he
  859. or she actually posts it.  To get this done, all major network backbones in
  860. the world maintain a list of
  861. .B aliases
  862. , which describe the moderators for the moderated news groups.
  863. .sp 1
  864. For example, suppose there is a moderated group called
  865. .B net.security
  866. , with the moderator being
  867. .B "Jack Safe <jack@work.com>"
  868. (which is his e-mail address at work).  The major network backbones know
  869. this, since their e-mail alias database lists the following entry:
  870. .sp 1
  871. .IN "net-security  jack@work.com (Jack Safe)"
  872. .sp 1
  873. or something to that effect.  So, to post an article on this news group,
  874. a NEWS system only has to send the article as e-mail to the address:
  875. .sp 1
  876. .IN "net-security@my_nearest_backbone"
  877. .sp 1
  878. and the article gets delivered.  By now, it should be clear that the
  879. alias of the moderator is identical to the name of the news group, with
  880. all dots changed to dashes.
  881. .sp 1
  882. .B
  883. Note
  884. : this feature has
  885. .B not
  886. yet been implemented in W-NEWS!
  887. .sp 1
  888. To make the updaing of the active file as fast as possible (it is usually
  889. quite large, containing most if not all of the news groups available
  890. world-wide!), the file's contents are updated
  891. .B "in place"
  892. , which means that the file is not rewritten each time, but the programs
  893. simply modify some bytes in it.  This is why the numbers have a fixed size
  894. of 5 digits (also 10 digits in larger NEWS installations), with the numbers
  895. being zero-prefixed.  See the comments in the NEWS software sources for
  896. more comments on this.  You may have to tweak the system to be able to
  897. get this updating to work properly!
  898. .sp 1
  899. A sample active file might look like this:
  900. .sp 1
  901. .nf
  902.  mugnet.gov 00034 00030 y
  903.  mugnet.maps 00006 00005 y
  904.  mugnet.newgroups 00003 00003 y
  905.  mugnet.sources 00048 00000 y
  906.  mugnet.sources.d 00026 00019 y
  907.  mugnet.talk 00124 00089 y
  908.  mugnet.test 00158 00146 y
  909. .fi
  910. .sp 1
  911. Again, note that this file usually is
  912. .B "a lot"
  913. larger than the example!
  914. .sp 1
  915. Also, in the example, the
  916. .B mugnet.gov
  917. news group (for MUGNET Network Announcements, see below) is an
  918. example of a news group that
  919. .B should
  920. be moderated.  However, since the W-NEWS package does not yet
  921. know about moderated groups, it is set to "postable" for now...
  922.  
  923. .HD "sys"
  924. The
  925. .B /usr/lib/news/sys
  926. file is one of the most important files in the NEWS system.  It
  927. defines the names (and/or classes) of the news groups in which
  928. the local system is interested, and it defines to which distribution
  929. codes the system belongs.  Also, it defines the systems that are
  930. connected to the local system, exchanging NEWS articles.
  931. .sp 1
  932. As most files in the NEWS system, sys is a simple ASCII text file,
  933. with one line describing exactly one system.  The first line
  934. .B MUST
  935. be the line for the local system (this is not a feature, it is a
  936. true bug- for simplicity).  The line format is defined as follows:
  937. .sp 1
  938. .IN "sysname:distributions,subscriptions:transport:filename"
  939. .sp 1
  940. In this format, there are four fields, separated from each other by
  941. colons.  The first field contains the UUCP name of the system to be
  942. defined.  It
  943. .B MAY
  944. be the text
  945. .B ME
  946. to indicate (in a portable manner) that this entry is for the local
  947. system.  The third field describes how this system wants to receive
  948. the articles, since not all systems can do it using the same protocol.
  949. The field contains a single-character transport code, which can be one
  950. of the following:
  951. .sp 1
  952. .IN "B - use B News article format"
  953. .sp 1
  954. .IN "F - use batches of 'B' formatted articles"
  955. .sp 1
  956. .IN "X - use a special program to deliver"
  957. .sp 1
  958. The default (i.e. no code at all- an empty field) is the same as
  959. .B B
  960. , since that is the most often used format of articles.  Note, that
  961. W-NEWS does
  962. .B NOT
  963. support the old
  964. .B "A News"
  965. formatted articles.  If the 'B' format is selected, then the fourth
  966. field is neither used nor checked.  The article is sent to the
  967. system via the UUCP system
  968. .B uux(1C)
  969. command at once.  The UUCP system then decides if the call should
  970. be made at once or not.
  971. .sp 1
  972. If the
  973. .B F
  974. code is selected, the article will be added to the list of articles
  975. that have to be sent to that system.  The name of this list file is
  976. expected to be in the fourth field, and defaults to:
  977. .sp 1
  978. .IN "/usr/spool/batch/sysname"
  979. .sp 1
  980. if no name is presented there.  See the chapters on the
  981. .B sendbatch(8)
  982. and
  983. .B unbatch(8)
  984. programs for more details on how a batch of articles is created.
  985. .sp 1
  986. Finally, the
  987. .B X
  988. code can be used to specify the path name of the special program to
  989. be used for the delivery.  This is mostly useful for sending articles
  990. to an automated archiving system, like in the example file below.
  991. The complete path name plus the arguments to the program are expected
  992. to be in the fourth field.
  993. .sp 1
  994. A sample sys file might look like this:
  995. .sp 1
  996. .nf
  997.  ME:world,nl,mugnet,news,comp,!rec,!soc,!sci:F:
  998.  minixug:world,nl,mugnet,all.all:F:
  999.  archive:world,nl,mugnet.sources:X:/usr/ucb/archive -I
  1000. .fi
  1001. .sp 1
  1002. Now, what is this silly stuff in the second field about?  It looks
  1003. rather odd, eh?
  1004. .sp 1
  1005. Well, the second field is called the
  1006. .B "subscribtion list"
  1007. of that system.  It also contains the code of the distributions to
  1008. which that systems belongs.  All subfields in this field are separated
  1009. by commas, as can be seen above.
  1010. .sp 1
  1011. Usually, the field starts with the list of distribution code.  Then,
  1012. all news group classes (i.e. names without dots- see below), possibly
  1013. followed by a number of selected news groups.
  1014. .sp 1
  1015. The NEWS system uses a
  1016. .B wildcarding
  1017. scheme that is somewhat similar to the use of the asterisk (*) in the
  1018. standard UNIX shell.  Instead of the asterisk, the term
  1019. .B all
  1020. (or simply no term at all) is used as a wildcard.  So, the text:
  1021. .sp 1
  1022. .IN "world,comp,soc.culture.all,sci.all"
  1023. .sp 1
  1024. means: all groups below the
  1025. .B comp
  1026. class (in shell notation: comp.*), plus all groups below the
  1027. .B soc.culture
  1028. and
  1029. .B sci
  1030. level.  This scheme allows one to subscribe to a large number of news
  1031. groups without the need for enourmous subscription lists.
  1032. .sp 1
  1033. However, one has to be able to tell the system that only
  1034. .B certain
  1035. news groups are not of interest to the system.  For example, if we
  1036.  expand the above example to:
  1037. .sp 1
  1038. .IN "world,comp,soc.culture.all,!comp.os.msdos"
  1039. .sp 1
  1040. then all groups in the
  1041. .B comp
  1042. class will be received except for the
  1043. .B comp.os.msdos
  1044. news group.  So, one can start off with specifying ALL, followed by
  1045. a certain number of
  1046. .B not
  1047. subscriptions...
  1048. .sp 1
  1049. It is common practice to have the news feeding host setup a master
  1050. selection of news groups, to prevent the local system from having to
  1051. download too much articles that will be thrown away anyhow.  The local
  1052. system then refines the selection as much as is desired by the system
  1053. administrator.
  1054. .sp 1
  1055. Note, that the larger NEWS software packages have lots of other options
  1056. that can be presented in this file.  However, for the sake of simplicitly,
  1057. most of them have not been implemented in W-NEWS, and probably never will
  1058. to keep the package as small and fast as possible!
  1059.  
  1060. .HD "newsgroups"
  1061. The NEWS system maintains a database of news groups that are active
  1062. in the world.  This database is maintained as a simple ASCII text
  1063. file, organized as lines of text with two fields (separated by one or
  1064. more <TAB> and/or <SPACE> characters).  The first field identifies the
  1065. name of the news group, the second field provides an explanation about
  1066. the nature of this news group.  It is maintained automatically by the
  1067. NEWS system, since this is one of the files changed by the
  1068. .B newgroup
  1069. and
  1070. .B rmgroup
  1071. control messages.
  1072. .sp 1
  1073. A sample
  1074. .B /usr/lib/news/newsgroups
  1075. file might look like:
  1076. .sp 1
  1077. .nf
  1078.  mugnet.gov        Discussions about MUGNET politics.
  1079.  mugnet.maps       MUGNET UUCP Mapping Project Map postings.
  1080.  mugnet.newgroups  Announcements of/requests for new groups.
  1081.  mugnet.sources    MUGNET-wide source postings.
  1082.  mugnet.sources.d  Discussions about postings in mugnet.sources.
  1083.  mugnet.talk       Any talk.
  1084.  mugnet.test       MUGNET-wide test group.
  1085. .fi
  1086. .sp 1
  1087. Note, that this file is usually quite large, since it contains the
  1088. definitions of ALL new groups active in the world.  This is just an
  1089. example of what might be in it!
  1090. .sp 1
  1091. This file is used only by user-programs like news readers and posters,
  1092. to inform the user about which groups can be selected.  It therefore
  1093. must be readable by all users who have access to the NEWS system.
  1094.  
  1095. .HD "distributions"
  1096. This ASCII text file contains the definitions of the distribution
  1097. codes that are valid on the system.  A distribution code identifies
  1098. the geographical spread of an article, which is useful for certain
  1099. types of messages.  The file contains of lines of ASCII text, with
  1100. only two fields (separated by one or more <TAB> and/or <SPACE>
  1101. characters).  The first field is the name of the distribution code,
  1102. to be used in article headers. The second field is the explanation
  1103. of the distribution.
  1104. .sp 1
  1105. A sample
  1106. .B distributions
  1107. file could be:
  1108. .sp 1
  1109. .nf
  1110.  local   local to this site
  1111.  mugnet  everywhere on MUGNET
  1112.  world   everywhere in the world
  1113.  nl      Netherlands only
  1114.  de      Germany only
  1115.  fr      France only
  1116.  uk      United Kingdom only
  1117.  usa     United States only
  1118. .fi
  1119. .sp 1
  1120. Note, that this file is only used by the
  1121. .B pnews
  1122. program to see if the user typed a valid distribution code.  It must
  1123. therefore be readable by all users who may post news!
  1124.  
  1125. .HD "log"
  1126. The
  1127. .B /usr/lib/news/log
  1128. file contains a written record of all NEWS system activity.  All kinds
  1129. of things can go wrong with a system that runs NEWS, so it is important
  1130. to be able to see what happened with incoming and outgoing articles.
  1131. .sp 1
  1132. By looking in the logfile, a system administrator is able to trace the
  1133. entire life time of an article; from the moment it came in via UUCP
  1134. (or Internet) or from the moment it was posted, up to and including the
  1135. moment the article got expired.  All system errors will be written to the
  1136. .B errlog
  1137. file, so the system administrator does not need to watch this file very
  1138. closely if the system is running OK.  However, this file grows very fast,
  1139. so it should be cleaned up every now and then.  That is also the right
  1140. time to have a close look at the errlog file, after which they can both
  1141. be removed.
  1142. .sp 1
  1143. All messages in the log files are from the
  1144. .B inews
  1145. program, unless the message is explicitly prefixed by the name of the
  1146. program writing the message.  Also, all messages are prefixed with a
  1147. date/time stamp, and, if possible, with the ID of the article that
  1148. caused the error.
  1149.  
  1150. .HD "errlog"
  1151. The
  1152. .B /usr/lib/news/errlog
  1153. file contains a record of all errors that occurred during the execution
  1154. of the various NEWS modules.  It should be watched closely!
  1155.  
  1156. .HD "history"
  1157. The
  1158. .B HISTORY
  1159. mechanism can be used to detect the arrival of articles that have
  1160. been received before.  This can happen if a system has more than
  1161. one news feeding host, with all these hosts sending articles.
  1162. Whenever the system receives an article, it adds a record about the
  1163. arrival to the
  1164. .B /usr/lib/news/history
  1165. file. This file contains lines of ASCII text, with the following
  1166. field definitions:
  1167. .sp 1
  1168. .IN "msgid<TAB>date<SAPCE>time<TAB>newsgroup/artseqno"
  1169. .sp 1
  1170. So, the first field uniquely identifies a message.  The second field
  1171. forms the date and time at which the article arrived.  Finally, the
  1172. third (and last) field tells us where the article was stored.  Note,
  1173. that the name of the news group is written in NEWS style, not as a
  1174. UNIX path name.  Also note, that if an article was cross-posted to
  1175. more than one news group, there will be just as many entries of the
  1176. article in the history file.
  1177. .sp 1
  1178. A sample history file might look like this:
  1179. .sp 1
  1180. .nf
  1181.  <9091@star.cs.vu.nl>    02/28/91 19:15  comp.os.minix/731
  1182.  <6854@munnari.oz.au>    02/28/91 19:15  comp.os.minix/735
  1183.  <8492@plains.NoDak.edu> 02/28/91 19:16  comp.os.minix/750
  1184. .fi
  1185. .sp 1
  1186. The history file is also updated by the
  1187. .B cancel
  1188. control message.  The program that executes this message simply
  1189. reads through the history file, and removes all occurrences of
  1190. a certain article on the disks.  It also removes their entries
  1191. in the history file.
  1192. .sp 1
  1193. Note, that this feature is relatively expensive in terms of both
  1194. disk space usage and CPU cycle demand.  Use it only when you
  1195. really think you need it.  Usually, the news host takes care of
  1196. cancelling articles!
  1197.  
  1198. .HD "news.adm"
  1199. If NEWS resource accounting is enabled at compile time, this file
  1200. will contain the accounting records of the NEWS system.  A record
  1201. is a line of ASCII text, formatted as follows:
  1202. .sp 1
  1203. .IN "yy/MM/dd<SPC>hh:mm<TAB>type<TAB>dist<TAB>size<TAB>host"
  1204. .sp 1
  1205. In this definition, the first field forms the date and time the
  1206. record was created. The second field indicates the type of accounting
  1207. record.  It can either be
  1208. .B sent
  1209. or
  1210. .B recv
  1211. , meaning "I sent this article" and "I received this article" respectively.
  1212. The third field is the value of the
  1213. .B Distribution:
  1214. article header field. It is needed because it may be the case that not
  1215. all types of distributions are equally expensive.  The fourth field
  1216. is the ASCII representation of the article size in bytes.  Finally, the
  1217. last field is a list of host names.  If it is a
  1218. .B sent
  1219. record, then it this field indicates to which systems the article was
  1220. also relayed. Otherwise, it indicates from which host the article was
  1221. received.
  1222. .sp 1
  1223. A sample accounting file might look like this:
  1224. .sp 1
  1225. .nf
  1226.  91/02/01 10:00  rcvd    world   1168    nmrdc1
  1227.  91/02/01 10:00  sent    world   1168    drinkel pa3ebv uwalt
  1228.  91/02/01 23:16  rcvd    world   740     pa3ebv
  1229.  91/02/01 23:16  sent    world   740     nmrdc1 drinkel uwalt
  1230.  91/02/02 01:40  rcvd    nl      44245   uwalt
  1231.  91/02/02 01:40  sent    nl      44245   nmrdc1 drinkel pa3ebv
  1232.  91/02/02 01:40  rcvd    nl      44249   uwalt
  1233.  91/02/02 01:40  sent    nl      44249   drinkel pa3ebv
  1234.  91/02/02 01:40  rcvd    nl      37390   uwalt
  1235.  91/02/02 01:40  sent    nl      37390   drinkel pa3ebv
  1236.  91/02/03 23:55  rcvd    world   791     wiesje
  1237.  91/02/03 23:55  sent    world   791     nmrdc1 drinkel pa3ebv
  1238.  91/02/06 04:30  rcvd    nl      1644    drinkel
  1239.  91/02/06 04:30  sent    nl      1644    pa3ebv uwalt
  1240. .fi
  1241. .sp 1
  1242. Note, that this feature is relatively expensive in terms of both
  1243. disk space usage and CPU cycle demand.  Use it only when you have
  1244. to...
  1245.  
  1246. .HD "organization"
  1247. The file called
  1248. .B /usr/lib/news/organization
  1249. contains a line which is used as the value of the
  1250. .B Newsgroups:
  1251. field in the article header.  If the file is not present, or is
  1252. empty, the field is not generated at all.  A sample line might
  1253. be:
  1254. .sp 1
  1255. .IN "MicroWalt Corporation, for MINIX Software Development"
  1256. .sp 1
  1257. which is the organization name of my software development company.
  1258.  
  1259. .HD "/etc/uucpname"
  1260. This file (which is actually part of the NLMUG UUCP system) contains
  1261. one or two lines of ASCII text.  The first line contains the system's
  1262. UUCP name (usually with a maximum of 7 characters).  The second
  1263. line, if present, contains the name of the domain in which the
  1264. system lives.  If this line is not present, the domain name
  1265. defaults to
  1266. .B .UUCP
  1267. since this is the pseudo-domain name for UUCP systems.
  1268. .sp 1
  1269. On a typical MINIX system in MUGNET, the file might contain the
  1270. following lines:
  1271. .sp 1
  1272. .IN "uwalt"
  1273. .IN "nl.mugnet.org"
  1274. .sp 1
  1275. which means that the full name of the system is:
  1276. .sp 1
  1277. .IN "uwalt.nl.mugnet.org"
  1278. .sp 1
  1279. This file is checked automatically during NEWS installation.
  1280.  
  1281. .CD "N E W S    R E A D E R S"
  1282. These programs can be used to read the available news articles, in
  1283. either line-mode (like the standard
  1284. .B mail
  1285. program) or in full-screen mode. The
  1286. .B rna
  1287. program is one of the available line-oriented news readers, and the
  1288. program called
  1289. .B vn
  1290. can be used to read news in a full-screen visual mode. Below you will
  1291. find excerpts of the manuals supplied with both programs.
  1292.  
  1293. .HD "rna"
  1294. .B Rna
  1295. is a news reader which is a part of the NSWN News system. It is
  1296. compatible with the standard version of
  1297. .B readnews
  1298. as supplied with the
  1299. .B "B News"
  1300. system.
  1301. .sp 1
  1302. Author: Michael Rourke, University of N.S.W
  1303. .br
  1304. .nf
  1305.         (decvax!mulga!michaelr:elecvax)
  1306. .fi
  1307.  
  1308. .HD "vn"
  1309. .B Vn
  1310. is a news reader which uses the same .newsrc file as readnews(1),
  1311. but displays and interacts differently. It is aimed at allowing
  1312. you to rapidly scan a large number of newsgroups, looking for
  1313. something you want to read. The major premise is that you will be
  1314. interested in a small number of articles, but will be interested
  1315. in keeping tabs on a large number of newsgroups which may contain
  1316. something interesting from time to time. It also has the ability
  1317. to unpackage digests.
  1318. .sp 1
  1319. Author: Bob McQueer.
  1320. .sp 1
  1321. Significant enhancement / bugfixes / suggestions from:
  1322. .sp 1
  1323. .in +5
  1324. .nf
  1325. Lawrie Brown, John G Dobnick, Greg Earle, Rodney Goke,
  1326. Andy Marrinson, Jay Maynard, Marius Olafsson, George Pavel,
  1327. Dave Tallman, Larry Tepper, Karl Williamson, Mark Wittenberg,
  1328. Andrew Worsley and many others.
  1329. .fi
  1330. .br
  1331. .in
  1332.  
  1333. .HD Tass
  1334. .B Tass
  1335. is a full screen threaded newsreader:
  1336. .sp 1
  1337. .nf
  1338.     o Organizes articles by threads.  Displays a really nice
  1339.       article selection page.
  1340.     o Group selection page makes it easy to scan newsgroups,
  1341.       subscribe, unsubscribe, reorder your .newsrc
  1342.     o If you've ever used Notes, this is the program for you.
  1343. .fi
  1344. .sp 1
  1345. Tass looks a lot like Notes, but has a few improvements:
  1346. .sp 1
  1347. .nf
  1348.     o Visual group selection page, Notes didn't have one.
  1349.     o rn style unread article detection as opposed to single
  1350.       timeline uses standard /usr/spool/news article layout
  1351. .fi
  1352. .sp 1
  1353. Newsreading style under Tass tends to be different than with rn.
  1354. Instead of plowing through each group reading everything unread,
  1355. you may find yourself reading fewer articles in more groups.  It's
  1356. easier to skip about and only read interesting threads with Tass.
  1357. .sp 1
  1358. Tass keeps an index file for each group.  The first time you enter
  1359. a group, it will be a bit slow creating this file.  After that Tass
  1360. will incrementally update the index file and there should be little
  1361. delay.
  1362. .sp 1
  1363. Author: Rich Skrenta <skrenta@blekko.commodore.com>
  1364. .sp 1
  1365. Ported to MINIX by Wim van Dorst <baron@wiesje.hobby.nl>
  1366. .sp 1
  1367.  
  1368. .CD "V A R I I"
  1369. This chapter contains various bits 'n' pieces of information, which
  1370. are usually found in "manpage" style manuals.
  1371.  
  1372. .HD AUTHOR
  1373. The W-NEWS program has been written by Fred N. van Kempen. The general
  1374. outline of the various modules is similar to the outline found in the
  1375. .B "B\ News"
  1376. system (version 2.11) for UNIX systems. The
  1377. .B "Article Editor"
  1378. was derived from the
  1379. .B "W-MAIL Message Editor"
  1380. from the same author.  The news group pattern matching routines in
  1381. the
  1382. .B inews
  1383. program were taken (without permission) from the
  1384. .B "B News 2.11"
  1385. software package, which is freely redistributable.  It will be replaced
  1386. with another (home-made) routine as soon as possible.
  1387.  
  1388. .HD COPYRIGHT
  1389. This software is Copyright 1991 by MicroWalt Corporation.  It may be
  1390. freely used and/or distributed, as long as this notice and the headers
  1391. in the source files remain unchanged.  This software may not be used
  1392. and/or distributed for commercial purposes without prior written
  1393. consent from the Author.
  1394.  
  1395. .HD CHANGES
  1396. The Author will release updates to this package on a regular basis.
  1397. Please send your comments, bug reports (preferrably with their
  1398. respective fixes) and additions to the address below.
  1399.  
  1400. .HD ADDRESSES
  1401. Please direct all questions/suggestions/remarks to this address,
  1402. either postal or e-mail:
  1403. .sp1
  1404. .nf
  1405. .IN "MicroWalt Corporation"
  1406. .IN "Attn: W-NEWS Support Desk"
  1407. .IN "Hoefbladhof  27"
  1408. .IN "2215 DV  VOORHOUT"
  1409. .IN "The Netherlands"
  1410. .sp 1
  1411. .IN "E-mail: wnews@uwalt.nl.mugnet.org (W-NEWS Support Desk)"
  1412. .sp 1
  1413. .fi
  1414. Note, that the responding person is not necessarily the Author of
  1415. this software package!
  1416.  
  1417. .HD "BUGS"
  1418. Probably around, though not much. Certain things could be improved, if
  1419. only for speed or completeness. Better care should be taken with system
  1420. security in the
  1421. .B control
  1422. program, which is able to remove and create news groups.
  1423.  
  1424. .HD "SEE ALSO"
  1425. For more information on this topic, you might want to read one or more of
  1426. the following papers:
  1427. .sp 1
  1428. .nf
  1429. [1]  "The W-MAIL Reference Manual", Fred N. van Kempen 1990
  1430.      Available from NLMUG Archive Service
  1431.  
  1432. [2]  "The U-MAIL Reference Manual", Fred N. van Kempen 1990
  1433.      Available from NLMUG Archive Service
  1434.  
  1435. [3]  "The NLMUG UUCP Reference Manual", Fred N. van Kempen 1990
  1436.      Available from NLMUG Archive Service
  1437.  
  1438. [4]  "A Dial-Up Network of UNIX Systems", D. A. Nowitz 1974
  1439.      Bell Laboratories, Murray Hill, New Jersey 07974
  1440.      Also available from NLMUG Archive Service
  1441.  
  1442. [5]  "Uucp Implementation Description", D. A. Nowitz 1974
  1443.      Bell Laboratories, Murray Hill, New Jersey 07974
  1444.      Also available from NLMUG Archive Service
  1445.  
  1446. [6]  "B News version 2.11 manuals", Rick Adams et al 1987
  1447.      Available from NLMUG Archive Service
  1448. .fi
  1449.  
  1450. .bp
  1451.  
  1452.