home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / vmsnet / networks / tcpip / multinet / 2785 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  1.2 KB

  1. Path: sparky!uunet!ukma!bogus.sura.net!darwin.sura.net!haven.umd.edu!umd5!snoopy.umd.edu!stephen
  2. From: stephen@snoopy.umd.edu (Tim Stephen)
  3. Newsgroups: vmsnet.networks.tcp-ip.multinet
  4. Subject: Question about MultiNet telnet
  5. Message-ID: <18203@umd5.umd.edu>
  6. Date: 28 Jan 93 14:26:48 GMT
  7. Sender: news@umd5.umd.edu
  8. Organization: University of Maryland, College Park
  9. Lines: 25
  10.  
  11. Hi,
  12.  
  13. I'm using MultiNet's telnet to log onto a remote machine and issue some
  14. commands.  I'd like to set it up so that this process happens automatically
  15. at night.  I.e:  some sort of batch job starts a telnet session, logs into
  16. a machine, sends some commands and the output of the whole session is in
  17. a log file.  I can't figure out how to do this;  ideally I'm looking for
  18. a script language like many PC terminal emulators offer:
  19.  
  20. WAIT "Username:"
  21. SEND "stephen"
  22. WAIT "Password:"
  23. SEND "<password>"
  24. etc...
  25.  
  26. Does anybody know if this is possible?
  27.  
  28. If there were a way to use telnet through a series of library calls
  29. then I could accomplish a similar thing using C, but briefly looking
  30. at the multinet programming documentation I didnt see anything like
  31. what I'm looking for.  I'm admittedly niave about MultiNet and tcp/ip
  32. in general so I hope this isnt a RTFM question.  Thanks for any help...
  33.  
  34. Pete
  35.  
  36.