# Trumpet Winsock ATI6.CMD script to be used with # a USRobotics modem initialized with &D1 to display Link Diagnostics # (e.g., the current modem-to-modem speed) when online set dtr off # put modem in command mode (&D1) if [input 2 OK\n] # wait for modem response end set dtr on output at\r # make sure modem is alive if ! [input 1 OK\n] display \n"*** Modem is not responding!"\n abort end display \n"*** USR Link Diagnostics follow:"\n\n echo on output ati6\r if [input 5 OK\n] display \n"*** End of USR Link Diagnostics."\n\n end output ato\r # change to ATO1 to force a retrain input 15 CONNECT input 1 \n online # can probably get back online with SLIP, but not PPP