home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / unix / question / 15943 < prev    next >
Encoding:
Internet Message Format  |  1993-01-25  |  1.1 KB

  1. Xref: sparky comp.unix.questions:15943 comp.unix.admin:7242
  2. Path: sparky!uunet!vtserf!black-ice.cc.vt.edu!valdis
  3. From: valdis@black-ice.cc.vt.edu (Valdis Kletnieks)
  4. Newsgroups: comp.unix.questions,comp.unix.admin
  5. Subject: Re: Processes writing to other processes (replacing the humans)
  6. Message-ID: <11386@vtserf.cc.vt.edu>
  7. Date: 26 Jan 93 02:02:14 GMT
  8. References: <1jvmpiINN1al@armory.centerline.com>
  9. Sender: usenet@vtserf.cc.vt.edu
  10. Followup-To: comp.unix.questions
  11. Organization: Virginia Tech, Blacksburg, VA
  12. Lines: 16
  13.  
  14. In article <1jvmpiINN1al@armory.centerline.com> snikolov@sol.yorku.ca writes:
  15. > - A more trivial example would be creating a short routine which writes to
  16. >   a { system("telnet some.host.here 25";} process using the SMTP
  17. >   protocol, thus providing an alternative for the mail command.
  18.  
  19. This sounds like a job for 'expect' - available from fine archive
  20. servers everywhere.
  21.  
  22. Truly one of the more useful tools of the trade.
  23.  
  24. I'm told 'perl' can do similar things as well... (also available
  25. at sites all over the place)...
  26.  
  27.                 Valdis Kletnieks
  28.                 Computer Systems Engineer
  29.                 Virginia Tech
  30.