home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #1 / monster.zip / monster / BBS_UTIL / BM0406_A.ZIP / DOCS.ZIP / RBBSCDR.DOC < prev    next >
Text File  |  1994-04-03  |  10KB  |  180 lines

  1.  
  2.                       RBBS/CD-ROM support in BusiMods (tm)
  3.                            (c) 1994 Richie Molinelli
  4.  
  5. 03/27/94
  6.  
  7. With this version of the BusiMods (tm) there is a new feature that will be
  8. of great interest to the SysOp who has CD-ROM drive(s) online.  RBBS can now
  9. support all CD-ROM disk(s) besides the PC-SIG library, while still maintaining
  10. compatibility with the PC-SIG feature.  In addition, this support of other
  11. CD-ROMs includes the ability to copy the file the user wants to download to
  12. a download directoy, the creation of a sempahore file for notification to other
  13. nodes (in a multinode setup) that the drive is busy, will wait 30 seconds or
  14. till clearing of the semaphore file (whichever is less) to copy the file and
  15. suports as many drives as you have online (drive letters).  And it is relatively
  16. simple to set up and supports multidisk changers like the Pioneer DRM-600.
  17.  
  18. There are two ways you can signal RBBS/BM that you are using a CD-ROM.  Both
  19. methods require that you use RBBS's FMS (File Management System).
  20.  
  21. Method #1 :  If your main download area is from a CD-ROM, you can add the
  22. keyword CDROM to your FMS header in your file listing.  When the user views
  23. this listing, and subsequently downloads, the file will be copied to a directory
  24. named NODEx (where x is the node number) right below the directory you have
  25. listed in CONFIG param #208 as your upload directory.  (ie:  if you have
  26. C:\RBBS\FILES\UPLOAD as your upload directory in CONFIG param #208, and this is
  27. node number 1, then files will be copied from the CD-ROM to the directory
  28. C:\RBBS\FILES\UPLOAD\NODE1)  If the directory does not exist, RBBS will create
  29. the directory.  When the transfer is completed (or aborted) the files in this
  30. directory will be deleted.  Since the user must first "list" the FMS listing to
  31. activate this feature, this is not the recommended way to implement the CD-ROM
  32. support (though it does work fine).  You CAN chain different directories
  33. together as in stock RBBS, and as long as you have the keword in EACH of the
  34. chained files, all files will be copied to the download directory.  When an
  35. FMS listing that does not have the CDROM keyword is displayed, the copy feature
  36. is disabled.  As with ALL CD-ROMs, it is advisable to have the FFS (Fast File
  37. System) implemented, though not necessary when using this method.  You MUST list
  38. all downloadable directoies in CONFIG param #208 if you do not have the FFS
  39. implemented (ugh!).  In addition, RBBS will always copy files from the CD ROM
  40. to the download directory.
  41.  
  42.  
  43. Method #2 :  This is by far, the preferred method of implementing the additional
  44. CD-ROM support.  First, you must create an FMS listing for EACH CD-ROM disk.
  45. Since most good disks come with an ALLFILES.BBS, half of the work is done for
  46. you.  And best of all, since this is a CD-ROM, you only have to create the
  47. necessary files once.  In the FMS header record (the first line in the FMS file)
  48. add the CDROM keyword (though not necessary).  Second, you MUST create the FFS
  49. files for each disk.  It is recommended that you use a separate directory to
  50. store the files for each disk.  On my system I have 2 CD-ROMs online.  The
  51. first, The Shareware Studio Vol. III, has it's necessary files located in my
  52. C:\RBBS\SWS3 directory.  The second, The MegaWinOS2, has it's files located in
  53. my C:\RBBS\MEGAWIN2 directory.  If there were more disks, I would have each
  54. disks files in separate directories (though this is not necessary).  This makes
  55. it easier if you should have to do any trouble shooting later, or when you
  56. remove a disk.  For instructional purposes I am going to list the files
  57. associated with the Shareware Studio Vol. III disk:
  58.  
  59. FMS.SW3       - the FMS file for listing
  60. SWS3.CAT      - the directory catalogue (DIR.CAT) for this disk
  61. DIR.SW3       - the directory of directories for this disk
  62. CDFIDX.DEF    - the FFS file index for this disk
  63. CDLIDX.DEF    - the FFF location index for this disk
  64. CDFIDXT.DEF   - the FFS tabs file for this disk
  65.  
  66. I also have a CDFIDX.CFG file in this directory to implement wild card
  67. downloading.  See the separate document on wild card downloading.
  68.  
  69. ALL of the above files reside in my C:\RBBS\SWS3 directory.
  70.  
  71. In order to signal to RBBS/BM that I am using the RBBS Library function with
  72. CD-ROMs other than the PC-SIG library, you must then create a file named
  73. CDRx.CFG (x being the node number) for EACH node.  This file is located in the
  74. node work directory (where you told CONFIG that the CALLERS file is located).
  75. The reason for having a configuration file for EACH node is for the SysOp who
  76. may want to limit access by node, and the SysOp who may have multiple drives
  77. online, and limit which drives are accessable from which nodes.  The contents
  78. of EACH line in the CDRx.CFG file is as follows:
  79.  
  80. (Sample)
  81. Shareware St,C:\RBBS\SWS3\FMS.SW3,DIR.SW3,SWS3.CAT,CDFIDX.DEF,CDLIDX.DEF,P,Y,N
  82. |     1    | |         2        | |  3  | |   4  | |    5   | |   6    ||7|8|9
  83.  
  84. So as you can see, there are 9 parameters.  They are as follows:
  85.  
  86. 1:  The name of the disk that you want shown to the user.  This will be
  87.     truncated to the right margin the user has set.
  88. 2:  The <drive>\<path>\filen.ame  of your FMS list.  Drive and path MUST be
  89.     included since the same drive and path is used for the following parameters.
  90. 3:  The name of your directory of directories (DIR.DIR) file.
  91. 4:  The name of your directory catalogue file (DIR.CAT).
  92. 5:  The name of your FFS file index file. (FIDX)
  93. 6:  The name of your FFS file locator file. (LIDX)
  94. 7:  The drive letter for this disk.  Used in creation of semaphore file to lock
  95.     out only the particular physical drive.
  96. 8:  Whether to copy files to hard drive before downloading. "N" disables copy
  97.     feature...anything else will enable.
  98. 9.  A "Y" indicates multi-disk changer(s) (like the Pioneer DRM-600).  Anything
  99.     else indicates separate physical drives.  This parameter is used in the
  100.     creation of the semaphore lock out file for copying files to the hard drive
  101.     on multinode systems.  Instead of locking out the individual physical drive,
  102.     as with separate CD-ROM drives, the semaphore will physically lock out
  103.     the entire multichanger from access by another node while a file is being
  104.     copied.
  105.  
  106.  
  107. You will have one line of entry per CD-ROM disk you are putting online.
  108.  
  109. THERE MUST BE 9 PARAMETERS......8 COMMAS IN EACH LINE!
  110.  
  111. The tabs file will be found from the name of the FFS file index.  ALL files will
  112. use the same path as determined from your FMS file.  You can have as many
  113. separate lines in the config file as you have disks that you want the user to be
  114. able to access and string space enough to display.  All parameters MUST be
  115. separated by commas.  There can be NO blank parameters.
  116.  
  117. You must tell CONFIG param #301 a drive letter.  Since this implementation does
  118. not use this drive letter, you can put ANY valid drive letter in here.  I use
  119. the drive letter of the drive where my upload directory is located.  In CONFIG
  120. param #31 be sure to have a valid command for the Library listed.  A lot of
  121. SysOps have replaced the "@" with a blank space to disable the library function.
  122. In CONFIG param #130 make sure the security level to access the "@" command is
  123. set to one your users can access.  In addition, set the "A" command (archive)
  124. to a blank in CONFIG param #310 (since the archive function is not used).  Make
  125. sure that you have enabled the security levels for the remaining Library
  126. functions in CONFIG param #311.  Finally, you will want to have a menu for
  127. display listed in CONFIG param #309.  You can ignore most of the other library
  128. params since they are not implemented in this setup.
  129.  
  130. That's it.  When a user enters the library area, the CD-ROM disk listed in the
  131. first line of the CDRx.CFG file will be the default disk.  If you have more
  132. than one disk listed in your CDRx.CFG, then when the user enters the "C" command
  133. (for change disk), he/she will be presented with a list of all the disks you
  134. have listed in the CDRx.CFG file.  As each disk is selected, the file system
  135. files that correspond to that disk will be loaded.  When the user leaves the
  136. library, the default file system files (for your regular files system) will be
  137. reloaded.  Since you can set download security in the library area separately
  138. from the files area, a user can have download privileges in the files system,
  139. and be denied download privileges in the library system.
  140.  
  141. When a user downloads a file, the file, found through the fast file system, is
  142. copied to your hard drive.  This eliminates the excess load that can slow a
  143. system dramatically (especially in multitasking environments).  A semaphore
  144. file (named CDROMx.WRK - where x is the drive letter for the disk) is created
  145. in the main RBBS directory, indicating that the CD-ROM drive is busy, and
  146. denying other nodes from accessing the drive.  If you have enabled the MultiDisk
  147. Changer option (parameter #9 in the CDRx.CFG file), the semaphore file will
  148. be named CDROM.WRK.  Remember, you must set the MultiDisk enabled for ALL disks
  149. from the same changer if you are using one of these changers.  Other nodes will
  150. wait till either the flag is cleared, or time out in 30 seconds.  If the flag
  151. clears, they will then start to copy their files.  (Thirty seconds was selected
  152. for the slower CD-ROM drives and large files.  I show a big difference in time
  153. between my two drives on the same file.  One drive will take 23 seconds on a 1.1
  154. meg file while the other only takes 8 seconds.)  When the download is completed
  155. (or aborted), the copied files are then deleted.
  156.  
  157.  
  158. If you experience any problems with this modification, you can contact me at
  159. my Fido Net node address of 1:107/272 or 1:107/273.  If you have any suggestions
  160. for improvement, please mail me at those addresses.
  161.  
  162. Richie Molinelli
  163. The Small Time BBS
  164. Runnin' RBBS/BusiMod v17.4a
  165. 1200 thru 14400 bps
  166. 516-579-7929
  167.  
  168. Notes:
  169.  
  170. No warranty is implied nor offered/given.  This modification is not suitable for
  171. any particular purpose.  User assumes all risk of use and implementation.
  172. I ain't responsible for nutin!
  173.  
  174. Copyright 1994 by Richie Molinelli - (c) 1994
  175. I retain all rights to the copyright on this modification.  I will assign my
  176. rights to this code if used in stock RBBS as implemented by Ken Goosens and
  177. the RBBS development team.
  178.  
  179.  
  180.