home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / amiga / programm / 12334 < prev    next >
Encoding:
Internet Message Format  |  1992-08-14  |  1.3 KB

  1. Path: sparky!uunet!munnari.oz.au!manuel!sserve!prolix!dac
  2. From: dac@prolix.pub.uu.oz.au (Andrew Clayton)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Console file handlers from within a Shell started program
  5. Message-ID: <1b7ea705.ARN22d0@prolix.pub.uu.oz.au>
  6. Date: Thu, 13 Aug 92 12:45:25 GMT
  7. Reply-To: munnari!labtam!eyrie!prolix!dac
  8. FollowUp-To: comp.sys.amiga.programmer
  9. References: <1992Aug11.080104.3354@syma.sussex.ac.uk>
  10. Keywords: 
  11. Organization: More like Dis~, really.
  12. Lines: 17
  13.  
  14. In article <1992Aug11.080104.3354@syma.sussex.ac.uk>, James E. Talbut writes:
  15.  
  16. > I have a nice little CLI program for which I want to be able to use the
  17. > console io even if the program has got it's io redirected.
  18. > Does that make sense?
  19. > I want access to the file handle that the Shell would give if the
  20. > programs io was not redirected, in addition to that for the redirected io.
  21.  
  22. Can't you just write to STDOUT and STDERR if redirection is being
  23. used? STDERR won't [normally] be redirected.
  24.  
  25. Dac
  26. --
  27. munnari!labtam!eyrie!prolix!dac      David Andrew Clayton.           // _| _  _
  28.   prolix!dac%eyrie@labtam.oz.au      Canberra, Australia           \X/ (_](_](_
  29.         dac@prolix.pub.uu.oz.au      I post .
  30. prolix!dac@sserve.cc.adfa.oz.au            . . I am.             +61 6 290 2215
  31.