Xref: utzoo comp.protocols.tcp-ip:13279 comp.unix.misc:265 Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!math.lsa.umich.edu!math.lsa.umich.edu!emv From: emv@math.lsa.umich.edu (Edward Vielmetti) Newsgroups: comp.protocols.tcp-ip,comp.unix.misc Subject: Re: Is there a program like telnet, but driven by a script? Message-ID: Date: 6 Oct 90 19:07:34 GMT References: <26797@fmsrl7.UUCP> Sender: usenet@math.lsa.umich.edu Followup-To: comp.unix.misc Organization: University of Michigan Math Dept., Ann Arbor MI. Lines: 28 In-Reply-To: hugh@slee01.srl.ford.com's message of 2 Oct 90 13:28:35 GMT In article <26797@fmsrl7.UUCP> hugh@slee01.srl.ford.com (Hugh Fader) writes: I need to duplicate UNIX-to-UNIX rsh functionality going UNIX-to-VMS. I am running a Sun Sparcstation and can communicate with the VAX using telnet and ftp via an ULTRIX gateway (the VAX only runs DECNET). One solution to my problem would be a telnet-like program which accepts a script containing expect/send pairs much like UUCP and some PC communications programs. Does such a program exist? See "expect" from Don Libes, ftp'able from durer.cme.nist.gov. An extract from the man page: expect is a program that "talks" to other interactive pro- grams according to a script. Following the script, expect knows what can be expected from a program and what the correct response should be. An interpreted language pro- vides branching and high-level control structures to direct the dialogue. In addition, the user can take control and interact directly when desired, afterward returning control to the script. Since this is a program which isn't necessarily related to tcp/ip, please follow up to comp.unix.misc. --Ed Edward Vielmetti, U of Michigan math dept moderator, comp.archives