IBM H80 Series Personal Computer User Manual


 
ripo: send "AT&FQT\r" # Reset to factory defaults.
ignore "\r" or "OK\r\n" timeout 2 # Ignore modem response.
send "ATET\r" # Initialize modem: Echo OFF,
expect "\r" or "OK\r\n" timeout 2 # Enable responses (Numeric),
send "ATQVXT\r" # Limit response codes.
expect "\r" timeout 2 # Confirm commands successful.
send "ATS=\r" # Set AutoAnswer OFF
expect "\r" timeout 2 # Confirm command successful.
send "AT&C1&D2\r" # Detect carrier and DTR.
expect "\r" timeout 2 # Confirm command successful.
done # RI Power On enabled.
error: # Handle unexpected modem
# responses.
expect "8\r" or "7\r" or "6\r" or "4\r" or "3\r"
delay 2
done
198 RS/6000 Enterprise Server Model H80 Series User's Guide