Mail Archives: djgpp/1997/10/20/04:18:14
On Thu, 16 Oct 1997 00:21:28 GMT in comp.os.msdos.djgpp Frank Faubert (frank DOT faubert AT sympatico DOT ca) wrote:
: As I read these messages (except for the guy who keeps screaming to be
: removed), I notice that alot of times, you folks show things like:
: redir -e errors.txt gcc -c xyz.cc
: (Sorry Andreas, yours was handiest). I realize that these are to entered
: on the command line if you're using a text editor, but how do you
: implement them in RHIDE (I don't know squat about Unix so I use
: something that compiles for me).
`redir' is simply a utility that juggles the input and output streams,
redirecting them to/from files or each other. The reason the above command is
useful is that it runs `gcc -c xyz.cc', capturing its stderr output to
`errors.txt'. This trick works on anything that uses those output streams;
however, I doubt that RHIDE does at all, so you couldn't capture its output.
However, RHIDE already does capture the output of the processes it runs; this
is how it puts it in a window for you, with all the error messages. So you
don't actually have the problem to which this use of redir is a solution.
--
George Foot <mert0407 AT sable DOT ox DOT ac DOT uk>
Merton College, Oxford
- Raw text -