home *** CD-ROM | disk | FTP | other *** search
-
-
- OFFHOOK
- Written by Mike Woltz
- Buffalo Creek Software
-
- OFFHOOK is a complimentary SPITFIRE BULLETIN BOARD SYSTEM
- utility designed to set the modem off hook to simulate a busy
- phone line. The purpose for this is to allow the Sysop to exit
- SPITFIRE and execute commands from the DOS prompt, during which
- time the modem will generate a busy signal to users attempting
- to call the BBS.
-
- At the C:> prompt, type "OFFHOOK" to execute the program.
- The program title, "OFF HOOK" (at the top of the Buffalo Creek
- Software logo) will appear in the upper left hand corner of your
- screen. The program will then display the message, "Would you
- like to set modem off hook? [y/N]" If you respond with a N (for
- No) the program is terminated. The default response to this
- prompt is No and pressing return here will also halt the program's
- execution. If you respond with a Y (for Yes) the program will
- then ask, "Which serial port? [1..4]". Enter the corresponding
- comm port your modem utilizes. For instance, if your modem uses
- comm port 2, enter 2.
-
- The first time you execute the program, OFFHOOK will display
- the following messages:
-
- OFFHOOK.DAT not found!
- Creating OFFHOOK.DAT!
-
- During the process of creating the OFFHOOK.DAT file, a beeping
- is transmitted through your computer speaker to notify you that
- the program is working. OFFHOOK.DAT is a text file which contains
- a series of modem commands. OFFHOOK.EXE reads each line in OFFHOOK.DAT
- and sends them to the modem. OFFHOOK pauses 1 second after each line.
- OFFHOOK.DAT can be modified using your favorite text editor to include
- any valid modem commands you wish to relay to the modem.
-
- As OFFHOOK continues its initialization process, the message
- "Setting modem off hook!" appears on the screen and a beeping is
- transmitted to indicate the program is actively setting the
- modem. When completed, "Finished!" is displayed to the screen
- and you are returned to the DOS prompt. You may now enter any
- valid DOS command without concern about callers trying to log
- onto the BBS. When you have finished performing the DOS
- commands, rebooting SPITFIRE will return the modem back on line.
-
- OFFHOOK can also be placed in your SF.BAT file (which is
- included in your SPITFIRE package) so that OFFHOOK will automatically
- be executed each time you exit SPITFIRE. To do this, use your favorite
- text editor to edit SF.BAT, type "OFFHOOK" after the :END command at
- the bottom of the SF.BAT file.
-
- You will notice that upon executing OFFHOOK if you do not respond
- to the "Would you like to set modem off hook? [Y/n]" prompt
- within 15 seconds, the following message is displayed:
-
- Timed out!
- Did not take modem off hook!
-
-
-
-
- Page 2
-
- This terminates the program and returns you to the DOS prompt.
- The purpose for this is so that if SPITFIRE would accidently be
- exited, and OFFHOOK was included at the end of the SF.BAT file,
- your system is not hung up waiting for a response to the message
- prompt.
-
- OFFHOOK has two switches (command line parameters) available
- which may be used individually or combined together. These
- are:
-
- /Y - Attaching this switch at the end of the command
- allows for an automatic response to the "Would you
- like to set modem off hook? [Y/n]" prompt. By using
- /Y this prompt is not displayed when executing OFFHOOK.
-
- /C[1..4] - By including a /C and the number corresponding
- to the comm port your modem utilizes you will
- not receive the "Which serial port? [1..4]" prompt.
- For instance, if your modem uses comm port 2,
- you would enter /C2.
-
- /y /c[1..4] - In the event you should only use the /Y switch, then
- OFFHOOK defaults to comm 1. If you are planning to
- use the switches and you are using a comm port other
- than 1, then /C[2..4] must be included in the
- command. For instance, if you are using comm port
- 2, you would need to enter OFFHOOK /Y /C2. The
- combination of the previous switches will provide
- an automatic response to both of above-mentioned
- prompts and allow OFFHOOK to be executed immediately
- with no other input required.
-
-
- OFFHOOK is place in the public domain and Mike Woltz and Buffalo
- Creek Software shall not be held responsible for any damage incurred by
- the user to hardware, software, or peripheral devices while running
- OFFHOOK. All responsibility lies with the user of the software.
-