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

Home » Public Forums » archive » Re: Saving the IDL terminal datastream
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Saving the IDL terminal datastream [message #48498] Fri, 28 April 2006 01:06 Go to next message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
"Sheldon" <shejo284@gmail.com> writes:
> Hi,
>
> Is it possible to save the data IDL sends to the STDOUT, i.e. terminal,
> in a simple ascii file?
> This could be done in UNIX by running the program and the piping it to
> a file:
> % program_script > my_file
> How is this done in IDL?

Things you might check in to:
* redirecting to a file (it works!)
* JOURNAL
* PRINTLOG

Craig


--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@REMOVEcow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
Re: Saving the IDL terminal datastream [message #48499 is a reply to message #48498] Fri, 28 April 2006 01:51 Go to previous message
Liberum is currently offline  Liberum
Messages: 48
Registered: September 2005
Member
Thanks Peter!
Re: Saving the IDL terminal datastream [message #48500 is a reply to message #48498] Fri, 28 April 2006 01:36 Go to previous message
peter.albert@gmx.de is currently offline  peter.albert@gmx.de
Messages: 108
Registered: July 2005
Senior Member
Hi Sheldon,

the JOURNAL command is your friend. Typed once, it saves STDIN and
STDOUT in a file named idlsave.pro, typed a second time, IDL stops
logging. You can also provide a filename as parameter to JOURNAL.

Cheers,

Peter
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Saving the IDL terminal datastream
Next Topic: Re: equal lat long grid

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

Current Time: Wed Oct 08 15:16:07 PDT 2025

Total time taken to generate the page: 0.20918 seconds