home *** CD-ROM | disk | FTP | other *** search
- -------------------------------------------------------------------------------
- 910710 COM-AND Scripts Page 1
- -------------------------------------------------------------------------------
- Included in CA28-3.ZIP (the version 2.8 release of COM-AND) are:
- -------------------------------------------------------------------------------
-
- ALARM.CMD
-
- ALARM is pop-up window script that sets COM-AND's alarm tune from one of
- several selections. It also demonstrates the steps to take to customize
- your own alarm.
-
- BBS.CMD
- BBS.SRC
- BBS.DOC
- BBMAINT.CMD (New) Maintenance script for the BBS
- BBMAINT1.CMD (New) BBMAINT extension script (users)
- BBMAINT2.CMD (New) BBMAINT extension script (files)
- BBMAINT3.CMD (New) BBMAINT extension script (bulletins)
- BBMAINT4.CMD (New) BBMAINT extension script (mail)
- BBSETUP.CMD (New) Setup script for the BBS
-
- BBS.CMD is a full fledged bulletin board script, with mail (public and
- private), file area, and bulletins. Run the SETUP script before use.
- BBS.SRC is the source with comments. BBS.CMD is the script stripped of
- comments. BBS.DOC documents the use of BBS, BBMAINT, and BBSETUP.
-
- BREAKOUT.CMD
-
- BREAKOUT is a demonstration of the script language. It plays a simple
- 'breakout' style game. Paddle control is through the cursor keys or a
- mouse (if supported).
-
- CIS.CMD
-
- CIS is a simple script that dials the CIS service (using dialing directory
- entry 3), and initiates connection. [See the note below on autologon.]
-
- CONALARM.CMD
-
- CONALARM is a very simple script, that awaits receipt of a message (any
- text). The alarm is sounded when a line is received (and terminates).
- It may be used waiting for someone else to enter a conversational area.
-
- CONNECT.CMD
-
- CONNECT is a simple script that puts COM-AND into auto-answer mode and
- awaits a call. When a connection is made, the script adjusts the line
- speed appropriately, and opens a chat window.
-
-
- -------------------------------------------------------------------------------
- 910710 COM-AND Scripts Page 2
- -------------------------------------------------------------------------------
-
- DIAL.CMD
-
- DIAL is a script emulation of the Alt-R redial window. The number to be
- dialed is NOT limited to 14 characters... and LD codes may not be used.
-
- DIALER.CMD
-
- DIALER is a script providing a multi-dialer. Up to 10 dialing directory
- numbers may be specified. The numbers are dialed one after another until
- a connection is made. The list of numbers (less the one just connected)
- is saved on disc for next use.
-
- DOORWAY.CMD
-
- DOORWAY is a script invoking Marshall Dudley's DOORWAY (or a Doorway-like)
- utility. The first statement in the file specifies the invocation of the
- utility; edit it to suit your installation.
-
- DSZDOWN.CMD
-
- DSZDOWN is a script to invoke Chuck Forsberg's DSZ to download (it is set
- to use YMODEM protocol, but may be changed)..
-
- DSZUP.CMD
-
- DSZDOWN is a script to invoke Chuck Forsberg's DSZ to upload (it is set
- to use YMODEM protocol, but may be changed).
-
- FILEMGR.CMD
- FILEMGR.DOC
-
- FILEMGR provides useful file management functions through COM-AND. It
- may be used while on-line or offline.
-
- FINDNAME.CMD
-
- FINDNAME searches through all dialing directory entries and all scripts
- on the default drive for matching text. If a dialing entry is found, the
- number is dialed. If a script is found, it is executed.
-
- GENIE.CMD
-
- GENIE is a simple script that dials the GEnie service (using dialing
- directory entry 4), and provides a masked password prompt. [See note
- below on autologon.]
-
-
- -------------------------------------------------------------------------------
- 910710 COM-AND Scripts Page 3
- -------------------------------------------------------------------------------
-
- HOST.CMD
- HOST.SRC
- HOST.DOC
- HOSETUP.CMD (New) Setup script for the HOST
- HOSTART.CMD (New) Restart script for the HOST and doorway
-
- HOST provides a limited host mode for file transfers. Run the SETUP
- script before use. HOST.SRC is the script with comments. HOST.CMD is
- the script without comments. HOST.DOC documents the HOST, HOSETUP and
- HOSTART scripts.
-
- INDIR.CMD
-
- INDIR reads an ASCII file (of a fixed format, documented in the script)
- creating a new dialing directory file. Compatible with OUTDIR below.
-
- KERDOWN.CMD
-
- KERDOWN is a script to invoke Jan van der Eyjk's PCKERMIT to download.
-
- KERMSERV.CMD
-
- KERMSERV is a script providing KERMIT server commands for systems (such
- as the SOURCE) where they're useful. It implements SEND/RECEIVE/FINISH
- and LOGOUT functions.
-
- KERUP.CMD
-
- KERUP is a script to invoke Jan van der Eyjk's PCKERMIT to upload.
-
- LEARN.CMD
- LEARN.DOC
- LEARN.SRC
-
- LEARN follows actions performed, such as dialing, responding to prompts,
- and so on, and creates a script to perform the same actions. LEARN.DOC
- documents the function of LEARN and its limitations.
-
- LISTER.CMD
-
- LISTER is a script to listing an ASCII file to the screen with pagination.
- Paging (backward limit 20 pages), Home, End, and FIND <str> are supported.
-
- MDMDIAG.CMD
-
- MDMDIAG is a diagnostic for the serial port currently opened by COM-AND.
- It displays the values of various port registers for review.
-
-
- -------------------------------------------------------------------------------
- 910710 COM-AND Scripts Page 4
- -------------------------------------------------------------------------------
-
- MKLOGON.CMD
-
- MKLOGON creates a LOGON file appropriate for CIS.CMD, GENIE.CMD, NWI.CMD,
- PLINK.CMD, or UNISON.CMD. MKLOGON optionally encrypts the new LOGON file
- for security.
-
- NWI.CMD
-
- NWI is a simple script that dials the NWI service (dialing directory 81),
- and initiates connection. [See note below on autologon.]
-
- OUTDIR.CMD
-
- OUTDIR creates an ASCII file (named DIALING.TXT, documented in the script)
- from the current dialing directory file. Compatible with INDIR above.
-
- PC-2-PC.CMD
- PC-2-PC.DOC
-
- PC-2-PC is a file transfer script for 2 PCs running COM-AND and linked
- through either modem or direct wire. PC-2-PC provides a convenient
- display of subdirectories on both machines. PC-2-PC.DOC documents the
- script more thoroughly.
-
- PLINK.CMD
-
- PLINK is a simple script that dials the PLINK service (dialing directory
- entry 1), and initiates connection. [See note below on autologon.]
-
- REMAP.CMD
- REMAP.DOC
- REMAPS.TXT
-
- REMAP compiles a source file of keyboard remapping for COM-AND. The
- REMAP.DOC describes the function and its uses. REMAPS.TXT is an ASCII
- file containing sample remaps for various terminal emulations.
-
- SCRDUMP.CMD
-
- SCRDUMP appends the current screen text (25 or 43/50 lines) to the file
- COM-AND.SCR on the current directory. A top-of-form is added at the end
- of the screen (to delimit multiple screens).
-
-
- -------------------------------------------------------------------------------
- 910710 COM-AND Scripts Page 5
- -------------------------------------------------------------------------------
-
- SETTIME.CMD
-
- SETTIME dials the U.S. Naval Observatory, and sets the DOS clock with the
- correct time. You must modify this script before use! Read comments at
- the beginning of the script.
-
- STRIPPER.CMD
-
- STRIPPER strips an input script file of comments and extra spaces.
- STRIPPER takes a while to execute, but stripped scripts do run faster.
- NOTE: CACMP has subsumed this function, performing faster and more fully.
-
- TELENET.CMD
-
- TELENET is a simple script that dials TELENET (dialing directory entry 10)
- and performs basic connect commands. It is FCALLed by other scripts,
- here, and may be used alone as well.
-
- TYMNET.CMD
-
- TYMNET is a simple script that dials TYMNET (dialing directory entry 9)
- and performs basic connect commands. It may be FCALLed or used alone.
-
- UNISON.CMD
-
- UNISON is a simple script to dial the UNISON service (through TELENET; it
- uses dialing directory entry 10), and initiates connection. [See note
- below on autologon.] Note: TELENET.CMD is required.
-
- URGENT.CMD
-
- URGENT is a demonstration of INPUT and OUTPUT instructions in a script.
- It sounds a wailing alarm (It is CPU speed dependant).
-
- XLATE.CMD
-
- XLATE prepares in and out character translation tables for COM-AND. Please
- refer to COM-AND.DOC for details of character translation in COM-AND.
-
-
- -------------------------------------------------------------------------------
- 910710 COM-AND Scripts Page 6
- -------------------------------------------------------------------------------
- Script notes:
- -------------------------------------------------------------------------------
-
- As noted above, certain scripts require a dialing directory entry to be
- set before the script is useful. The following scripts assume:
-
- CIS.CMD Directory entry 3 CIS direct dial
- GENIE.CMD Directory entry 4 GEnie direct dial
- PLINK.CMD Directory entry 1 PLINK direct dial
- NWI.CMD Directory entry 81 NWI direct dial
- UNISON.CMD Directory entry 10 through TELENET.CMD
- TELENET.CMD Directory entry 10 1200/2400 baud access
- TYMNET.CMD Directory entry 9 TYMNET access
-
-
- Scripts may hard code telephone numbers as well. In this collection, the
- one scripts encodes a telephone number (and settings):
-
- SETTIME.CMD Encodes U.S. Naval Observatory number
-
-
- Scripts may be written to require the presence of other scripts. The
- only such script in this collection is: UNISON.CMD. It requires TELENET.
- CMD. The following scripts may be used as subroutines (FCALLs):
-
- DIAL.CMD Dial a long phone number
- LISTER.CMD List a file to the screen
- TELENET.CMD Connect to Telenet
- TYMNET.CMD Connect to Tymnet
- URGENT.CMD Sound a wailing alarm
-
-
- The MKLOGON script creates LOGON files for CIS.CMD, GENIE.CMD, NWI.CMD,
- PLINK.CMD and UNISON.CMD. The CIS, GEnie, NWI, PLINK, and UNISON script
- files all look for an autologon script file. If found, the autologon is
- executed. If not found, the ALARM is sounded. Each script looks for a
- certain file:
-
- CIS.CMD looks for CISLOGON.CMD (or .ENF)
- GEnie.CMD looks for GENLOGON.CMD (or .ENF)
- NWI.CMD looks for NWILOGON.CMD (or .ENF)
- PLINK.CMD looks for AHNLOGON.CMD (or .ENF)
- UNISON.CMD looks for UNILOGON.CMD (or .ENF)
-
- The script MKLOGON creates the appropriate LOGON file, and may be used for
- ALL of the systems above, at any time.
-
-
- -------------------------------------------------------------------------------
- 910710 COM-AND Scripts Page 7
- -------------------------------------------------------------------------------
-
-
- With the exception of GENIE, the autologon file should take the form:
-
- TRANSMIT "yourID!" ; The "!" is a carriage rtn
- WAITFOR "password" ; Wait for host prompt
- TRANSMIT "yourPassword!" ; The "!" is a carriage rtn
- IF FCALLED FRET
-
- The GEnie autologon is just one TRANSMIT statement:
-
- TRANSMIT "ID,Password!"
- IF FCALLED FRET
-
-
- The autologon script may be created with any editor or wordprocessor cap-
- able of creating an ASCII file (or non-document file). It is NOT recom-
- mended that you leave files containing ID and passwords unsecured. COM-
- AND may be used to encrypt the autologon file once created and tested, and
- the original file then deleted.
-
-
- COM-AND will search for script files both in the current directory and in
- the subdirectory pointed to by the COM-AND= environment variable. COM-AND
- will also try the name you use with the extension ".CMD" and ".ENF".
- Encryption is indicated within the encrypted file - not by the extension.
- When an encrypted script file is encountered COM-AND will pop-up a window
- asking for a decrypting password. The script file is then decrypted as it
- is executed.
-
- --------------------------------------------------------------------------
- The following steps might be followed to create an autologon script file.
-
- 1) Create the file as named above with the appropriate statements on the
- subdirectory you've placed COM-AND and its scripts.
-
- 2) Load COM-AND, and using F2, execute the outer script (CIS, GEnie, PLINK
- or UNISON). Assure yourself that the autologon script works correctly.
-
- 3) After logging off, use Alt-N in COM-AND to encrypt the script. For
- example, the file CISLOGON.CMD could be encrypted to CISLOGON.ENF (the
- name is important - the extension is not). Remember the password you
- used to encrypt the file! Either encryption method may be used.
-
- 4) After exiting COM-AND (or shelling to DOS), delete the original auto-
- logon file (in the example above, delete be CISLOGON.CMD).