home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.bbs.misc
- 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
- From: sosc1056@wc26.writer.yorku.ca (Rodney Mui)
- Subject: BBS Contruction Kit
- Message-ID: <1993Jan28.190810.28598@newshub.ccs.yorku.ca>
- Keywords: BBS Standard Contruction C C++
- Sender: news@newshub.ccs.yorku.ca (USENET News System)
- Organization: York University
- Date: Thu, 28 Jan 1993 19:08:10 GMT
- Lines: 74
-
- This is a paraphrased excerpt from another network.
-
- BBS Contruction Kit
- ~~~~~~~~~~~~~~~~~~~
- Languages: C++
-
- How it works...
-
- Basically it works by utilizing modules to build up a BBS program.
-
- The main BBS program is divided into several modules...
-
- a) File access modules
- b) Communication routine module.
- c) Loader module
- d) Message control module,
- e) Menu control module.
- f) Startup module.
- g) WFC module.
- h) File transfer module.
- i) Login module.
- j) New User module.
- k) Door control.
- h) Other modules.
-
-
- It utilizes its own compiler to do commands in modules C onwards. It
- requires a separate compiler to do the other modules.
-
- When compiling, the communications and file access modules are to be in
- overlays.
-
- The loader is executed to run the BBS. This loader will then load up the
- file access modules and in turn access/parse the startup module. The
- startup module is designed to read configuration files and the like and
- load up the WFC (if a mailer is not used).
-
- When the WFC/Mailer detects a BBS caller, the BBS calls up the login
- module which gets the user's name, etc. If it is a new user, the new user
- module is loaded up.
-
- The new user module is for extracting new user information/verify the
- user/add the user to the user list/etc. Once this is done, the menu
- control module is loaded up the the appropriate menu name (startup)
-
- The menu will then be able to call other modules, such as file transfer
- (uploads and downloads), message control (entry, posting, echoing, etc.),
- door control (make DOOR.SYS, DORINFO1.DEF, etc. files and load up the
- program.), other modules which can be defined as doors as well.
-
- Benefits...portability...
- Since the communications driver and the file access drivers are the only
- ones with the low level functions, much of the code can be easily
- transfered between operating systems.
-
- Communication routines can be changed to support communication interrupts
- of DOS, FOSSIL, MAXCOMM, OS/2 COMM.DLL, Windows COMM.DLL or other
- customized Communications drivers. This mean that only the communications
- driver routine has to be changed if the file system calls are similar.
-
- The loader module has been proposed to be made into the most portable
- source code possible so it only has to be compiled in another C compiler
- of another operating system for it to work.
- ##########################################################################
- This project was proposed to make it easier for novice programmers to make
- BBS programs as most of the needed control systems are already done and
- the C language subset will also make it easier for them to program and
- learn the C language in the process.
-
- It was also proposed to make sure that it will make it easier for BBS
- programers to release their BBS programs for other operating systems.
-
- (So if C was used in nintendo, we can make a BBS program for the SNES :-)
-
-