home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cardinal Internet Access Solutions
/
Cardinal_Internet_Access_Solutions(1996-08-19).iso
/
intergo
/
intergo.z
/
QSCRIPT.SCR
< prev
next >
Wrap
Text File
|
1996-03-29
|
2KB
|
51 lines
#
#
# Internet-Connect (TM) PPP QuickScript
#
# Each script line has the following general syntax
# command arg1 arg2 ...
# Null line or line started with # is ignored (comment line)
# Number of arguments following each command depends on the command.
# Valid commands are:
# done -end script normally
# fail -terminate script abnormally
# goto label_name -jump to script line with label_name
# label label_name -label a script line
# pause pause_in_secs -short wait
# raisedtr
# dropdtr
# setcr [CarriageReturn_character] -default is \r
# launch application_to_be_launched [goto_if_fail]
# timeout default_timeout_in_secs
# expect "expect_string" [timeout_in_secs [label_to_go_to_if_timeout]]
# expectaddr [timeout_in_secs [label_to_go_to_if_timeout]]
# send "send_string" -send a string to host (CR appended automatically)
# sendpass "password" -send a password (will not write to log)
# send $variable -prompt for variable string then send it to host
# expect $variable [timeout_in_secs [label_to_go_if_timeout]]
# where $variable:
# $p (password, send only)
# $l (local IP address, expect only)
# $r (remote IP address, expect only)
# $c (any command, e.g. start SLIP, send only)
# $u (userid, send only)
#
# Note that text string must be in quotes if contains spaces, e.g.
# expect "Please enter user-id"
#
#
timeout 45
send "AT&F&C1&D0V1S0=0"
expect OK 45 failexit
send ATDT1234567
expect CONNECT 45 failexit
send ""
expect ogin 45 failexit
send ""
expect assword 45 failexit
sendpass ""
pause 1
done
label failexit
fail