Figure 5: Sample Chat scripts
in:--in: nuucp word: panzer
Expect in: if not received, send a NULL string (newline)
send nuucp
expect word
send panzer
"" @ ogin:-@-ogin:-BREAK-ogin:-BREAK-ogin: uucp word: frogin
expect nothing
send @ (equivalent to BREAK)
expent ogin: if not received, send BREAK, maximum of two times
send uucp
expect word:
send frogin
"" \r\d\r\d ogin:-BREAK-ogin:-BREAK-ogin: anon
expect nothing
send newline
delay
send newline
delay
expect login: if not received, send BREAK, maximum of two times
send anon
"" \r\d service: uucp ogin: mimi word: guesswho
expect nothing
send newline
delay
expect service
send uucp
expect login:
send mimi
expect word
send guesswho
|