|
| |
|
ISDN
|
|
Motorola Bitsurfr for Windows 3.1
|
How to Change the login.cmd Script
- Double-click the Trumpet icon.
- From the menu items click Dialer and select Edit Scripts
- Double-click the login.cmd script.
- Delete all text contained in this file.
- Copy the text below and paste it into the login.cmd script.
- From the menu items, click File and select Save.
- From the menu items, click File and select Exit.
if ![load $number]
display \n\n"SYSTEM NOT CONFIGURED -- RUN SETUP.CMD"\n
abort
end
if ![load $username]
display \n\n"SYSTEM NOT CONFIGURED -- RUN SETUP.CMD"\n
abort
end
if ![load $password]
if [password "Enter Your Password"]
save $password
end
end
if ![load $modeminit]
$modeminit = "ATZ"
end
#$userprompt = "ogin:"
#$passprompt = "word:"
%attempts = 100
#
#
#----------------------------------------------------------
#
# initialize modem
#
display "initialzing modem..."\n
output "atz"\13
if ! [input 5 OK\n]
display "Modem is not responding"\n
display \n"Please select File->Setup above and make"\n
display "sure 'SLIP Port' and 'Baud Rate' are set to"\n
display "your modem's COM port and speed."\n
abort
end
#
# setup our modem commands
#
output $modeminit\13
input 5 OK\n
#
# send phone number
#
%n = 0
repeat
if %n = %attempts
display "Too many attempts. Try again later."\n
abort
end
display \n"Dialing "$number\n
display "Busy? we will attempt to redial..."\n\n
output "atd "$number\13
%ok = [input 40 CONNECT]
%n = %n + 1
until %ok
input 10 \n
#
# wait till it's safe to send because some modems hang up
# if you transmit during the connection phase
#
#
#
#
#
wait 30 dcd
#sleep 2
#
#
#
display \n\n"If you have problems connecting, please do"\n
display "not change ANY of the configuration options."\n
display "Contact DigiTex.net's Technical Support for assistance."\n
display \n\n"*********************************************"\n
display "** WELCOME TO DigiTex.net **"\n
display "*********************************************"\n\n
display "You may now minimize this window and start Netscape"\n
display "or any other TCP/IP client application."\n\n
display \n"Thank you for choosing DigiTex.net."
#
# now we are finished.
#
| |