home *** CD-ROM | disk | FTP | other *** search
/ Black Box 4 / BlackBox.cdr / lan / snuz.arj / SNUZ.DOC < prev    next >
Text File  |  1991-06-24  |  8KB  |  145 lines

  1. Snuz is a simple netnews reading program. It supports reading and posting
  2. News to an NNTP news server and in conjunction with an smtp program
  3. will post mail replies.
  4.  
  5. Snuz is not "rn" or "nn" or "trn". It doesn't have kill files or threads.
  6. It does allow going to any article in any group. It can save articles to files.
  7.  
  8. Snuz is NOT a Microsoft Windows program. But ...........
  9. If you use the drivers that say they will work with Microsoft
  10. Windows then Snuz will also do so. On my computer (a Dell 310) it will
  11. run in all three modes of Windows 3.0 (including in the background and
  12. in a window in 386 enhanced mode.) It seems to run correctly if you
  13. load the packet driver either before you load Windows or just before
  14. loading Snuz in a MS-DOS window. (Why run Snuz in the background?
  15. Because it saves mail and postings until the end of your session and then
  16. processes them, often with absolutely excruciating sluggishness.)
  17.  
  18. Snuz sometimes says that the host is trying to talk to you at the same
  19. time you are to it, and recommends quitting. Don't quit, just be patient,
  20. it seems to sort itself out.
  21.  
  22. Snuz is based on the "PCIP" series of programs. It requires that you have 
  23. installed a "packet driver" for your particular network card. I use
  24. the ones that come with NCSA Telnet. They are available by anonymous
  25. ftp from ftp.ncsa.uiuc.edu. Another set which will work are on 
  26. sun.soe.clarkson.edu. Note that snuz can co-exist (i.e. run alternately
  27. without a reboot) with programs (such as some versions of NCSA Telnet)
  28. that use internal drivers by putting the actual call to snuz.exe in a batch
  29. file preceded by a line which installs the packet driver, and followed by a
  30. line which calls the program that comes with the packet drivers to remove the
  31. driver from memory.
  32.  
  33. You will also need the .sys file called "netdev.sys" and the program
  34. called custom.exe to set everything up for your network. Before you
  35. run snuz you need to install netdev.sys.  Before you ever try to start snuz
  36. you should say "custom netdev.sys" and fill in all the proper things.
  37. This makes netdev.sys into a file that contains all the info about your
  38. installation. Then you can do two things: one is to put netdev.sys in your
  39. config.sys file. This will create a  "device" called netcust that acts like
  40. a file. The programs "custom", "snuz", and "dsmtp"  operate on this file to
  41. communicate parameters about your network to each other. Because netcust 
  42. (after installing netdev.sys) is a "device" it is available from any
  43. directory. A second method is to copy netdev.sys to a file named "netcust" in
  44. the directory which is the default directory when snuz is started. This seems
  45. bizarre - a .sys file which can be read as an ordinary file. But it works.
  46. If you put netdev.sys in your config.sys file then saying "custom netdev" will
  47. change ONLY the core image of the file - your changes will last only until the
  48. next reboot. If you make it into an actual FILE netcust, then any changes will
  49. be permanent. Sigh. This is really complex. Don't blame me, blame the authors
  50. of pcip. 
  51.  
  52. To run Snuz you need to have a "Snuz.cfg" file and a Snuz.rc file. Edit
  53. the supplied Snuz.cfg file to suit your situation, and make up a Snuz.rc
  54. file. Snuz.cfg is self-explanatory. It must be in the same directory as 
  55. Snuz.exe, or, optionally, you may set an environment variable SNUZCFG
  56. to point to the directory where it actually is (i.e. you can
  57. set SNUZCFG=c:\mysnuz to look in directory c:\mysnuz.)
  58.  
  59. You need to have an editor that will edit your followup or mail file if
  60. invoked with its filename. These are, of course, plain text files. I use
  61. MicroEmacs to edit them. If you use a word processor, be sure that it does not
  62. mangle files - for example, I tried WordPerfect 5.1 and it will happily read
  63. and edit the files, but it somehow adds spaces to the needed blank lines at
  64. the end of the header. It works if you delete the bogus spaces by hand.
  65. These files are called tmp.nuz while editing, but are renamed to a
  66. unique name with lots of numbers (x18466.nuz, for example). They are deleted
  67. after the posting or mail is actually done. If for some reason you exit
  68. Snuz with "e" instead of "q" they won't get sent. BUT next time you run
  69. Snuz they will indeed be processed. The same thing happens if your
  70. computer or network dies while reading the News. If your computer or network 
  71. dies between the time the message body is sent, but before the NNTP server
  72. send its acknowledgement, that message gets left in the queue and will
  73. eventually be sent twice.
  74.  
  75. Snuz.rc lists the newsgroups you wish to read. It has the format of
  76. <newsgroup> <space> <number> (without the <>). Running Snuz with
  77. the argument -S Snuz.rc will generate a file containing all the newgroups
  78. your server has, together with appropriate numbers. These numbers are 
  79. the number of the first article you will read upon entering a group.
  80. You can edit the file produced by "Snuz -S Snuz.rc" to get the groups
  81. you want. You must have at least two good newsgroups listed.
  82.  
  83.  
  84. The user interface for Snuz is quite simple. Just enter the program and
  85. type "h" or "?" for a list of commands. If you just keep hitting return
  86. you will progress your way through all your News. One missing item:
  87. you can't back up a page during the reading of a long article. You can
  88. go back to the beginning by typing "=", or you can type F an get put
  89. into your editor, which will presumably allow looking around at will - 
  90. or even searching for things. Just be sure to tell Snuz not to
  91. actually post the article again!! This is done by not answering "y"
  92. to the question asked after your editor exits. The "I" command allows
  93. you to search (non-case-sensitive) for a given string in the titles or
  94. authors of articles. Hence you can find all articles by "george" (
  95. this will, of course, find articles by george@a.b.c.d as well as 
  96. bob@george.com, etc.) or all articles with some particular keywork in
  97. their title.
  98.  
  99. Snuz has a simple mechanism so that you see cross-posted items only once:
  100. they appear only in the newsgroup which appears first in your snuz.rc file.
  101. This is different from the way some other readers work, where they appear in
  102. the group you actually access first in time. This can be disabled by
  103. the X command.
  104.  
  105. Snuz has no "post" command. You have to follow-up something. You can 
  106. easily do this by just editing the header. 
  107.  
  108. The posting and mailing mechanism queues up all you items and processes
  109. them at the end of your session. If you send mail, it spawns the program
  110. "dsmtp.exe" to actually send it; posting is internal. This process,
  111. at least on my news and mail server, is amazingly slow - sometimes five minutes
  112. to send a single mail or news item! Running in the background with
  113. a multitasker is suggested for the impatient.
  114.  
  115. The supplied smtp mail program dsmtp.exe will send mail items independent of 
  116. Snuz if you make a file with appropriate From: myname@a.b.c.d and
  117. To: toname@e.f.g.h lines in the header. Just say "dsmtp filename mailservername".
  118. If you give dsmtp the filename "sendmail.lst", as does Snuz, it considers
  119. that as a list of files to mail, one filename to a line.
  120.  
  121. Be SURE to get you config file set up so that you give a valid From:
  122. address: if your PC is like mine, mail to it will bounce - a very
  123. unpleasant situation. Put a place that mail WILL reach in your From:
  124. line. Test it by sending mail to yourself.
  125.  
  126. The parts of Snuz I have written are public domain. It is based on older
  127. things which are freely distributable but not public domain. 
  128.  
  129. Bugs: Who knows. It hasn't blown up on me recently, but given the general
  130. flakiness of the whole PCIP that I based it on, there must be problems left.
  131. If it DOES die, you very well better reboot your computer. Really!
  132. One known bug has to do with it reading a news item with a number higher than
  133. the last one your NNTP server indicates that it has. Apparently this
  134. is harmless.
  135.  
  136. Changes: The main changes from beta 0.98 and 0.99 are the change allowing
  137. specifying the configuration file from an environment variable (for
  138. those who run multiple people on one machine and want different e-mail
  139. return addresses) and a change to the way Snuz returns to the task of
  140. just reading the next article from follow-ups or mail. It no longer
  141. reads the same article again. 
  142.  
  143. Doug McDonald (mcdonald@aries.scs.uiuc.edu)
  144.  
  145.