[comp.protocols.tcp-ip] Is there a program like telnet, but driven by a script?

hugh@slee01.srl.ford.com (Hugh Fader) (10/02/90)

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?

I would also appreciate any suggestions of alternate solutions.

Thanks in advance.

--
Hugh Fader
hugh@slee01.srl.ford.com

VANCE@TGV.COM (Icarus) (10/04/90)

>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?

One solution would be to put a TCP/IP package that supports rsh on your VAX. 
There are several that do (MultiNet, WIN/TCP, Fusion, possibly others...)

Scripted TELNET is another issue.  I don't know of any of the IP for VMS (or
for other platforms for that matter) that support this.

-----Stuart
-------

SPGDRP@UCCVMA.UCOP.EDU ("Donald R. Proctor") (10/04/90)

>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?
>
>I would also appreciate any suggestions of alternate solutions.
>
We run TGV's MultiNet on our VMS machine.  It does a remarkable job of
bringing Unix/Ultrix connectivity to the VMS world.

Don Proctor                            <spgdrp@uccvma.ucop.edu>
Information Systems & Computing        <spgdrp@uccvma.bitnet>
University of California               415/987-0356
Office of the President

The opinions expressed do not necessarily reflect the opions of my
employer. The University of California does not endorse any commercial
products mentioned.

emv@math.lsa.umich.edu (Edward Vielmetti) (10/07/90)

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 <emv@math.lsa.umich.edu>
moderator, comp.archives