Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!tut.cis.ohio-state.edu!ucbvax!ucdavis!csusac!sactoh0!mholtz From: mholtz@sactoh0.sac.ca.us (Mark A. Holtz) Newsgroups: comp.sys.ibm.pc.misc Subject: Help needed for Telemate Script Message-ID: <1991May19.195326.25656@sactoh0.sac.ca.us> Date: 19 May 91 19:53:26 GMT Distribution: na Organization: Sacramento Public Access Unix Lines: 31 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