(****************************************************) (* CSXTIME Ver 1.0 Written by Gary Bouchard *) (* SysOp - The Computer Store BBS *) (* St. Augustine, Florida (904)794-0063 *) (* Copyright(c) 1992....All Rights Reserved *) (* Released May 29, 1992 Modified *) (****************************************************) Description CSXTIME is a small PCBoard utility written for PCBoard 14.5a or greater that will allow your users to find out how long it would take to transfer a file from your BBS. The program was written to operate as a seamless menu option type utility, which will very quickly tell the user the desired information without trying to use the "D"ownload function and aborting for his/her answer. Setup You need to copy at very least the CSXTIM.EXE program and the associated configuration file CSXTIM.CNF to a directory accessible by PCBoard. If you have room I suggest the \pcb home directory. Copy XT.HLP to your PCB\HELP directory, and rename it minus the ".HLP" extension. Edit your CSXTIM.CNF file to reflect the desired information. There are 3 pieces of information that go into the config file. Line 1) INTERRUPT. ; This is used in all ProKit type Doors. Line 2) ZIP ; This is the default file extension to use. Line 3) User Prompt ; Definable user prompt with a max of 60 chars in length. You may also use @X## Color macros to define this prompt. See the sample config file enclosed. You must then go into PCBoard setup, select option "J" - Main Board configuration. Add an entry into the PCBoard Doors.lst file to allow proper operation of the program. On my BBS it looks like this; ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ º Edit DOORS File º º USER DOOR º Filename Password Sec Login SYS SYS Shell Path to DOOR Files º ÍÍÍÍÍÍÍÍÍÍ ÍÍÍÍÍÍÍÍÍÍÍÍ ÍÍÍ ÍÍÍÍÍ ÍÍÍÍ ÍÍÍÍ ÍÍÍÍÍ ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ º 1) XT 30 N N N Y C:\PCB\ º º º º Press F2 to edit the DOOR file º º ESC=Exit Alt-R=Repeat a Line Alt-I=Insert a Line Alt-D=Delete a Line ÈÍÍ 09:51:25 ÍÍÍ 05-29-92 ÍÍÍÍÍÍ F1 Í help ÍÍÍÍ caps: OFF num: ON ins: OFF I created a PCBoard type batch file (no extension) called "XT". Inside this PCBoard bat file I have the following; @echo off c:\pcb\xtime.exe c:\pcb\xtime.cnf c:\pcb Notice that I placed path names on both the executable program AND the config file. PCBoard is much more efficient in running programs that are executed in this manner. I then added the "XT" command to my PCBoard menu, and you can also add help text to it, following the PCBoard format. OPERATION Operation is simply this; At the PCBoard command prompt, whether at the Main Board or in a conference, the user would type "XT " and press . If the user types the "XT" command without any filename, it will respond with your user defined prompt, asking for a file name. If the user responds with an with no file name, it simply returns to the PCBoard command prompt. In other words, the user never knows that he left PCBoard. Once the program begins, it will go through all of the DL paths you have specified in your PCBoard setup, looking for this file. Once found, the program will display the file size, estimated transfer time, and then current connect speed. Pressing enter from this point returns you back to the PCBoard command prompt. DETAILS CSXTIME is a copyrighted program. It is not Public Domain Software. I retain the rights to the source code for CSXTIME, and any modification, de compilation, or otherwise general hacking of CSXTIME is prohibited. I cannot be held responsible for any damages caused by the use of this program. All know bugs have been squashed, but as with any new program, it has not been tested in every possible environment There is no charge for CSXTIME. The program is being offered as FREEWARE to the thousands of PCBoard SysOps who are partially responsible for the BBS revolution. I am not a professional programmer, and I have a full time job (fortunately!). I program for a hobby, and write utilities for my personal PCBoard BBS. I share my utilities with other PCBoard SysOps, because I know of the hardships that can sometimes come about from running a BBS, including the many dollars put in to each system for the software and hardware needed to run a good system. SysOps like myself cannot afford to pay for all of the utilities authored by all of these people which make the job of running a BBS some much easier. There are many quality programs out there, that are well worth the small amount of money that is requested, but it all adds up, and fast! That is why I write FREEWARE programs.. As you might have noticed, I am not a good writer when it comes to documentation. If you do not understand something relating to this program please feel free to call my free access BBS at the phone number written at the top of this document. I will try to clarify whatever problem your having. Acknowledgements Portions of this program have been written with the aid of routines written by Samuel H. Smith of the ToolShop BBS (Prodoor).