comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: redirecting IDL standard output to a file
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: redirecting IDL standard output to a file [message #22786] Mon, 11 December 2000 06:16 Go to previous message
Bernard Puc is currently offline  Bernard Puc
Messages: 65
Registered: January 1998
Member
t.osborn@uea.ac.uk wrote:
>
> 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
> problem.
>
> Cheers
>
> Tim
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.

I can replicate the problem on:

IDL> help,/str,!version
** 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
FILE_OFFSET_BITS
INT = 32

--
Bernard Puc AETC, INC.
bpuc@va.aetc.com 1225 Jefferson Davis Highway #800
(703) 413-0500 Arlington, VA 22202
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: It costs how much?!!?!
Next Topic: generating symmetric array from function?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:36:25 PDT 2025

Total time taken to generate the page: 0.00426 seconds