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

Home » Public Forums » archive » Re: Capturing screen output
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: Capturing screen output [message #28218 is a reply to message #28121] Mon, 26 November 2001 10:49 Go to previous messageGo to previous message
Liam E. Gumley is currently offline  Liam E. Gumley
Messages: 378
Registered: January 2000
Senior Member
David Shadovitz wrote:
>
> Liam,
>
> Thanks for that. But I cannot even get that far! If I just make a simple
> file containing IDL commands, it runs fine unless I try to redirect its
> output. When I redirect its output, the output file is empty. Here's what I
> mean:
>
> $ cat runidl
> print, 'Hello world'
> exit
>
> $ idl runidl
> IDL Version 5.4 (sunos sparc). (c) 2000, Research Systems, Inc.
> Hello world
>
> $ idl runidl > runidl.out
> IDL Version 5.4 (sunos sparc). (c) 2000, Research Systems, Inc.
>
> $ cat runidl.out
> $
>
> Any ideas?

David,

Your example works fine for me in Solaris 7 with IDL 5.3:

$ cat runidl
print, 'Hello world'
exit

$ idl runidl
IDL Version 5.3 (sunos sparc). (c) 1999, Research Systems, Inc.

Hello world

$ idl runidl > runidl.out
IDL Version 5.3 (sunos sparc). (c) 1999, Research Systems, Inc.

$ cat runidl.out
Hello world

This might be a platform specific bug in IDL 5.4 on Solaris. You might
want to check with RSI tech support.

Cheers,
Liam.
Practical IDL Programming
http://www.gumley.com/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Structure assign question
Next Topic: Re: can i place a job advert

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

Current Time: Sat Oct 11 07:45:15 PDT 2025

Total time taken to generate the page: 0.24022 seconds