[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: redirecting IDL standard output to a file
> We have just upgraded to IDL5. I have some IDL programs that output
> text and results to the screen (non-graphics). In the past, when using
> our Digital/Compaq Alphas running UNIX, if I typed:
> idl > outfile.dat
> when starting IDL, then all standard output would be redirected to the
> specified file. Because IDL buffers it's output, it could be the case
> that outfile.dat would remain empty until a certain amount of output
> had been produced, or until I exited IDL (when all buffered output
> would be sent to outfile.dat). Under IDL5.4, however, the buffered
> output doesn't seem to be sent to outfile.dat when I exit IDL - and I
> lose all my output. outfile.dat is created but stays empty. If I type
> flush,-1 at the IDL prompt prior to exiting, then the buffer is flushed
> and my file is filled. But I shouldn't have to do this! Can anybody
> else replicate this problem? I've e-mailed IDL support with this
> problem, but was interested to know if anybody else had the same
> Sent via Deja.com http://www.deja.com/
> Before you buy.
I can replicate the problem on:
** Structure !VERSION, 7 tags, length=44:
ARCH STRING 'x86'
OS STRING 'linux'
OS_FAMILY STRING 'unix'
RELEASE STRING '5.4'
BUILD_DATE STRING 'Sep 25 2000'
MEMORY_BITS INT 32
INT = 32
Bernard Puc AETC, INC.
email@example.com 1225 Jefferson Davis Highway #800
(703) 413-0500 Arlington, VA 22202