From: Sam S. <sd...@gn...> - 2004-11-04 14:19:52
|
> * Bruno Haible <oe...@py...t> [2004-11-04 13:30:59 +0100]: > > Sam wrote: >> > * Bruno Haible <oe...@py...t> [2004-11-03 19:37:54 +0100]: >> > >> > Is there any difference in the setup of *standard-output* in >> > interactive vs. batch mode? >> >> Yes. In batch mode, *standard-output* is /dev/fd/1, >> while *TRACE-OUTPUT* points to *TERMINAL-IO* which is a TERMINAL-STREAM. > > OK, I don't criticize this. thanks. > I only wanted to be sure that this is the reason of the seen > behaviour, before I change a dozen of files to use (terpri) after > writing a line, not before. Thanks. Is there a way to avoid this? The only way I see is to make *TERMINAL-IO* be a TWO-WAY-STREAM in batch mode which would prevent interactivity... In general, the traditional CL way to output stuff is pretty stupid: start with a FRESH-LINE but _NOT_ end with a TERPRI. -- Sam Steingold (http://www.podval.org/~sds) running w2k <http://www.camera.org> <http://www.iris.org.il> <http://www.memri.org/> <http://www.mideasttruth.com/> <http://www.honestreporting.com> Trespassers will be shot. Survivors will be prosecuted. |