home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / bbs / misc / 1915 < prev    next >
Encoding:
Text File  |  1993-01-28  |  3.3 KB  |  86 lines

  1. Newsgroups: comp.bbs.misc
  2. Path: sparky!uunet!europa.eng.gtefsd.com!emory!gatech!paladin.american.edu!howland.reston.ans.net!spool.mu.edu!yale.edu!qt.cs.utexas.edu!cs.utexas.edu!torn!newshub.ccs.yorku.ca!news
  3. From: sosc1056@wc26.writer.yorku.ca (Rodney Mui)
  4. Subject: BBS Contruction Kit
  5. Message-ID: <1993Jan28.190810.28598@newshub.ccs.yorku.ca>
  6. Keywords: BBS Standard Contruction C C++
  7. Sender: news@newshub.ccs.yorku.ca (USENET News System)
  8. Organization: York University
  9. Date: Thu, 28 Jan 1993 19:08:10 GMT
  10. Lines: 74
  11.  
  12. This is a paraphrased excerpt from another network.
  13.  
  14. BBS Contruction Kit
  15. ~~~~~~~~~~~~~~~~~~~
  16. Languages: C++
  17.  
  18. How it works...
  19.  
  20. Basically it works by utilizing modules to build up a BBS program.
  21.  
  22. The main BBS program is divided into several modules...
  23.  
  24. a) File access modules
  25. b) Communication routine module.
  26. c) Loader module
  27. d) Message control module,
  28. e) Menu control module.
  29. f) Startup module.
  30. g) WFC module.
  31. h) File transfer module.
  32. i) Login module.
  33. j) New User module.
  34. k) Door control.
  35. h) Other modules.
  36.  
  37.  
  38. It utilizes its own compiler to do commands in modules C onwards.  It  
  39. requires a separate compiler to do the other modules.
  40.  
  41. When compiling, the communications and file access modules are to be in  
  42. overlays.
  43.  
  44. The loader is executed to run the BBS. This loader will then load up the  
  45. file access modules and in turn access/parse the startup module.  The  
  46. startup module is designed to read configuration files and the like and  
  47. load up the WFC (if a mailer is not used).
  48.  
  49. When the WFC/Mailer detects a BBS caller, the BBS calls up the login  
  50. module which gets the user's name, etc.  If it is a new user, the new user  
  51. module is loaded up.
  52.  
  53. The new user module is for extracting new user information/verify the  
  54. user/add the user to the user list/etc.  Once this is done, the menu  
  55. control module is loaded up the the appropriate menu name (startup)
  56.  
  57. The menu will then be able to call other modules, such as file transfer  
  58. (uploads and downloads), message control (entry, posting, echoing, etc.),  
  59. door control (make DOOR.SYS, DORINFO1.DEF, etc. files and load up the  
  60. program.), other modules which can be defined as doors as well.
  61.  
  62. Benefits...portability...
  63. Since the communications driver and the file access drivers are the only  
  64. ones with the low level functions, much of the code can be easily  
  65. transfered between operating systems.
  66.  
  67. Communication routines can be changed to support communication interrupts  
  68. of DOS, FOSSIL, MAXCOMM, OS/2 COMM.DLL, Windows COMM.DLL or other  
  69. customized Communications drivers.  This mean that only the communications  
  70. driver routine has to be changed if the file system calls are similar.
  71.  
  72. The loader module has been proposed to be made into the most portable  
  73. source code possible so it only has to be compiled in another C compiler  
  74. of another operating system for it to work.
  75. ##########################################################################
  76. This project was proposed to make it easier for novice programmers to make  
  77. BBS programs as most of the needed control systems are already done and  
  78. the C language subset will also make it easier for them to program and  
  79. learn the C language in the process.
  80.  
  81. It was also proposed to make sure that it will make it easier for BBS  
  82. programers to release their BBS programs for other operating systems.
  83.  
  84. (So if C was used in nintendo, we can make a BBS program for the SNES :-)
  85.  
  86.