[comp.sys.ibm.pc.misc] Help needed for Telemate Script

mholtz@sactoh0.sac.ca.us (Mark A. Holtz) (05/20/91)

I am using a *REGISTERED* version of Telemate 2.11. I am trying to
configure the following script to login to a local Unix box. This
is my (non-working) script).. . . 

BEGIN---cut here---cut here
;
;Telemate Learn Script generated on 4-02-91
;
 
Waitfor 5          ; wait until string matched
Put "^M^M^M"
 
Waitfor "login:"
Put "mholtz"
 
Waitfor "Password:"
Put "^&^M"
END---cut here---cut here

What I want to do is, after dialing into the system, is to wait 5
seconds, then send a ^M. If I don't get a "login:" prompt within 3
seconds, then I want to send a ^M again, and wait to see if I get
"login:" again (a loop in effect). If I do get a login, the script
should generate the "mholtz" as shown above. . . .

I appreciate any help. Thanks in advance!
-- 
      Wish list of items:       /\  UUCP: ames att!pacbell!  \
  * Unix Box with Hard Drive    \/     pyramid sun!pacbell! -=> sactoh0!mholtz
  * 9600 Baud V.32/V.42 Modem   /\           ucbvax!csusac!  /
   * A much-needed vacation     \/ INTERNET: mholtz@sactoh0.SAC.CA.US