# %R = paging number

 

expect "ð\r" timeout 6ð

# Confirm successful command.

 

delay 2

# Wait before hanging up.

 

send "ATHð\r"

# Hang up.

 

expect "ð\r" timeout 2

# Confirm successful command.

 

done

 

ripo:

send "AT&F&E2EðT\r"

# Reset to factory defaults.

 

 

# Reliable mode

 

 

# Echo off

 

ignore "ð\r" or "OK\r\n" timeout 2

# Ignore modem response.

 

send "AT&E12&E14\r"

# Disable pacing

 

 

# Disable data compression

 

expect "ð\r" or "OK\r\n" timeout 2

# Confirm successful command.

 

send "AT&SF1&SðS9=1\r"

# DSR independent of CD.

 

 

# Force DSR on.

 

 

# CD respond time=1ððms

 

expect "ð\r" or "OK\r\n" timeout 2

# Confirm commands successful.

 

send "ATVðSð=ð\r"

# Numeric response code

 

 

# Auto Answer OFF

 

expect "ð\r" timeout 2

# Confirm commands successful.

 

done

#

error:

 

# Handle unexpected modem

 

 

# responses.

expect "8\r" or "7\r" or "6\r" or "4\r" or "3\r" delay 2

done

Appendix C. Modem Configurations-11

Page 255
Image 255
IBM RS/6000 manual # %R = paging number