home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / MISC / NETWORK / PCNEWS.ZIP / PCNEWS.HLP < prev   
Encoding:
Text File  |  1990-07-05  |  12.0 KB  |  277 lines

  1.  
  2.     HELP INFO:    REV 1.22
  3.  
  4.     PCNEWS Author:  Jerrold L. Gray 
  5.     Employer:    Data I/O
  6.     Department:       Programmer Business Unit
  7.     Phone:        (206) 881-6444 x3533
  8.     Usenet address: jgray@pilchuck
  9.     Title:          Design Engineer, PCNEWS support guy among other things
  10.  
  11.  
  12. [Note: A copy of this document is in PCNEWS.HLP in same directory as PCNEWS.EXE]
  13.  
  14. 1. Author's Charter
  15.  
  16. PCNEWS is an attempt to bring USENET news capability to those of us who
  17. have PCs on our Unix based PCNFS Ethernet network. Early versions of this
  18. utility are liable to be a bit 'buggy' and weak in features. With reasonable
  19. input from are user's I can try to put in improvements as time permits. I
  20. am supporting this entirely on my own time with 90% of the code development
  21. being done on my home machine.  
  22.  
  23. 2. Description
  24.  
  25. PCNEWS was written to provide some of the basic news reading features that a
  26. few of us have grown to love on our Unix system's access to the USENET. This
  27. network extends all over the world with nodes in 'high-tech' companies,
  28. big name Universities and yes even a few garage shops. Until I figure out
  29. how to do it (or a better tools comes along) access to the USENET will be
  30. 'Read Only' which is probably safer for the time being anyway.
  31.  
  32. 2.1 How it works
  33.  
  34. Articles are arranged on our Unix host system as directories which have
  35. the names of the  groups. Because of this PCNFS occasionally alters
  36. the sub names with cryptic little '~' characters and letter
  37. substitutions. For DOS compatibility it has to truncate all newsgroup names
  38. to 8 characters and has to guarentee uniqueness of names (hense the
  39. substituted characters). This isn't that much of a problem since one can look
  40. at the 'Newsgroups:'or 'Subject:' lines of the first few articles to figure
  41. it out.
  42.  
  43. 2.1.1 Newsgroups
  44.  
  45. When first invoked you are at the top level of the newsgroup directory.
  46. This directory may contain a few directories which are not newsgroups and
  47. may look rather odd in that they have no articles in them. Just ignore
  48. them for now and I will look for some method for ignoring them at some
  49. future date. 
  50.  
  51. A news group can be "pointed" to by either moving the highlighted region with
  52. the arrow keys or by hitting the first character of the newsgroup name. If
  53. there is more than one newsgroup that begins with the same letter, then hitting
  54. the same letter multiple times will cause the highlighted region to move to the
  55. correct newsgroup. This is usually much faster than using the arrow keys.
  56. Once the highlighted region is on the selected newsgroup, hitting the "Enter"
  57. key will cause PCNEWS to decend into that newsgroup's directory and will list
  58. all the subtopics, if any, at that level.
  59.  
  60. Leaving a newsgroup is done by merely hitting the escape (ESC) key, or 
  61. by leaving the PCNEWS facility altogether by hitting the F1 key.
  62.  
  63. 2.1.2 Articles
  64.  
  65. 2.1.2.1 Selection
  66.  
  67. Once you are within a newsgroup with a number of unread articles, hitting the
  68. spacebar will begin the article selection process. An article marker is
  69. maintained in the PCNEWSRC.DAT file, somewhere in your PATH, which is shown in
  70. the status area as the "Last article read:" number. The first article brought
  71. up for selection is the first article number greater than the marker.
  72. If there are none then you won't be able to examine articles in the newsgroup.
  73. If the articles there number less than the marker, hitting the "F3" key will
  74. reset the marker to a number just less than the lowest article number.
  75.  
  76. The first time you invoke PCNEWS a warning is generated that PCNEWSRC.DAT
  77. doesn't exist and that one is being created in the present directory.
  78. If the present directory is not in your PATH, then PCNEWS will not be able
  79. to use the markers it writes into this file unless PCNEWS is invoked in
  80. the same directory where your PCNEWSRC.DAT file exists. Moving this file
  81. to a directory in your PATH is probably the most convenient method.
  82.  
  83. When in the article selection process, several lines of article status
  84. are shown such as "Date:", "From:, "Subject:" and so on. From this information
  85. you can decide what is worth reading, saving or rejecting. One can move around
  86. in the selection process by moving forward ("F5" or "N" for next article) or
  87. backward ("F6" or "P" for previous article) or jumping to a particular article
  88. number ("F3" or "G" for "go to" article). If going to a particular article
  89. ("F3" or "G") it is possible that you may type in a non-existant article number.
  90. Unfortunately, in a range of article numbers there may be some missing numbers.
  91. If you type in a non-existant number within the range of article numbers
  92. displayed in the status area a warning is generated and the next article number
  93. immediately after the one requested will be shown.
  94.  
  95. 2.1.2.2 Reading Articles
  96.  
  97. When you find an article of interest, hitting the spacebar will invoke a file
  98. reader on the article file selected. PCNEWS is presently using a shareware file
  99. reader called LIST.COM which was renamed PCNLIST.COM so that it wouldn't
  100. collide with any other tools which may happen to have the same name. At a latter
  101. date I may create an alternate means of reading files which will be a little
  102. faster and easier to use, as well as allowing the user to select his own file
  103. reader. To speed up the article reading process, one can copy PCNLIST.COM file
  104. from the directory where PCNEWS.EXE is found to somewhere earlier on your
  105. PATH on your own PC. When leaving the file reader PCNEWS will automatically
  106. advance to the next article. To re-read an article or to save it to a file
  107. you will have to hit the previous article key ("F6" or "P").
  108.  
  109. 2.1.2.3 Saving Arbitrary Articles
  110.  
  111. Saving an article is done by hitting the article save key ("F4" or "S") which
  112. will cause PCNEWS to prompt you for a file name. This can be a complete path
  113. and file specifcation for any DOS disk drive. If the file name entered happens
  114. to be that of an existing file PCNEWS will prompt you for whether  you want to
  115. append or overwrite to that file or abort the file saving operation altogether.
  116.  
  117. 2.1.2.4 Saving Sequential Articles
  118.  
  119. For the purposes of aiding the capturing of binary files from "comp.binaries
  120. .ibm.pc" a special feature is provided to support sequential files. Hitting
  121. the sequential file definition key ("F9") will bring up a window to allow
  122. you to define a "base" name (a full 256 character path is supported). The last
  123. name in the path is truncated to 7 characters and a "1" character is appended.
  124. If no file extension is given "PCN" is used.
  125.  
  126. Each time the sequential save key is depressed ("F10") the file is saved to the
  127. presently named file, the number of the file is incremented, and the news
  128. reader advances to the next file.
  129.  
  130. 2.1.3 Initialization
  131.  
  132. 2.1.3.1  PATH
  133.  
  134. The user must either have the directory where PCNEWS.EXE exists in their PATH
  135. or be in that directory. I have noticed that some people who have been using
  136. PCs for some time still don't utilized the powerfull PATH feature of DOS and
  137. if this sounds unfamiliar to you, you should consult your DOS manual.
  138. Typically an AUTOEXEC.BAT entry that sets the path would look like:
  139.  
  140.     PATH C:\DOS;C:\TOOLS;C:\EDITORS;G:\TOOLS;G:\GAMES
  141.  
  142. PATH informs DOS where to look for programs when a user types in commands.
  143. DOS command.com checks the directory list from left to right and takes the
  144. first occurance of command program and uses it. Note that directory names
  145. are separated with semicolons ";".
  146.  
  147. PCNEWS also uses this path definition for looking for certain files and programs
  148. it needs for operation. The above example shows a couple of directories on the
  149. "G:" drive of which the "TOOLS" directory would be one containing PCNEWS.EXE.
  150. Here at Data I/O this "G:" drive would be mounted via PCNFS which is discribed
  151. in a next section.
  152.  
  153. 2.1.3.2  PCNFS
  154.  
  155. 2.1.3.2.1  Drives Needed
  156.  
  157. With our Unix host supplying the news articles we must mount a drive which will
  158. allow access to these newsgroup articles. This can be done by adding the 
  159. following entry into your AUTOEXEC.BAT file (to define it at powerup) or type
  160. in directly:
  161.  
  162.     NET USE N: \\pilchuck\usr\spool\news
  163.  
  164. Note that the path specification was in lower case. PCNFS is case sensitive for
  165. the Unix path specification portion though the capital letters shown in the
  166. above example could also be in lower case since DOS is not case sensitive.
  167.  
  168. Since the author of PCNEWS is also supporting a directory of other usefull tools
  169. PCNEWS.EXE, for the time being, is located in a directory on a different Unix
  170. host and will require the adding of the following line to AUTOEXEC.BAT.
  171.  
  172.     NET USE G: \\ranier\usr\pctools
  173.  
  174. This definition in this example is compatible with the PATH definition given
  175. in the previous section. The choice of drive letters is arbitrary and you
  176. should pick ones that are not already used. You may have to alter a DOS
  177. parameter in you CONFIG.SYS file which specifies the largest drive letter you
  178. can legally use in your DOS environment.  Consult your DOS manual.
  179.  
  180. 2.1.3.2.2  Mount Table Being Full
  181.  
  182. When attempting to mount these drives you may encounter the error message
  183. "Mount table full". Usually this is encounterred by people who have mounted
  184. the same directory on a Unix host machine more than once with different DOS
  185. drives representing different Unix subdirectories. For example you may have:
  186.  
  187.     NET USE E: \\pilchuck\eng1\joe\mytools
  188.     NET USE F: \\pilchuck\eng1\joe\temp
  189.     NET USE G: \\pilchuck\eng1\joe\workdir
  190.     NET USE H: \\pilchuck\eng1\joe\papers
  191.  
  192.  
  193. 2.1.3.2.2.1 Aproach #1
  194.  
  195. One approach you might take is to define only once:
  196.  
  197.     NET USE E: \\pilchuck\eng1\joe
  198.  
  199. And create four batch files and put them somewhere in your path.
  200. Each batch file would have the file qualifier tag ".BAT" and "WORKDIR.BAT",
  201. for example, would contain the two lines:
  202.  
  203.     E:
  204.     CD \WORKDIR
  205.  
  206. Getting to the "workdir" drive and directory would ammount to merely typing
  207. in:
  208.  
  209.     WORKDIR
  210.  
  211. which is more meaningful and a bit easier to remember than:
  212.  
  213.  
  214.     G:
  215.  
  216. One thing to remember is that if this approach is taken and your PATH
  217. definition looks something like:
  218.  
  219.     PATH C:\DOS;C:\TOOLS;C:\EDITORS;E:\;F:\;G:\;H:\
  220.  
  221. It would have to be changed to:
  222.  
  223.     PATH C:\DOS;C:\TOOLS;C:\EDITORS;E:\mytools;E:\temp;E:\workdir;E:\papers
  224.     
  225. 2.1.3.2.2.2 Aproach #2
  226.  
  227. An alternate approach is to mount only the newsgroup drive and get a copy
  228. of PCNEWS from me on disk to be installed locally on your own machine
  229. presently. Keep in mind that this approach
  230. would rule out your sharing in an ever growing archive of public domain and
  231. sharware tools.
  232.  
  233. Later on, if the newsgroup drive is included as a part of your path I could
  234. put a copy of PCNEWS.EXE in there. This might be a bit more difficult for me
  235. to support since I don't "own" that directory
  236.  
  237.  
  238. 2.1.3.3 Environment Variables and Space
  239.  
  240. When PCNEWS is invoked it goes looking for the environment variable PCNEWSDIR
  241. which would be set in your AUTOEXEC.BAT file to the drive and directory where
  242. PCNEWS can find the top level of the newsgroup directories. This AUTOEXEC.BAT
  243. entry would look like:
  244.  
  245.     SET PCNEWSDIR=N:
  246.  
  247. It is very possible that after altering your AUTOEXEC.BAT file with the
  248. above changes you will get a power up message:
  249.  
  250.     Out of environment space
  251.  
  252. one or more times. To cure this in DOS 3.1 versions and later, the SHELL
  253. command needs to be added to your CONFIG.SYS file. In earlier versions of
  254. DOS other trick had to be played to increase environment space. There is a
  255. program call SETENV which can "patch" some earlier versions of DOS and fix
  256. this.
  257.  
  258. Assuming your COMMAND.COM file exists in your main drive directory "C:"
  259. the following addtions to the end of your CONFIG.SYS file may work:
  260.  
  261. For DOS 3.1:
  262.  
  263.     SHELL=C:\COMMAND.COM /P /E:20
  264.  
  265. For DOS 3.2 and 3.3:
  266.  
  267.     SHELL=C:\COMMAND.COM /P /E:1000
  268.  
  269. In 3.1 the number 20 refers to "paragraphs" of bytes and in 3.2 it refers to 
  270. the number of bytes.  In either case you can experiment with these numbers to
  271. make the error messages go away. Start with the above numbers and increase them
  272. if necessary.
  273.  
  274. In any event consult your DOS manual, then your friends and possibly me.
  275. Something can usually be worked out.
  276.  
  277.