home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HomeWare 14
/
HOMEWARE14.bin
/
comms
/
infoterm.arj
/
HOST.SCR
< prev
next >
Wrap
Text File
|
1993-06-22
|
2KB
|
128 lines
;This is a host script file for InfoTerm Plus!
;
;Be SURE to change the com port, replace ALL "2"s with the right number
;
;This demonstration has no password. One can be added. Do not use unattended
;without a password!
;
; Note that "Demonstration" is spelled wrong below. the "AT" would have
; messed up the modem if it is hayes-compatible. I don't spell THAT bad ;).
;
SEND %This is a demonstrasion host script file, HOST.SCR^M
SEND %It is not intended for use as-is but it will work. Please feel free to^M
SEND %revise or edit the script. As it comes, it is designed for COM port 2.^M
HALF
SEND ATS0=1^M
WAITCARRIER
FULL
DELAY
SEND Welcome to InfoTerm Plus Host!^M
SEND ^M
SEND (U)pload (D)ownload (L)ist files^M
SEND (C)hat (S)hell to DOS (H)angup^M
SEND Your Choise:
PROMPT
IF L
SEND FileSpec?:
STRING
SEND @DIR ~1 > COM2
ENDIF
IF H
HANGUP
ENDIF
IF U
GOTO 55
ENDIF
IF D
GOTO 90
ENDIF
IF S
SEND @COMMAND.COM >COM 2 <COM 2
ENDIF
IF C
SEND ^G^G^G^G^GChat Mode^M
SEND To exit type "x" on a blank line^M
SEND ^M
WAIT ^Mx^M
ENDIF
GOTO 10
; This is the line that Upload goes to
; MANY more protocols can be added
SEND Protocols:^M
SEND [X]modem [Y]modem [Z]modem [S]uper Zmodem [K]ermit [J]modem^M
SEND Your choise:
PROMPT
IF X
SEND @DSZ.COM PORT 2 RX
ENDIF
IF Y
SEND @DSZ.COM PORT 2 RB
ENDIF
IF Z
SEND @DSZ.COM PORT 2 RZ
ENDIF
IF S
SEND @SZMODEM PORT 2 RZ
ENDIF
IF K
SEND @PCKERMIT -l COM2 -r
ENDIF
IF J
SEND @JMODEM R2
ENDIF
GOTO 10
; This is the line that Download goes to
; MANY more protocols can be added
SEND Filename:
STRING
SEND ^M^MProtocols:^M
SEND [X]modem [Y]modem [Z]modem [S]uper Zmodem [K]ermit [J]modem^M
SEND Your choise:
PROMPT
IF X
SEND @DSZ PORT 2 SX ~1
ENDIF
IF Y
SEND @DSZ PORT 2 SB ~1
ENDIF
IF Z
SEND @DSZ PORT 2 SZ ~1
ENDIF
IF S
SEND @SZMODEM PORT 2 SZ ~1
ENDIF
IF K
SEND @PCKERMIT -l COM2 -s ~1
ENDIF
IF J
SEND @JMODEM S2 ~1
ENDIF
GOTO 10