home *** CD-ROM | disk | FTP | other *** search
- #
- # HWSLAVE.SCR - example file for operation as a slave
- # (direct connection).
- #
- # 09/10/90 - TSN
- #
- # This script is an example of how to get your computer running
- # BLAST II to act as a slave to a remote system which is hardwired
- # to your PC. For a particular application, the script may suffice
- # as-is, or you may need to alter and expand the script to fit your
- # needs.
- #
- # If you have any questions concerning this script, please
- # give us a call at CRG.
- #
- # The logic of this script is as follows:
- #
- # .BEGIN
- #
- # Wait indefinitely for BLAST protocol
- #
- # When BLAST protocol is detected enter FILETRANSFER
- # mode on this computer.
- #
- # ESC leaves filetransfer when the remote computer has
- # completed all filetransfer functions.
- #
- # GOTO .BEGIN
- #
- #########################
- #
- .BEGIN
- #
- set @MODEM = "" # no modem type needed
- set @SYSTYPE = "" # no system type needed
- #
- # **** Wait for BLAST protocol.
- #
- clear
- cursor 1,1
- write "Waiting for protocol from remote system . . ."
- ttrap ";start" "ppp" # wait for BLAST
- #
- # **** BLAST is running on the remote machine
- #
- clear
- cursor 1,1
- write "BLAST detected - now entering filetransfer."
- FILETRANSFER # enter FILETRANSFER mode
- ESC # and act as SLAVE
- #
- #
- #
- clear
- cursor 1,1
- write "Exiting Filetransfer."
- write "Resetting for next session."
- goto .BEGIN
-
-