home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ukma!bogus.sura.net!darwin.sura.net!haven.umd.edu!umd5!snoopy.umd.edu!stephen
- From: stephen@snoopy.umd.edu (Tim Stephen)
- Newsgroups: vmsnet.networks.tcp-ip.multinet
- Subject: Question about MultiNet telnet
- Message-ID: <18203@umd5.umd.edu>
- Date: 28 Jan 93 14:26:48 GMT
- Sender: news@umd5.umd.edu
- Organization: University of Maryland, College Park
- Lines: 25
-
- Hi,
-
- 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?
-
- 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...
-
- Pete
-
-