drstrip@intvax.UUCP (David R. Strip) (05/08/91)
Is there anyway to capture output on stderr from an application? The unix-ism of >& does not work on ms-dos. Barring an actual redirect operator, can someone point me to a pd program to capture all screen output from an app. For what its worth, the app is compiled in Turbo-C if that makes a difference. Thanks strip drstrip@cs.sandia.gov (don't trust the reply field.)
toma@sail.LABS.TEK.COM (Tom Almy) (05/09/91)
In article <3747@intvax.UUCP> drstrip@intvax.UUCP (David R. Strip) writes: >Is there anyway to capture output on stderr from >an application? The unix-ism of >& does not >work on ms-dos. If you run the shareware command.com replacement, 4DOS, you can redirect stderr using >&. >Barring an actual redirect >operator, can someone point me to a pd program >to capture all screen output from an app. For >what its worth, the app is compiled in Turbo-C >if that makes a difference. If the Turbo-C app is writing to the display directly (using the conio.h package) then you are out of luck, but as long as it is using stderr 4DOS will do the job. -- Tom Almy toma@sail.labs.tek.com Standard Disclaimers Apply
w8sdz@rigel.acs.oakland.edu (Keith Petersen) (05/11/91)
drstrip@intvax.UUCP [really drstrip@cs.sandia.gov] (David R. Strip) writes: >Is there anyway to capture output on stderr from >an application? The unix-ism of >& does not >work on ms-dos. Barring an actual redirect >operator, can someone point me to a pd program >to capture all screen output from an app. For >what its worth, the app is compiled in Turbo-C >if that makes a difference. WSMR-SIMTEL20.ARMY.MIL [192.88.110.20] Directory PD1:<MSDOS.SYSUTL> Filename Type Length Date Description ============================================== RDSTDERR.ARC B 6295 880306 Redirect STDERR to a file, with src REDIR.ZIP B 7951 900803 Combines STDERR with STDOUT for redirection Keith -- Keith Petersen Maintainer of SIMTEL20's MSDOS, MISC and CP/M archives - [192.88.110.20] Internet: w8sdz@WSMR-SIMTEL20.Army.Mil or w8sdz@vela.acs.oakland.edu Uucp: uunet!umich!vela!w8sdz BITNET: w8sdz@OAKLAND