www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/01/15/04:52:04

To: "A.Appleyard" <A DOT APPLEYARD AT fs2 DOT mt DOT umist DOT ac DOT uk>
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: redirecting stderr (was: Re: V2.0 suggestion)
Date: Sun, 15 Jan 95 10:29:19 +0200
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>

> 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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019