home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!think.com!sdd.hp.com!hamblin.math.byu.edu!arizona.edu!mvb.saic.com!info-multinet
- Newsgroups: vmsnet.networks.tcp-ip.multinet
- Subject: Re: Question about MultiNet telnet
- Message-ID: <930128084329.44a00857@TGV.COM>
- From: adelman@TGV.COM (Kenneth Adelman)
- Date: Thu, 28 Jan 93 08:44:50 PST
- Organization: Info-Multinet<==>Vmsnet.Networks.Tcp-Ip.Multinet Gateway
- X-Gateway-Source-Info: Mailing List
- Lines: 30
-
- > I'm using MultiNet's telnet to log onto a remote machine and issue some
- > commands. I'd like to set it up so that this process happens automatically
- > at night. I.e: some sort of batch job starts a telnet session, logs into
- > a machine, sends some commands and the output of the whole session is in
- > a log file. I can't figure out how to do this; ideally I'm looking for
- > a script language like many PC terminal emulators offer:
-
- > WAIT "Username:"
- > SEND "stephen"
- > WAIT "Password:"
- > SEND "<password>"
- > etc...
-
- > Does anybody know if this is possible?
-
- No, it isn't. The latest "C" kermit for VMS has this scripting
- capability; you could always TELNET/CREATE_NTY and then Kermit
- out the NTY device. Note this kermit also has some other problems that
- make it a real resource hog.
-
- > If there were a way to use telnet through a series of library calls
- > then I could accomplish a similar thing using C, but briefly looking
- > at the multinet programming documentation I didnt see anything like
- > what I'm looking for. I'm admittedly niave about MultiNet and tcp/ip
- > in general so I hope this isnt a RTFM question. Thanks for any help...
-
- Take a look at the TCPECHOCLIENT.C example in the MultiNet
- Programmers' Kit [MULTINET.EXAMPLES].
-
- Ken
-