home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Overload
/
ShartewareOverload.cdr
/
comm
/
ca24_1.zip
/
SCRIPTS.DOC
< prev
next >
Wrap
Text File
|
1989-03-06
|
6KB
|
108 lines
-------------------------------------------------------------------------------
890228 COM-AND Scripts Page 1
-------------------------------------------------------------------------------
The file SCRIPTS.ARC contains:
ALARM.CMD ALARM is pop-up window script that sets the alarm tune from one
of several selections. It also demonstrates the steps to take
to customize your own alarm.
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 (you must
set the dialing directory appropriately), and initiates
connection. [See note below on autologon.]
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.
DIALER.CMD DIALER is a script performing multi-dialing. 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 for next use.
DIRECTOR.CMD DIRECTORy is another demonstration of the script language. It
provides a paged display of files on a given drive:subdirectory
with more information than Alt-F.
DSZDOWN.CMD DSZDOWN is a script to use Chuck Forsberg's DSZ to download
with YMODEM protocol.
DSZUP.CMD DSZDOWN is a script to use Chuck Forsberg's DSZ to upload
with YMODEM protocol.
GENIE.CMD GENIE is a simple script that dials the GEnie service (you
must set the dialing directory appropriately), and provides
a masked password prompt. [See note below on autologon.]
KERDOWN.CMD KERDOWN is a script to use Jan van der Eyjk's PCKERMIT to
download files.
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.
KERUP.CMD KERUP is a script to use Jan van der Eyjk's PCKERMIT to
upload files.
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 <string> are supported.
PLINK.CMD PLINK is a simple script that dials the PLINK service (you
must set the dialing directory appropriately), and initiates
connection. [See note below on autologon.]
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.
SOURCE.CMD SOURCE is a simple script that dials the SOURCE service (you
must set the dialing directory appropriately), and initiates
connection. [See note below on autologon.]
TELENET.CMD TELENET is a simple script that dials TELENET and performs
the basic connect commands.
-------------------------------------------------------------------------------
890228 COM-AND Scripts Page 2
-------------------------------------------------------------------------------
Note: The CIS, GEnie, PLINK, and SOURCE 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)
PLINK.CMD looks for AHNLOGON.CMD (or .ENF)
SOURCE.CMD looks for STC.CMD (or .ENF)
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
The GEnie autologon is just one TRANSMIT statement:
TRANSMIT "ID,Password!"
The autologon script may be created with any editor or wordprocessor capable
of creating an ASCII file (or non-document file). It is not recommended 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 sub-
directory you've placed COM-AND and its scripts.
2) Load COM-AND, and using F2, execute the outer script (CIS, GEnie, PLINK or
SOURCE). 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 autologon
file (in the example above, delete be CISLOGON.CMD).