Mail Archives: djgpp/1995/01/15/04:52:04
> I also get tired of being unable to redirect the compiler's error messages to
> a file, and of having to be quick on the trigger with ctrl-C before the first
> error message goes off the screen. Then I type \AM\READSCR to call a small
> program that I wrote & compiled that copies the text screen to a file T$SCREEN
Check out the program called script. It can be found on SimTel
mirrors as SCRIPT11.ZIP in the screen/ directory. If you call
gcc like this:
script gcc -c ....
or even
script make myprog
all the messages which go to the screen are *also* written to a
disk file. Whoever works in Unix will recognize this as Unix
program with the same name. The only flaw in that program is
that it doesn't catch output sent via Int 29h (fast screen
output), but the only problem I know which uses that method is
PK(UN)?ZIP.
- Raw text -