home *** CD-ROM | disk | FTP | other *** search
/ Oakland CPM Archive / oakcpm.iso / sigm / vol112 / rbbmin27.dqc / RBBMIN27.DOC
Encoding:
Text File  |  1985-02-10  |  17.1 KB  |  385 lines

  1.  
  2. NOTES ON USING THE RBBxxx27 PROGRAMS WITH COMPLETE SAMPLES
  3.                      OF SUPPORT FILES
  4.  
  5.      (Ben Bronson, HP/RCPM, 312-955-4493, 10/31/81)
  6.  
  7. -------------------------------------------------------------
  8. The 3 BAS files that accompany this are the versions of
  9. ENTERBBS, MINIRBBS, and EXITBBS currently being run on the
  10. Hyde Park Remote CP/M system, as of October 30, 1981.  They
  11. represent a good many small changes from ENTBBS26 & MINBBS26
  12. as released several months ago.  Their names have also been
  13. changed so that they stay together when listed by a sorting
  14. directory program.  They are now called:
  15.  
  16.               RBBENT27.BAS (or BQS if squeezed)
  17.               RBBMIN27.BAS and
  18.               RBBEXIT1.BAS
  19.  
  20. The 3rd is identical with EXITBBS1.BAS; if you already have
  21. that, there is no need to take it again.  Maintenance on
  22. several of the files has to be performed by
  23.  
  24.              RBBUTL22.BAS
  25.  
  26. which seems to be too good a program for anybody to have
  27. tried changing.  You will need it.
  28.  
  29. The general way one gets these programs up and running as
  30. parts of a remote system is described in RBBSNSTL.DOC.  The
  31. versions presented here have been tested extensively and
  32. should run right out of the box with MBASIC 5.x (for testing)
  33. and with any recent BASCOM (for actual use--an interpreter
  34. is much too slow for BBS-type functions.)  The only thing
  35. you're likely to have trouble with is integrating your clock
  36. (if you own one, and they're nice to have on a RCPM system)
  37. with the other routines.  These particular versions are con-
  38. figured to run with a Mountain Hardware 100,000-day clock,
  39. one of the most old-fashioned and hardest to handle of the
  40. major brands.  Other sysops are urged to separate out their
  41. own clock routines and make these available on the RCPM net-
  42. work.  If they are called something like "RBSCLK1.BAS", etc.,
  43. then the filenames will make their function clear.
  44.  
  45. In order to put these programs on line, you could easily
  46. enough do without a clock for a while (in which case you
  47. might delete the time stuff--it's easy enough to identify),
  48. but you'll still need BYE (to answer the telephone and do
  49. all the rest of the modem handling) and a program like
  50. SECURITY (to jump the user to the user area where you keep
  51. ENTERBBS.COM, MINIRBBS.COM & EXITBBS.COM with their various
  52. support files--if they can't find those files, they'll hang 
  53. the system up).  The latest BYE as of 10/30/81 is BYE72 or
  54. 73, but any version will do just as long as it has the capab-
  55. ility of loading a COM file.  The COM file in question is of
  56. course ENTERBBS.
  57.  
  58. For security's sake, most of these files should be made $SYS
  59. files and tagged to be unxmodemable with TAG.COM if they are
  60. to be left in user areas accessible to remote users.  Many
  61. sysops prefer to keep all such files in high user areas and
  62. to use SECURITY.COM to let users communicate with them.
  63.  
  64. Note that these are the 'split' RBBS or RIBBS, with the
  65. log-on and message-service parts divided into separate
  66. modules and a log-off module added.  If you're planning to
  67. emphasize messages (to run a real BBS), you'll probably be
  68. happier using RBBS24 or RBBS25 and adding whichever features
  69. of RBBENT27 and RBBMIN27 look useful.  Most RCPM sysops, on
  70. the other hand, prefer to have the message-exchange part of
  71. their systems in a more inaccessible position, to discourage
  72. people interested primarily in bulletin board functions and
  73. to conserve disk space for software rather than chitchat.
  74. The 'split' RBBS was invented for them.
  75.  
  76. Note too that the program size cost of splitting RBBS when
  77. compiled with the old BASCOM is much less severe now that
  78. BASCOM 3.0 is available.  ENTERBBS, MINIRBBS and EXITBBS
  79. used to need almost 80 K between them for the COM files
  80. alone, not counting the support files.  With BASCOM 3.0,
  81. they are down to less than 50K, counting BRUN.
  82.  
  83. The compiled versions are fast-running.  Although slightly
  84. slower than assembly-language programs like CBBS (which you
  85. should certainly try if you're good at programming in assem-
  86. bler), they are fast enough that most people don't notice the
  87. difference.  The still-substantial size of the programs makes
  88. them slow to load, however.  ENTERBBS is pre-loaded by BYE,
  89. so its size is not an issue.  And MINIRBBS and EXITBBS load 
  90. fast enough when CHAINed-to by ENTERBBS.  But when loaded
  91. from CP/M, either can take 10 or more seconds, and that can 
  92. boredom among your users.  Keep them on outer disk tracks,
  93. and make sure BRUN is nearby if you're using versions compiled
  94. with BASCOM 3.0.  And if your controller and disks are slow,
  95. comsider doing without EXITBBS entirely.
  96.  
  97. Below are samples of all the support files used by the
  98. programs.  Looking at them and the programs themselves should
  99. make it fairly clear how they work.
  100.  
  101. There are 13 files in all, none with filetypes added to their
  102. names:
  103.      :  LASTCALR,  CALLERS,  USERS,     PWDS,   COUNTERS,
  104.         MESSAGES,  SUMMARY,  COMMENTS,  ENTRY,  NEWCOM,
  105.         BULLETIN,  DATA,     SPECIAL
  106.  
  107. ---------------------------------------------------------------
  108.  
  109. 0. The LASTCALR file:
  110.          (Created by ENTERBBS; used by all 3 programs)
  111.  
  112. CHUCK,WITBECK,SP,10/28/81
  113.  
  114. [A very short file whose main function is to pass name, status
  115.  and date information between the programs.  If at the next
  116.  log-on, ENTERBBS discovers that the new caller has the same
  117.  name as that stored in LASTCALR, it drops that person to CP/M
  118.  immediately.  Otherwise it overwrites the old name with the
  119.  new one]
  120.  
  121. ---------------------------------------------------------------
  122.  
  123. 1. The CALLERS file:
  124.          (Created & used only by ENTERBBS)
  125.  
  126.  12                                                       
  127. MICHAEL KATZ  28- 0:32                                    
  128. TODD DUPONT  28- 2:15                                     
  129. PETE JONES  28- 6:15                                      
  130. DOUG MEYERS  28- 7:26                                     
  131. ROD HART  28- 8: 8                                        
  132. DAVID STERNLIGHT  28- 8:44                                
  133. GEORGE KOTCHER OAK PARK, IL 28- 9:13                      
  134. BOB FISHER  28-10: 0                                      
  135. DAVID BORUFF  28-12:20                                    
  136. EARL BOCKENFELD  28-12:41                                 
  137. JACK RUBIN  28-13:10                                      
  138. DICK LIEBER  28-17:26                                     
  139.  
  140. [The number at the beginning counts lines; those following the
  141.  names are the day and time when that user logged on.  First-
  142.  time callers get their city and state recorded as well as 
  143.  their names.  
  144.  
  145. [Between 40 and 180 chaacters of garbage will usually follow
  146.  the last line of the file itself. The first 2 or 3 of these 
  147.  'garbage' characters are actually used by MBASIC in handling
  148.  the file; if you go into CALLERS (or USERS or COUNTERS) with
  149.  an editor, leave these chars alone...  Each line is 59 chars 
  150.  long (plus CR/LF, etc.), no matter how long the caller's name
  151.  and city/state is.  You'll have to use an editor sometimes
  152.  to cut it down unless you just wipe it out periodically and
  153.  let a new CALLERS file accumulate.  As with most other files
  154.  listed here, you'll probably want to hide this as a $SYS file
  155.  if you keep it in a publicly accessible user area.]
  156. --------------------------------------------------------------
  157.  
  158. 2. The USERS file :
  159.   (Created & used only by ENTERBBS)
  160.  
  161.  12                                                         
  162. - JOHN BOWDEN CHICAGO,IL                            19 10/16
  163. * TWEETY BIRD HILLSIDE,IL                            4 10/10
  164.   STUART SCHUMKLER CHICAGO,IL                        1 09/20
  165.   JEFF BARRINGTON ROANOKE, VA                        1 09/21
  166. * NONE OF YOUR BUSINESS, SCREW YOU                   2 09/22
  167.   KEN METHENY LISLE,IL                               1 09/22
  168. + CHUCK WITBECK CHICAGO, IL                         29 10/25
  169.   JACK JONES CHGO,ILL                                1 09/26
  170. + EARL BOCKENFELD CHICAGO,IL                        38 10/27
  171.   GREG WILLIAMS HOMEWOOD,IL                          7 10/08
  172.   PAVEL BREDER DALY CITY,CA                          1 09/26
  173.   IVAN THE TERRIBLE CHICAGO,IL                       2 09/27
  174.  
  175. [The symbols in the first space of each line are inserted
  176.  with an editor (Wordmaster or WordStar in N (not D) mode)
  177.  that does not automatically lengthen the line to accomodate
  178.  an inserted char.  Making any line even 1 char longer willè confuse MBASIC. The symbols indicate that Chuck Witbeck, a
  179.  fellow sysop, is a special ("SP") user, that John Bowden
  180.  is a regular ("RG") user, that Tweety Bird is a twit and
  181.  will be logged off immediately, and that the rest are rel-
  182.  atively new ("NW") users who receive no special privileges.
  183.  
  184. [The rest of each line is created automatically by ENTERBBS
  185.  when a user first logs in.  The program keeps track of the 
  186.  number of later logons by that user as well as the month &
  187.  day of his latest call.
  188.  
  189. [Again, the garbage at the end is necessary and should not be
  190.  removed during editing.]
  191.  
  192. -------------------------------------------------------------
  193.  
  194. 3. The PWDS File:
  195.          (Created with editor, used by ENTERBBS)
  196.  
  197. BEN,BANANA,ORANGE
  198.  
  199.  [The first is P1$, the second P2$, etc.  You can get as
  200.   fancy as you like by extending the number of password
  201.   steps in ENTERBBS]
  202.  
  203. -------------------------------------------------------------
  204.  
  205.  
  206. 4. The COUNTERS File:
  207.          (created & changed by ENTERBBS and MINIRBBS)
  208.  
  209.  54   4343 605 
  210.  
  211.  [As you see, it's very short.  The first number is that of
  212.   active messages and the second that of total calls since 
  213.   the system went into operation, while the third counts the
  214.   total number of users.  ENTERBBS & RBBSUTIL take care of this
  215.   one.  You don't have to do anything except be sure that it
  216.   is on the same disk whenever CALLERS & USERS are incremented
  217.   and messages are left or purged.]
  218.  
  219. ---------------------------------------------------------------
  220.  
  221. 5. The MESSAGES File:
  222.          (Created & added to by MINIRBBS):
  223.  
  224.  183                                                           
  225.  326                                                           
  226. 08/31/81                                                       
  227. SYSOP                                                          
  228. ALL                                                            
  229. BACKUP S-100 SYS WANTED                                        
  230.  4                                                             
  231. I'm still in the market for a backup S-100 system.  With an    
  232. 8" drive and otherwise in integrated, working condition.       
  233. Leave a msg if you have anything like that you might be inter- 
  234. ested in selling.                                              
  235.  455                                                           
  236. 10/5/81                                                        
  237. CHUCK FORSBERG                                                 
  238. BEN BRONSON                                                    
  239. PMMI YAM                                                       
  240.  3                                                             
  241. Still no sign on a pmmi version of yam.  Perhaps one of you    
  242. folks could talk pmmi into sending me a board?? I have a       
  243. s-100 system here also, so wouldn't take long. ....            
  244.  9999                                                        
  245.  
  246. [There are only 2 messages in this sample file, which endsè with a 9999 marker.  The heading for each message contains
  247.  the message number, the date (entered automatically if you 
  248.  have a clock or manually otherwise), the sender, the
  249.  receiver, the subject, and the number of lines.
  250.  
  251. [All maintenance is done by MINIRBBS & RBBSUTIL.  You normally
  252.  never have to enter MESSAGES with an editor.]
  253.  
  254. -------------------------------------------------------------
  255.  
  256. 6. The SUMMARY File:
  257.          (Created and added to by MINIRBBS)
  258.  
  259.  183                        
  260. 07/13/81                    
  261. CHUCK WEINGART              
  262. ALL                         
  263. CP/M CLUBS AND DISKS        
  264.  12                         
  265.  326                        
  266. 08/31/81                    
  267. SYSOP                       
  268. ALL                         
  269. BACKUP S-100 SYS WANTED     
  270.  4                          
  271.  455                        
  272. 10/5/81                     
  273. CHUCK FORSBERG              
  274. BEN BRONSON                 
  275. PMMI YAM                    
  276.  3                          
  277.  9999                       
  278.  
  279. [SUMMARY is just the heading of each MESSAGE separated out
  280.  into a duplicate file, for speed in searching.  It too is
  281.  completely maintained by MINIRBBS & RBBSUTIL and is rarely
  282.  if ever edited directly]
  283.  
  284. --------------------------------------------------------------
  285.  
  286. 7. The COMMENTS File:
  287.          (Created by & added to by MINIRBBS & EXITBBS)
  288.  
  289.  17                                                            
  290. From: CARMI WEINZWEIG 10/29/81                                 
  291. Thank you for the use of your system.                          
  292.                Sincerly,                                       
  293.                        Carmi Weinzweig                         
  294. From: ROY LIPSCOMB                                             
  295. Ben, one of the special commands is on the fritz again.        
  296. sorry about the # of logons today.  Trying to use              
  297. modem73 with short stack and screen-save (see 602).            
  298. Just kept blowing me away.                                     
  299. From: SIDNEY BRATKOVICH 10/29/81                               
  300. It would be nice if you could make your help a little more     
  301. useful: why print a line such as "level   2/  1: ~~^=CP/M      
  302. ^=Level .=root ...." or "2: EOI  ^C=CP/M M=Menu S=Start ..."   
  303. when the beginning user has no idea of what they mean!!        
  304. does the modem boot routine work with Apple CP/M?              
  305.  It's a little difficult answering some of your survey         
  306. questions in 34 chars. or less. No other complaints though.    
  307.                                Sid                             
  308.  
  309.  
  310.  [COMMENTS is like a disorganized MESSAGES file with no
  311.   SUMMARY.  Since it is meant to be read by the sysop only,
  312.   it should always be TAGged so that it cannot be taken
  313.   with XMODEM or MLIST.  While you can read it remotely
  314.   (if you're the sysop) by using the '9' command from MINI-
  315.   RBBS, I find that I usually just read through it using
  316.   TYPE when a non-RCPM CP/M disk is in the "A" drive.  When
  317.   it gets too long, it has to be cut down in length using
  318.   an editor.  As before, be careful to keep the lines to
  319.   their original length and to leave the garbage at the
  320.   end.  MINIRBBS does not put the date in while EXITBBS
  321.   does; this could easily be changed.]
  322. --------------------------------------------------------------
  323.  
  324. 8. The ENTRY File:
  325.          (created by you with an editor)
  326.  
  327.  
  328. : THE MONDAY 'B' DISK WILL AGAIN BE EXTENDED DUE TO SYS CHANGES.
  329. : THE REGULAR 'B' PROGRAMS NOW WILL NOT BE BACK ON LINE UNTIL
  330. : NEXT TUESDAY.  THERE IS HOPE OF GETTING A 3RD DRIVE BY THEN.
  331.  
  332.  
  333. [ENTRY serves to pass a short bulletin or two to each caller.
  334.  On HP/RCPM, the "This is 312-955-4483" stuff is kept in a
  335.  in a similar file (also creaed with an editor) named WELCOME,è which is called by BYE before it passes control to ENTERBBS. 
  336.  Except for the time stamp, ENTRY is the first thing the caller
  337.  sees that is printed by ENTERBBS and not BYE.
  338.  
  339.  Any editor will do.  Even WordStar in Document mode if you
  340.  want.  But the file must be called ENTRY with no filetype.]
  341.  
  342. ---------------------------------------------------------------
  343.  
  344. 9. The NEWCOM File:
  345.           (created by you with an editor):
  346.  
  347. [No sample is given here.  For first-time callers, it is the
  348.  next text file that is printed after ENTRY.  It gives whatever
  349.  system information you figure new callers should know about.
  350.  Unless you have screwed up the USERS file by using your editor
  351.  carelessly, no user should see this one after the first time 
  352.  he has signed on the system.
  353.  
  354. ---------------------------------------------------------------
  355.  
  356. 10. The BULLETIN File:
  357.           (created by you with an editor):
  358.  
  359. [I use it to present 2-6 line reviews of very new programs, 
  360.  with the newest on top.  But you may prefer to use it for 
  361.  something else.  The BULLETIN file on HP/RCPM can be taken 
  362.  with XMODEM or TYPE (=MLIST) if you don't have time to write
  363.  all the mini-reviews yourself.  Read by both ENTERBBS &
  364.  MINIRBBS.]
  365.  
  366. ---------------------------------------------------------------
  367.  
  368. 11. The DATA File:
  369.          (Created by you with an editor)
  370.  
  371. [It's helpful to use this for a few short reminders of what to
  372.  do once the user enters CP/M.  It's the last thing he sees
  373.  before dropping into it out of ENTERBBS]
  374.  
  375. ---------------------------------------------------------------
  376.  
  377. 12. The SPECIAL File:
  378.          (Created by you with an editor)
  379.  
  380. [Bulletins for special users.  The file makes it possible, for
  381.  instance, to tell trusted indivduals about commands and other
  382.  system features that could cause trouble if known to inexper-
  383.  ienced or irresponsible users.]
  384.  
  385. ---------------------------------------------------------------