home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / std / c / 3019 < prev    next >
Encoding:
Text File  |  1992-11-17  |  1.2 KB  |  27 lines

  1. Newsgroups: comp.std.c
  2. Path: sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!zaphod.mps.ohio-state.edu!usc!sol.ctr.columbia.edu!hamblin.math.byu.edu!news.byu.edu!ux1!mica.inel.gov!guinness!gozer.idbsu.edu!dstienek
  3. From: dstienek@gozer.idbsu.edu (Dan Stieneke)
  4. Subject: Re: Idle Questions about ANSI C
  5. Message-ID: <1992Nov17.234608.25085@guinness.idbsu.edu>
  6. Keywords: password 
  7. Sender: usenet@guinness.idbsu.edu (Usenet News mail)
  8. Nntp-Posting-Host: gozer
  9. Organization: Boise State University
  10. References: <1992Nov17.123803.6400@thunder.mcrcim.mcgill.edu> <1992Nov17.155826.15087@sq.sq.com> <1992Nov17.205344.20279@blaze.cs.jhu.edu>
  11. Date: Tue, 17 Nov 1992 23:46:08 GMT
  12. Lines: 13
  13.  
  14.  
  15. How do I pipe stdout of one file to stdin of another file AFTER
  16. I have already exec'd the program and entered data from the keyb?
  17.  
  18. specifically:  I want to be able to "data | ftp".  Everything works, except
  19. that passwords are not entered in the same way as everything else.  All 
  20. commands go thru except for the password.  Would pipe() do it?  If so, how so?
  21.  
  22. thanks
  23. dstienek@gozer.idbsu.edu
  24.  
  25. (please forgive me posting this as a follow-up article instead of a new one.  I
  26. rarely post, and "?" and "h" don't show how to [I discovered "F" by accident])
  27.