home *** CD-ROM | disk | FTP | other *** search
-
- CdCom - CD-ROM Support Door Ver 1.1c
- This Version Supporting most Shareware CDROM Disks (except pc-sig)
-
- 10/11/91 Ver 1.1b Note - Slow Screens
- Although I cannot explain it, the compiler I use for the door just seems
- to love math coprocessors. If you do not own one, the screens will seem
- slow and jerky. If you own one, they will just zoom right along. I have
- always had a math coprocessor, and never noticed the problem until I logged
- onto some of your bbs's and noticed the slow screens. So if you would
- like to see a dramatic speed increase in the door, and do not have a
- math coprocessor installed in your system, you may want to add one.
- The prices have recently plummeted on them making them quite affordable.
- The ads in the back of PC Week magazine list some very competitive companies
- selling math coprocessors and the such in the component ads section.
- Its up to you however, as you may not have other programs that
- use math coprocessors. Its just one idea. - End Note
-
- CdCom is a full featured door program for allowing your users access to
- the shareware types of cdrom disks. The door allows listing of files by
- category, searching for text, viewing of files and downloading. Batch
- downloading is available for protocols that support it. See PROTOCOL.DOC
- in this file for more information on this.
-
- This version represents my first attempt to have one door program to
- work with all types of cdrom disks. My previous method was to release
- a different version for each disk. However due to time considerations,
- and just the total hassle of doing it that way, I have attempted with
- this release to just have one program for all these disks. Configuration
- files for the various disks I have come into contact with over the years
- are in the cfgfiles.zip file in this zip. The makexrf.doc file covers
- all these setups. If you are running a disk that this door previously
- supported, all cdcom work files (.crf, .pth, descriptions and pointer)
- should work just fine with the new version. Some things have changed
- however, so you will need to read this doc file before attempting to
- run it with your disk. New setups just follow the configuration steps
- and there should be no problems.
-
- This door was written to use Wildcats CALLINFO.BBS door user information
- file, however it can be run with other bbs software by simply creating a
- callinfo.bbs file using a conversion program. Callinfo.bbs is the only
- Wildcat specific file that CdCom uses. See notes at the end of this
- documentation file for more info on callinfo.bbs and what info CdCom
- uses out of it.
-
- Wildcat ver 3.0 does not write a callinfo.bbs file. At this time you will
- need a conversion program to make callinfo.bbs from door.sys. There are
- ones available out there that do work just fine, but if needed I will
- write one. I will undoubtably support the door.sys file in the near
- future, but that will require some time to convert over to it so it won't
- be anytime soon.
-
- The following files should be in this CDCOM.ZIP file:
-
- CDCOM.EXE - Main Program
- CDCOM.DOC - Documentation
- CDCOM.BBS - Main Menu Screen
- CDCOM1.BBS - Sample Logon Dump Screen
- CDROP.BAT - Sample Shell to DOS Batch File
- CDCOM.HLP - Help File Explains Commands
- PROTOCOL.BAT - Main Protocol Batch File
- PROTOCOL.DEF - Protocol Configuration File
- PROTOCOL.DOC - CdCom Protocol Usage Doc's
- PROTOCOL.BBS - Protocol's Avaialable Menu
- RVMX.COM/DOC - Allows you to use EGA/VGA memory as extra dos memory
- SAMPLE.BAT - Sample Batch File for Running Cdcom
- REPORT.TMP - Template used to generate top 45 downloads report
- MAKEXRF.DOC - Doc File for MAKEXRF.EXE Program
- MAKEXRF.EXE - Setup Program For Converting Descriptions and Creating
- CdCom Work Files
- CFGFILES.ZIP - Various configuration files for different disks.
- ERRORS.DOC - Lists errors generated by program
- REGISTER.DOC - Program registration information
- README.1ST - Most recent information on program
-
- In the CFGFILES.ZIP file will be individual zip files for the various
- disks that the door previously supported. The zip files are named by
- the disk they support. In those zip files should be at least the
- following:
-
- CDCOM.DEF - door configuration file
- CDCOM.CAT - file category control file
- CATEGORY.BBS - file category menu file
- MAKEXRF.CFG - configuration file for makexrf
-
- there may be other files in these config zip files for certain disks.
- Makexrf.doc should cover these.
-
- As well as this CdCom will create or use:
-
- CDCOM.XRF - Sorted Cross Reference file for Quick File Searches
- CDCOM.USR - Logs users downloads and download kb in door
- CDDISK.RPT - Report of Whats on Cdrom Disk.
- CDCOM.PTH - Contains Paths on Cdrom Disk, Used by Door.
- CDCOM.RPT - Top 45 downloads report
- CALLINFO.BBS - Wildcat's Caller Info Created When a Door is Run.
- CDCOM.LOG - A log file that lists what the user did
- CDCOM.TDY - Keeps track of users time for the day
- CDCOM.SEC - Online Time in door/ratio check by security config file
- CRITICAL.LOG - Updated when a program error occurs. I'll need the info
- in here if you call for help.
-
- Note:
- For multi-node setups some of these files will have different names.
- Please refer to multi-node setup instructions below even if you are not
- going to run multi-node.
-
- There are no internal protocols in this door. A minimum setup requires
- DSZ for Xmodem, Ymodem, Zmodem. This program and others are covered
- in PROTOCOL.DOC. Read this before running CDCOM. You can get the
- latest version of DSZ from the dsz bbs at (503) 621-3746. Download
- as DSZ.ZIP.
-
- There is also no internal view code for zips and other compressed
- files either. The door has been written to support AviewCom to do
- these functions. AVIEW54A.ZIP is the latest version the door has
- been tested with. See below for more information.
-
- The distribution package (unregistered version) has the following
- features disabled:
-
- 1) Color menus are not allowed.
- 2) Cdcom.sec support is not functional.
- 3) Top 45 download report is not functional.
- 4) Only 3 files can be batch downloaded at a time.
- 5) Future versions will have record updating and advanced ratio checking.
- This will not be enabled in unregistered version.
-
- These features are enabled after registration. All other features of
- the door are functional besides these.
-
- There is also a message given to the user when they go to download
- that the program is unregistered. This will cease after registration.
-
- ===========================================================================
-
- SET-UP:
-
- The door uses various work files that must be created. Makexrf.exe will
- create most of them itself, however there are some you will have to
- create with a text editor.
-
- Description listing/reading/searching is handled by cdcom thru one
- main description list that is sorted alphabetically. It can be
- sorted forward or backwards, and cdcom can handle it depending on
- the version of the door. If such a list is not available makexrf can
- make one from the listings you should have. See section 2 below.
-
- Note that MAKEXRF ? or MAKEXRF HELP will tell you all the command
- line parameters that MAKEXRF acknowledges. Also remember that
- ERRORS.DOC has most of the common error #'s covered that may
- be generated by cdcom or makexrf during operation. Check this file if
- you get an error.
-
- 1) Make a separate directory for this cdrom door. Un-zip all files
- into it.
-
- 2) Run the MAKEXRF program to create work files and convert descriptions
- if necessary. See MAKEXRF.DOC for details on this. This is a major
- step so read makexrf.doc carefully, and don't miss any steps in it.
-
- 3) Modify CDCOM.DEF file for your system. See explanation below.
-
- 4) Configure PROTOCOL.DEF and PROTOCOL.BAT for the protocols you
- want to support. See PROTOCOL.DOC for an explanation on how
- CdCom handles protocols.
-
- The door at this point is ready to run. You can edit the menu files
- later on to your tastes.
-
- ===========================================================================
-
- CDCOM.DEF:
-
- This is the main configuration file for CdCom. This file will have a
- different filename for multi-node systems. See multi-node section below
- even if you are not running multi-node. You will need a text editor
- (edlin being the most basic one) to modify/create this file.
-
- CDCOM.DEF set-up file:
-
- 1> h: ; drive letter of cdrom drive
- 2> c:\cdcom ; where cdcom will be located
- 3> on ; bell on/off when paged
- 4> 1000 ; lowest security allowed to drop to dos via cdrop.bat
- 5> 50 ; minumum security allowed to download
- 6> c:\cdcom ; alternate path for cdcom.log file
- 7> d:\master.cat ; path to sorted description file ( + filename)
- 8> n ; toggle y/n to allow auto log-off from within prgm
- 9> c:\cdcom\node1 ; path to temp work directory
- 10> y ; send files from cdrom (y) or from temp work dir (n)
- 11> n ; reboot if cdrom drive timeout y/n
- 12> y ; add ---- to log file between users
- 13> 1,36,40 ; normal text color
- 14> 1,37,40 ; hi-lighted text color
- 15> 81 ; description line length, makexrf.dat reports this
- 16> 0 ; leave 0 unless using rbbs-in-a-box disk
- 17> 1 ; 1 = multi-line descriptions, 0 = single line desc's
-
- On all drive:\path designations do not put a trailing backslash "\".
-
- You can have comments on the same line, just begin them with a ";".
- Cdcom will ignore any text past that. Do not wrap comments around to
- the next line however. They can go as far right as you want though.
-
- 1> Drive letter of the cd-rom. Make sure to put the ":" after the drive
- letter.
-
- 2> Drive and path where Cdcom will be run from.
-
- 3> Turn page alert tone on or off. Its a "red alert" type tone, will
- definately get your attention.
-
- 4> Lowest security user that will be allowed to shell into dos from
- the program. It shells to CDROP.BAT, that will let you turn on watchdog,
- CTTY AUX1, etc. See example batch file. The shell command is not displayed
- in the menu, it is the "^". If you don't want to use this feature then make
- it a number larger than any security level you might have, like 10000. This
- is also a multi-node filename changing type of file.
-
- 5> Minimum security allowed for downloading. This allows you to open
- the program up so all users can access it, read/search descriptions
- but not be able to download until they register. Any number is valid,
- so if you enter a 0 then all securities can download from the program.
-
- 6> Path for the log file. This way you can have it written to
- your BBS system files area or wherever so you can use the [R]ead a text
- file command from Wildcat and read the log file, else in Wildcats case
- you would have to add the path to CdCom in the configuration. Do not
- make this the same directory as line 9. The line 9 sub-dir is a
- scratch directory for cdcom, and all files are killed periodically
- from that directory during program operation.
-
- 7> Full path plus filename for the sorted description file. This will
- be the same filename from step 2 of the setup (see above).
-
- 8> Toggle to allow or disallow auto-logoff after downloading from within
- door. The door has an automatic 3 minute timeout logoff even if you
- disable this function, it will simply exit gracefully back to the bbs
- and the bbs can log them off. The user is also given a 20 second
- countdown in order to abort auto log-off.
-
- 9> Temporary work directory for viewing or downloading files. This
- directory should be SEPARATE for each node if you are running a
- multi-node system. DO NOT make this the same directory as the
- work directory as all files get erased in this directory throughout
- various times when the door is running. Do not store callinfo.bbs
- here or any other files, as they will get erased. This is a scratch
- directory for the program, not for longterm storage of files. A ramdisk
- would be ideal for this purpose.
-
- 10> Send files from cdrom disk or from hard disk. A Y will send the
- files from the cdrom disk, a N will cause cdcom to copy them to
- the temp dir specified by line 9 (see above) and send them from
- there. Cdcom has its own internal copy routines, so if you are
- having problems with dsz giving you the classic CDR 101 error with
- this set to Y, then try changing it to N and let cdcom attempt to
- copy them over. If it bombs it will exit gracefully with an error
- 71 or 72 and go back to the bbs instead of hanging your system up.
-
- 11> Auto reboot toggle. If cdcom encounters a cdrom drive time out
- (CDR 101 also) you have the option to have it reboot your computer.
- I've found this can "wake up" the cdrom drive sometimes, especially
- for older drives or older versions of the drivers. Reboot will occur
- on error 71 or 72. This is of course unwanted in multinode setups.
-
- 12> if you want a dashed line ---- between users in the log, put a y
- here. Some callers log programs don't like this though, so if your
- using one that doesn't just put a n here. The dashed line makes it
- a little more readable though for general use.
-
- 13> Normal text color. For users who selected ansi, this will be
- the text color they recieve. See pg. 595 of ms-dos 5.0 manual
- for a breakdown of the colors. Make sure you separate them with
- a comma, DO NOT USE a ; to separate them, it will not work! Color
- also will not work on un-registered versions, however this line
- cannot be omitted (it can be blank).
-
- 14> Hi-lighted color. Items surrounded in <>, () and [] will
- be hi-lighted using this color, as well as any other pertinent text.
- All rules from line 13 apply here also.
-
- 15> Description line length. See makexrf.doc for explanation of this.
- After makexrf has converted descriptions (if necessary) it will create
- a file called makexrf.dat that will have the correct value to enter here.
-
- 16> toggle to read description file forwards (=0) or backwards (=1).
- Rbbs-in-a-box disks are the only ones I know of that have the description
- file sorted backwards, so this needs to be 1 for their disks. However not
- all versions of riab disks have the description file backwards, so verify
- this before setting this to 1. Most disks will have this set at 0.
-
- 17> Single/multi line description toggle. Multi-line descriptions are
- designated by having an | in column 32. If so set this value to 1,
- otherwise leave it at 0. See makexrf.doc for further explantion of this.
- The | does not have to be in column 32, however makexrf will place it there
- if its not when it converts the descriptions, but if you have an existing
- description file then don't worry about the exact location. However it does
- have to contain a | to be a multi-line description or cdcom won't be able
- to handle it correctly.
-
- ==========================================================================
-
- MULTI-NODE SETUP:
-
- The following files are altered for multi-node setup.
-
- CDCOM.DEF
- CDCOM.LOG
- CDCOM.SEC
- CDROP.BAT
-
- The change will be in that cdcom will add the node number to the
- filename, so for node 1 you would have:
-
- CDCOM1.DEF
- CDCOM1.LOG
- CDCOM1.SEC
- CDROP1.BAT
-
- Cdcom will read line 35 of callinfo.bbs for the node number. Even if
- you are not running multi-node, if wildcat or your conversion program
- is writing a number here you must take this into account and modify these
- filenames as so. If you are running an earlier version of Wildcat, or
- your conversion program writes nothing here then cdcom will use the
- non-altered filenames (cdcom.def, cdcom.sec, etc).
-
- In cdcom#.def, insure that line 9 the temp directory is a SEPARATE
- directory from all the other nodes. This is VERY important! So
- a good setup would be as so:
-
- C:\CDCOM
- \NODE1
- \NODE2
- \NODE3
-
- Line 9 for CDCOM1.DEF would be C:\CDCOM\NODE1
- Line 9 for CDCOM2.DEF would be C:\CDCOM\NODE2
-
- All files are opened in share mode, so you can share the description file,
- category file, menus, etc. Just don't share the temp directory.
-
- Note that most LAN's require that all .EXE, .COM and .BAT files are
- read-only. You can also read-only the cdcom work files if you wish,
- except for:
-
- CDCOM#.LOG
- CRITICAL.LOG
- CDCOM.TDY
- CDCOM.XRF
- CDCOM.USR
-
- If you register the program then insure that CDCOM.EXE is not read-only.
- You can change it back after the registration process.
-
- ============================================================================
-
- PROTOCOLS:
-
- Protocols are dynamic in CdCom. They are controlled by
- PROTOCOL.DEF. PROTOCOL.BBS/SCR is simply a display file
- to let the user know what protocols you support. It in no
- way reflects what you have active. CdCom shells to PROTOCOL.BAT
- for sending files. Read PROTOCOL.DOC for more info on this.
-
- ==========================================================================
-
- MENU and TEXT Files:
-
- The following files are either dumped as ansi or text depending
- on the users selection (callinfo line 6). Text versions are
- supplied in the program. The menu selection codes are hardcoded into the
- program however and cannot be changed at this time.
-
- cdcom.bbs - main menu
- cdcom1.bbs - intro dump file
- protocol.bbs - protocol selection menu
- category.bbs - category listing menu file
-
- Color screens should have a .SCR extension, ascii files a .BBS extension.
-
- The unregistered version of this program does not allow color screens.
- Registration will enable this feature.
-
- Information from callinfo.bbs can be displayed by putting a ctrl-c
- then the line number of the information you want immediately afterwords.
- So a 05 will display the users time left, and 20 would display the
- protocol they are using. See bottom of this doc file for a breakdown
- of callinfo.bbs. Note the number must be 2 digit, so 1 - 9 must have
- a leading 0.
-
- By inserting a ascii 1 (ctrl-a) you can make the screen pause with
- a <C>ontinue, <S>top, <N>onstop prompt, and a ascii 2 will make it
- pause with a Press [Enter] To Continue prompt. It will occur immediately
- upon reading one of these characters, so watch where you place it in the
- file.
-
- Note that cdcom1.bbs/.scr is not a multi-node file, so you don't need
- cdcom2.bbs/.scr etc. I just called it that for lack of imagination.
-
- =========================================================================
-
- RUNNING CDCOM:
-
- You must pass the full path and filename to cdcom for callinfo.bbs
- on the command line. For multi-node setup it is a very-bad-idea
- to copy callinfo.bbs to the cdcom work directory, then run it
- as:
-
- cdcom callinfo.bbs
-
- Although this will work, the next user who goes in overwrites the
- previous callinfo.bbs there. A worst case scenario would of course
- be a simultaneous entrance into the door of you and your worst user,
- and he gets logged on as you. Plus the fact that aviewcom will delete
- callinfo.bbs when it is all done makes this not-the-best-idea. A
- better idea is to use:
-
- cdcom c:\wildcat\node1\callinfo.bbs
-
- passing cdcom the entire path to callinfo.bbs from the node they came from.
- This way there are no collisions, no overwrites and hopefully no problems.
-
- Simply running cdcom with no command line will put it into a "local"
- local mode, it will not require a callinfo.bbs at all. It will
- prompt you for the info it needs (with default values in brackets [ ] )
- then run the program as it would in local mode via callinfo.bbs, except
- for downloads. When you go to download it will copy the files to a
- destination you can specify or use the default (default is temp dir
- line 9 of cdcom.def). It will also check for free space on disk,
- handy for copying off to floppy. It will ask you for the node number
- also, if you hit enter here it will assume no node number and operate
- as so. If you are on one of your nodes then enter that number.
- Note that it still requires cdcom.def (or cdcom#.def) and all other work
- files, so insure the door is configured properly for your system and the
- node you are on.
-
- See the file SAMPLE.BAT for a sample batch file for running CdCom
- on your bbs.
-
- If you are running the program on a non-Wildcat system insure
- that there is sufficient memory for CdCom to run. It is advised
- to use a shell that removes the BBS software from memory giving
- CdCom maximum room. CdCom uses approximately 220k, and you must
- still leave room for DSZ and Aviewcom to run. Aviewcom uses
- pkunzip to extract text from a zip, and pkunzip uses 70k of
- memory so you need about 400k free when you exit your bbs software.
- An error 7 will be generated by cdcom if there is insufficient memory
- for it to shell to any of these two programs (although the program that
- is being shelled to may still bomb with insufficient memory). On LAN
- systems it will probably be necessary to use a program that will allow
- you to load the LAN drivers into high memory to free up enough memory
- to run these programs. I do not run these programs so please don't call
- me and ask me about it, cause I really don't know.
-
- Cdcom will also set dos errorlevel upon exit from the program. Here
- are the values that can be set:
-
- ErrorLevel 0 = Normal Logoff.
- ErrorLevel 1 = Critical/Fatal Error Occured.
- ErrorLevel 2 = User Auto-Logged Off After Download.
- ErrorLevel 3 = User Dropped Carrier in Door.
- ErrorLevel 4 = Users Time Expired in Door.
- ErrorLevel 5 = User denied Access to CdRom Disk or Security Not in Cdcom.sec
-
- That should pretty much cover most situations you may want to test for.
-
- ===========================================================================
-
- VIEWING FILES:
-
- CdCom supports AViewCom thru the protocol.bat file. All parameters
- passed are listed in protocol.bat. These should be sufficent for
- most setups. Note that AViewCom can be told to use callinfo.bbs
- for information it needs, however since CdCom does not re-write
- callinfo.bbs when shelling to AViewCom the user will get the same
- time in AViewCom as when they exited the bbs. On the command line
- however I pass the true time they have left online to AViewCom. This
- would only be undesirable (using callinfo.bbs for Aviewcom) if you
- are allowing users to download files from Aviewcom.
-
- If AviewCom is having memory problems, it will be noticable when you
- try to read or extract files from the zip. It will say something like
- Error Accessing filename.ext. All you can do is try to free up some
- more memory and try it again.
-
- Aviewcom is available from His Board as AVIEW54A.ZIP. This was also
- the version cdcom was tested with. AviewCom's support BBS is
- (619) 457-2665, HST. Any problems with AviewCom should be reported
- here.
-
- It is recommended that you create a separate directory for Aviewcom
- on your hard disk and path it. Aviewcom knows where it is located
- (dos passes it the full path) so it can find all its work files no
- matter where you run it from. This way you can quickly update it
- as new versions come out, and the files won't get mixed up with
- CdCom files. I am working with the author of AViewCom to make
- sure the two programs run well together.
-
- Here is how cdcom handles aviewcom. Explanation of the commands is
- giveb below.
-
- aviewcom %2 %3 -t%4 -a%5 -p%6 -e%7 %8
- this line locks downloads
- rem aviewcom %2 %3 -t%4 -a%5 -p%6 -e%7 -d
-
- %2 is the full filename with path
- %3 is comport (COM1, COM2, etc or LOCAL)
- %4 is time left online, as calculated from program
- %5 is ansi on=1, off=0 or choose=2 (program passes 0 or 1 however)
- %6 is the path to temp dir, given by line 2 cdcom.def for pcsig version
- of door, or line 9 for the other versions
- %7 is the extractor to use
- %8 is the connect baudrate (for calculating file xfer times) or -d
- %9 is the node number (from callinfo.bbs line 35)
-
- The following information was extracted from the aviewcom 5.4a docs.
- I also added any other important information about how cdcom may handle
- some of these parameters.
-
- %3 is either 'com#' or 'local' where # is from 1 to 8
- This is an optional parameter and defaults to local.
- In local mode no transmission is sent to the com port.
-
- -t# (%4) # is the number of minutes to be allowed.
-
- -a# (%5) 0 = no ANSI. In this mode, all display is MONO.
- 1 = ANSI color. All display is in ANSI color.
- 2 = prompt caller for ANSI color or not (default).
-
-
- -ptpath (%6) is an optional parameter and if omitted, defaults
- to the current working directory. tpath is any
- valid DOS path and specifies a temporary directory
- for the external extractor to use when extracting files.
- A useful tpath is a ramdrive. The '-p' indicates
- that a DOS pathname follows.
-
- -e# (%7) Used to specify an archiver where # is as follows:
- 0 pkarc (.COM or .EXE)
- 1 pkpak
- 2 pak
- 3 arc
- 4 pkzip [default]
- 5 zoo
- 6 lha
- 7 arj
-
- If you use code 2, make sure that PAK.CNF is such that
- the archive will not be deleted after extracting it. The
- specified extractor is also used to create the temporary
- archive which is assigned the name AVIEWnnn.???.
-
-
- -r# (%8) Define the connection baud rate for file xfer calculations.
- Cdcom will pass either a -rbaudrate or a -d depending on if the
- users security is sufficient for them to download (cdcom.def
- line 5). If they are allowed to download in cdcom, it will pass
- a -rbaudrate to %8, if not it passes a -d to %8. If you are
- by default not allowing downloads from aviewcom, then remove
- the %8 parameter and replace it with -d (see above example).
-
- -d disables the download option. This is included for those
- systems which prefer not to allow downloading. If not
- included, downloading is enabled and external protocol
- programs must be somewhere in the DOS path.
-
- ==============================================================================
-
- SECURITY FILE: (optional) CDCOM.SEC
-
- CDCOM.SEC allows you to assign users a certain amount of time total
- allowed in the door by security level for the day. This also
- allows you to lock any security levels out of the program. A users
- download to upload ratio can also be controlled here.
-
- This feature is not enabled in unregistered versions of the program.
-
- The format goes as follows:
-
- number of security levels
- security,time (in minutes), dl/ul ratio
-
- 8
- 5,0,1
- 10,15,2
- 15,25,5
- 20,45,10
- 50,60,25
- 100,90,50
- 1000,500,100
- 5000,10000,0
-
- So here you have 8 security levels, 5 thru 5000.
- To lock a security level out simply put a 0 for time allowed.
- So in this example security level 5 is locked out, 10 gets 15
- minutes, 15 gets 25 minutes, etc. This value is the maximum
- amount of time they will get for the day. It will compare this time to
- the time left that is in callinfo.bbs. If the time left reported
- by callinfo.bbs is greater than the allowed time, they will get
- the allowed time. If the time left reported by callinfo.bbs is less
- than the allowed time they will get the time left that is reported
- by callinfo.bbs.
-
- ex: callinfo.bbs reports 90 minutes left, users security is 10 so
- they get 15 min.
- ex: callinfo.bbs reports 25 minutes left, users security is 1000,
- they get 25 min.
-
- If you do not have the CDCOM.SEC file installed, then CdCom
- will let all securities in, and give them the time left in
- callinfo. However if you use this file then INSURE that
- EVERY security level your system uses is accounted
- for. The program will abort if it encounters a security
- level not listed in cdcom.sec.
-
- Note this is a multi-node file, so you can make it different
- for each node if you wish. Node 1 is cdcom1.sec, node 2 is
- cdcom2.sec, etc. The format and rules are the same however.
-
- The time listed in cdcom.sec is the maximum amount of time for the user
- in the door for the day. Even if they raid the timebank (if you run one),
- this is all the time they will get total for the day in the door. Once
- the user exits the door their time remaining is written to a file called
- CDCOM.TDY. The value that is written here is the value in cdcom.sec minus
- how long they were in the door. So if they are security level 50 (60 minutes
- total in door for day), and are in the door for 10 minutes, a value of 50
- minutes will be written to cdcom.tdy. This once again is the maximum value
- they will have for the rest of the day. If they raid the timebank and take
- out 90 minutes, the door will only give them 50 minutes in the door. Once the
- user has entered the door once during the same day, the value in cdcom.sec is
- ignored till the next day, and only the value in cdcom.tdy is used.
-
- If there is an error in operation in the door or if you had something configured
- incorrectly then there is a chance that the time for that user will get
- set to 1 minute in this file. CdCom reads this file on start-up and will
- use the time out of here if the date matches up. To get around this
- (the 1 minute problem) just delete this file and start over. Its not
- that big of a deal its only really used for the current day, not for
- longtime use. CDCOM.SEC controls the total time for the day, and cdcom.tdy
- keeps track of how much of this time they have used for the current day.
-
- The dl/ul ratio level will be checked against this number here everytime
- they enter a filename to download. It is a straight division, the number
- of downloads divided by number of uploads. So if you put 2 here, a user
- can still download at 10 downloads/5 uploads, but at 11 downloads/5 uploads
- they will be locked. A zero value (0) here (security 5000 in example) means
- no ratio check will take place, this user can download freely until they
- run out of time. I will add DL kilobyte checks later. If the user has
- 0 uploads, then a subtraction is performed (# downloads - # uploads) and
- if this result is greater than this number they will be locked. So a
- 2 here will let 2-0 pass, but 3-0 will get locked.
-
- =============================================================================
-
- MISCELLANEOUS STUFF:
-
- CdCom can generate a top 45 downloads report file by running:
-
- CDCOM REPORT
-
- The file REPORT.TMP is the template that cdcom uses to create this file.
- You can change the top 2 lines for your bbs information or whatever. Cdcom
- will write one more line at the bottom of this for totals. Note that you
- can only edit the top 2 lines. The 3rd line has to be the start of the
- report. I tried to write it so it would fit on one screen. It will add a
- clear screen to the CDCOM.RPT file so don't add one to report.tmp. Sorry
- no ansi output, I just don't have the time to mess with it right now.
-
- This feature is not enabled in the unregistered version.
-
- =============================================================================
-
- CDCOM WORK FILES:
- -----------------
-
- Here is some supplemental information on the cdcom work files, in case you
- are interested. Some of these can be changed, others not at all.
-
- CDCOM.CAT
- ---------
- This file has all the categories and their select codes in it. It is used
- for the <L>ist files by category function. Its format goes as follows
-
- number of categories
- select code,category name
-
- ex:
-
- 3
- 001,Communications
- 002,Games
- 003,Programming Utilities
-
- You can modify this file if you like. To remove a category, simply remove
- the line from this file, and decrement the number of categories by 1. Ex:
-
- 2
- 001,Communications
- 002,Games
-
- gets rid of 003, Programming Utilities. If the user selects category 3
- they will be told it does not exist. Note that the 003 select code is for
- matching up in the description file. A user at the category prompt can
- enter a 3 instead of an 003, cdcom can handle it either way. The entry
- in cdcom.cat must have all leading 0's though.
-
- CDCOM.PTH
- ---------
- You cannot modify this file. This file is used by cdcom to locate the
- files on the cdrom disk. But FYI, its format goes as follows:
-
- number of paths
- path on cdrom disk
-
- Cdcom automatically adds the drive letter from cdcom.def and the trailing
- backslash (\). The top blank line is for the root directory entry.
- Location of the path is important also, so don't move them around.
-
- CDCOM.XRF
- ---------
- This file has in it every file that is on the cdrom disk. It contains the
- following information: filename, filesize, location on cdrom disk, location
- of description in master description file, and the number of times
- downloaded. I may add the file date later on so there will be a new files
- by date on the main menu, as some people have requested this. Cdcom.xrf
- is in a basic language random file format, which goes as follows:
-
- 12 as filename$, 4 as filesize$, 1 as disk.location$, 2 as number.dl$,
- 2 as desc.location$ - Record size: 21 bytes
-
- The disk location points into the cdcom.pth file. If you program in basic
- then you can access this file quite easily using the format shown above.
- Dividing the size of cdcom.xrf by the record size yields how many files
- are on the cdrom disk.
-
- CdCom was written with Spectra Publishings PowerBasic compiler (previously
- Borlands Turbo Basic).
-
- CDCOM.USR
- ---------
- This file keeps track of the number of downloads the user has done in
- the door, as well as the number of download kilobytes. This is mostly
- for your record keeping, so you can use this file to update your user
- records later on since record updating is not done by the door. The
- format goes as follows:
-
- # of lines in cdcom.usr
- user name, # of downloads, # of download KB
-
- ex:
- 2
- Eric Schonning,2,260
- Bob Harris,3,400
-
- shows 2 users, one with 2 downloads totaling 260 kb and the other with
- 3 downloads totaling 400 kb.
-
- Note that these numbers do not take into account the number of downloads/
- download kilobytes passed via callinfo.bbs. These numbers are only
- the stats that the user has accumulated in the door.
-
- If you use this file to update a users records, then either zero out their
- numbers or delete the file when done. A new one will be created if
- one is not found. If you remove a line here, make sure you decrement the
- first line, the number of lines, or the door will crash.
-
- On registered versions, this file is read in on startup and the number
- of downloads the user has in it are added to the number of downloads found
- in callinfo.bbs for ratio checking.
-
- This file will be used later on when Wildcat 3.0 record updating is added
- (if that is necessary, since wildcat now supports cdroms internally.
- However if there is enough interest I will add it).
-
- =============================================================================
-
- OTHER IMPORTANT INFO:
- ---------------------
-
- Although this program has been extensively tested bugs may
- still exist. The author assumes no responsibility for any
- damages to hardware or data that may be incurred from running
- this program. By running this program you the user assume full
- responsibility for any damages that may occur.
-
- This program now requires a registration fee. Registration will fully enable
- all features of the door. See REGISTER.DOC for registration info. This is
- a one time registration fee, the same code will work for any other version
- of the door. However if you are running multiple copies of the door with
- other disks, a $10 or so donation should be sent in, especially if you would
- like to see updates to the program. While I fully plan on supporting the
- program as long as I am able, I also need to be able to justify such support.
- Registrations and donations help immensely with such justification.
-
- Bug fixes and future upgrades are always available on the support BBS's at
- no charge. The bug fix, if not major, will be called CDCOMFIX.ZIP.
- This will usually just be a CDCOM.EXE update.
-
- Any major fixes will be posted as CDCOM.ZIP. Best bet is to just
- view the CDCOM.ZIP file anytime you logon and see if the CDCOM.EXE
- file has a later date than the one you have.
-
- If you cannot seem to get a new disk working with the door, then feel
- free to give me a call at home and we can work it out.
-
- CdCom is only a door for the shareware software type of disks.
- It is not intended for encyclopedias, viewing graphics, etc. Its main
- purpose is to:
-
- 1) Allow downloading & viewing files from the cdrom disk.
-
- 2) Allow reading, searching, listing by category any description listings
- for the disk.
-
- 3) Keep track of users time in the door, and other basic functions.
-
- If this is the type of disk you have, then here is where to contact me.
-
- My address is: Eric Schonning
- 5281 Creekside Road
- Camarillo, CA. 93012-5419 USA
- Voice # (805) 987-2110
-
- If you call my voice number please be courteous about the time you call.
- I am on pacific time, and do sometimes keep long hours, but not always
- during the week. Please keep this in mind if you decide to call.
-
- A side note: working on this door is about 4th on my list of priorities.
- I do not do this for a living (a foolish idea no doubt). I do not run a
- business, so I cannot write my expenses off. So if you need technical
- help or just want to talk about the door, here are some things you
- must realize.
-
- 1) If you call me and leave a message on my machine, and want me to
- call you back, I will only call you collect. The hours I am at the
- house vary from day to day, however evening Pacific time is always
- a good time to get ahold of me. If you leave a number for me to call,
- please try to let someone know I may be calling, or leave a number where
- it is more likely I will get ahold of you.
-
- 2) I will call your bbs and help you set up the door if you require
- it. However before you ask me to do this be fully ready to recompensate
- me for my phone bill. I do not at this time require pre-payment of my
- phone bill (a deposit), however if I get stiffed any more phone bills
- I will undoubtably do so.
-
- 3) I cannot at this time accept credit card orders for registrations.
- I am looking into doing so however, and if you want to do it this way
- then contact me. I would still like to recieve the completed
- REGISTER.DOC form from you so that I have this information on hand, as I
- am compiling a database, and this will allow me to contact you in case
- of problems or notify you of updates. I do accept personal check's
- accompanied by the completed register.doc form for registration. You
- do not have to obtain a money order.
-
- The support BBS's are:
-
- HIS Board (805) 652-1478 1200/2400/9600 HST 14.4k
- or (805) 659-4323 12/24
- 805 - SysOps BBS (805) 659-3313 12/24/9600 14.4k DS
- Advanced Electronic
- Technologies BBS (704) 545-7076 12/24/9600 DS
-
- I try to logon to His Board everyday. I am also on the Fidonet CDROM
- conference if you want to contact me there. I do not frequent the
- other support bbs's that much.
-
- The AET BBS is running 2 nodes under DesqView and runs Wildcat. It is
- running 4 cdrom drives.
-
- ===========================================================================
-
- ACKNOWLEDGEMENTS:
- -----------------
-
- First, I would like to thank the Lord Jesus Christ for saving my rotten,
- undeserving soul and for giving me the ability to be able to write computer
- programs such as CdCom.
-
- I also want to thank all those who have supported me over the years and
- gave me encouragement, ideas for the program and gifts of hardware or
- cdrom disks. There are so many names and I can't remember them all,
- so I won't go into details here.
-
- ===========================================================================
-
- Sample Wildcat CALLINFO.BBS
- ---------------------------
-
- * = Used By CdCom, ? = Used but not required
-
- Callinfo.bbs file Line Number) Description
- ----------------- ------------------------
- Eric Schonning * 1) User Full Name
- 3 * 2) Connect Baud Rate (0=2400,1=300,2=1200,3=9600
- 4=19200, 5=LOCAL). This is the modem connect rate.
- Camarillo, CA 3) Calling From
- 1000 * 4) Security
- 177 * 5) Logon Time Left
- MONO ? 6) COLOR or MONO (for Ansi)
- Password 7) Password
- 4 ? 8) User Record Number
- 4 9) Minutes On System Before Shell
- 15:00 10) Time Entered Shell
- 14:56 11) BBS Logon Time
- ABCDEFHGYZ 12) Conferences Joined
- 0 13) Daily Downloaded Files Total
- 9999 14) Max Daily Download Limit
- 0 15) Daily Download K Total
- 9766 16) Max Download K Limit
- 805-652-1478 17) Phone Number
- 12/03/88 14:56 18) Time/Date Last Call
- NOVICE 19) NOVICE or EXPERT Menu mode
- All 20) Default File Xfer Protocol
- 12/03/88 21) Last New File Search
- 58 22) Total Times On
- 23 23) Lines Per Page
- 71 24) Last Message Read
- 9 ? 25) Total Uploads
- 1 ? 26) Total Downloads
- 8 { Databits } ? 27) 7 or 8 Databits
- REMOTE * 28) Either LOCAL or REMOTE
- COM1 * 29) Com Port Being Used
- 11/16/62 30) Date of Birth
- 38400 ? 31) Port rate (text). If port is locked this will
- be the locked speed.
- AlreadyConnected 32) Not sure exactly what this is
- Normal Connection 33) Either MNP/ARQ Connection or Normal Connection
- 12/04/88 19:45 34) Current Date Time
- 1 ? 35) Node Number
- 4 36) Door Number
-
- Earlier versions of wildcat don't have lines 34 - 36. Cdcom will use the
- node number for true multi-node support but it is not needed to run the
- program.
-
- You do not need to have information on the unused lines. I have just
- included them for indentification purposes. Some of the other info may
- be used in future versions. If you don't include them insure that there
- is at least a blank line there. This example undoubtably does not exactly
- match what callinfo.bbs looks like for all versions of wildcat for the
- items on the unused lines, as it does change slightly from version to
- version of Wildcat.
-
- Note that the security must be a numeric value. Some bbs software
- allow you to use letters, CdCom will not work with such a setup.
-
- Line 27 for number of databits will tell cdcom whether or not to strip
- the high bit from com input. If your users are calling in with 7 databits
- then make sure your conversion program writes something here, otherwise
- cdcom will not recognize their input. They can change to 8 databits
- while online however and it will then accept input from them. CdCom
- only looks at the numeric value here not the rest of the line.
-
- There is a Phoenix R.C.S. to Wildcat conversion available.
- You must be running at least version 1.3 or greater of
- Phoenix to use this program. Most door information conversion
- programs do not produce a sufficient callinfo.bbs for Phoenix bbs
- as they must read users.bbs to obtain most of the information about
- the user that cdcom needs.
-
- <The End>
-