home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Overload
/
ShartewareOverload.cdr
/
comm
/
ca24_1.zip
/
BBS&HOST.ZIP
/
HOST.DOC
< prev
Wrap
Text File
|
1988-07-06
|
8KB
|
427 lines
COM-AND Scripted HOST
-----------------------------------------
COM-AND Scripted HOST
Script based Host mode for the IBM PC
-----------------------------------------
COM-AND is distributed freely and may be copied by anyone for any
number of machines. The author offers COM-AND and accessory
programs (e.g. PC-VCO or CCHESS) as "shareware". If the program
is found to be useful or entertaining, a registration of $35.00
is requested. If response warrants, COM-AND will be enhanced
and more accessory programs developed. The author may be reached:
CABER Software
R. (Scott) McGinnis
P.O. Box 3607 Mdse Mart
Chicago, IL 60654-0607
PLINK, GEnie id: TARTAN
SOURCE: BEM823
Version 1.0: 880706
COM-AND Scripted HOST
Table of Contents
-----------------
I. Introduction .............................................. page 1
II. Installing the HOST ........................................ page 2
III. Program Requirements ....................................... page 3
IV. Program and Author Information ............................ page 4
Appendices
----------
A. Modem configuration ........................................ page 5
Version 1.0: 880706
COM-AND Scripted HOST Page 1
I. Introduction
A. What is COM-AND?
COM-AND for the IBM PC and compatibles is a communications
program that may be used by itself, or with several integrated
accessory programs (which themselves may be used independently of
COM-AND). COM-AND provides standard comm program functions: a
dialing directory, macros, disc logging, binary and ASCII file
transfers, and so on.
B. The HOST
This document details the HOST script provided with version 2.2 of
COM-AND. Two levels of hosting are provided. First, password
protected logon and a limited set of functions are provided. The
functions are:
o C)hdir Change current directory
o F)ilelist List files in current subdirectory
o P)athlist Graphically list paths
o U)pload Upload a file using WXMODEM, XMODEM,
YMODEM or KERMIT
o D)ownload Download a file using WXMODEM,
XMODEM, YMODEM or KERMIT
o E)xit Logoff
A second level of function is supplied with a second password.
DOS commands may be executed at this level. NOTE: Only DOS
commands that allow redirected I/O are 'usable' here. DOS
functions that prompt for keyboard input will 'hang' the HOST
mode.
All host activity is captured to a log file.
The supplied HOST script works best if your modem is set to report
the real state of Carrier Detect (CD). However, it has been used
quite successfully with modems that report Carrier Detect always
true (when disconnect occurs, Hayes compatible modems report the
fact with 'NO CONNECT').
Version 1.0: 880706
COM-AND Scripted HOST Page 2
II. Installation
A. Set the caller and DOS passwords
The only modification required to the supplied script is setting
the caller (S0) and DOS passwords. The values to hold for your
host mode are set in the first 2 lines of the script. Edit the
script, and set passwords as you wish.
B. Check your modem
For best operation, your modem should report true carrier detect.
Check to see that your modem does so. This is not required, but
does assure that loss of carrier during a file transfer will not
go undetected until timeout.
C. To start, type:
CD <the subdirectory you wish to be the default>
"d"> COM-AND/fHOST-SRC
Version 1.0: 880706
COM-AND Scripted HOST Page 3
III. Program requirements
This program can only function on an IBM PC or DOS compatible
machine. COM-AND does direct to screen buffer fetches and stores
(unless BIOS screen updates are directed using the /C switch or the
Alt-O options menu).
COM-AND supports MDA, CGA, EGA and Hercules. COM-AND uses a Micro-
soft Mouse if one is available (not well, but it'll certainly get
better).
COM-AND disk I/O is done through the 'Handle' oriented I/O routines
added to DOS 2.0. Therefore DOS 2.0 is a minimum requirement.
COM-AND (Version 2.2) requires 215K for itself. You need 256K
(minimally), and more to take advantage of the DOS Gateway and
even more yet to load accessories.
This script requires a 300, 1200 or 2400 baud modem. [Others could
be supported with modification to the script.] This script is most
reliable if the modem is set to report true CD.
Version 1.0: 880706
COM-AND Scripted HOST Page 4
IV. Author information
COM-AND was written using Microsoft Macro-Assembler. The
author likes assembler. Assembly language is an entirely
appropriate vehicle for some of the program, and a not-inappro-
priate vehicle for the rest of it. Everything, in moderation...
The author of this program is R. Scott McGinnis of Chicago,
Illinois. PLINK and GEnie ID: TARTAN. Comment and suggestions
(and criticism in moderation) are welcomed:
CABER Software
R. (Scott) McGinnis
P.O. Box 3607 Mdse Mart
Chicago, IL 60654-0607
I wish to say that my wife, Elizabeth, is the best reason I've ever
known for continuing to live. Without her beside me (propping me up
alot of the time), I wouldn't be.
This script (Version 1.0) may be distributed freely (but it isn't a
whole lot of use without COM-AND). Any improvements that are
returned to the author will get attention... errors reported to the
author will be corrected. COM-AND is shareware. If COM-AND is
found entertaining or useful, a contribution of $35.00 is requested.
Should response warrant it, I will continue to develop and support
this product.
Version 1.0: 880706
COM-AND Scripted HOST Page 5
A. Modem Configuration
COM-AND default values do not require your modem to be configured
in any particular manner. However, certain features cannot be used
unless you configure your modem before you use COM-AND.
1. DTR (Data Terminal Ready)
COM-AND, by default, hangs up using the command sequences defined
through the Alt-S setup (hangup and modem escape). However, you
may alternately select 'Drop DTR to hangup' through the Alt-O
options. Dropping DTR is the only way to hangup certain modems,
and is generally much faster than the command sequences.
Most Hayes compatible modems allow configuration of the DTR sense
through a switch-block. If you wish to use DTR to hangup, be sure
that your modem follows the DTR signal. Refer to the documenta-
tion provided with your modem to be sure that option switches are
set appropriately.
2. CD (Carrier Detect)
COM-AND (presently) uses the CD sense line for several purposes.
The 'CONNECTED' test supported in the script language, test for
carrier detect upon exit, and the file transfer protocols all
require that the modem report carrier detect. True carrier detect
is the only way to determine if you are 'on-line' or 'off-line'.
Many Hayes compatible modems are sold with a carrier detect
override (in other words the modem reports carrier detect all the
time). When carrier detect is overridden, COM-AND cannot detect
when carrier is lost during a file transfer or whether to ask if
you want to hangup when you exit.
Be sure that the modem is reporting true CD (instead of it just
saying 'yes'). Most Hayes compatible modems allow configuration
of the CD sense through a switch-block. Refer to the documenta-
tion provided with your modem to be sure that option switches are
set appropriately.
Version 1.0: 880706 Appendices