Re: Redirect STDOUT [message #35438 is a reply to message #35432] |
Thu, 12 June 2003 13:26  |
R.Bauer
Messages: 1424 Registered: November 1998
|
Senior Member |
|
|
Chad Bender wrote:
> Is is possible to redirect the output that normally is sent
> to my xterm to somewhere else, like a string array?
> I'm writing a widget program where the top level widget is
> large enough that both it and the xterm won't fit on the
> screen. So the xterm gets covered up, and the user
> has to switch back and forth to see what IDL is printing.
Dear Chad,
Does it help to set the xterm always in foregrund.
I don't understand why you are using print and not a widget for the output?
There are several available, Something like dialog_message or a text widget,
>
> I'm really looking for some all encorporating system variable that
> I can set at the beginning of the program. I realize I could
> get most of what I want by changing print statements, and other
> tricks. But as the program is already almost completely written,
> I'd rather not have to go back and alter every print command.
> Additionally, there are some cases where I'm calling other routines,
> and changing things there is not an option.
>
> A question similar to this was asked back in 98, and I think the
> conclusion then was that is not possible. My hope is that something
> has changed since then.
I believe this doesn't change.
>
> Thanks
> Chad Bender
Reimar
--
Forschungszentrum Juelich
email: R.Bauer@fz-juelich.de
http://www.fz-juelich.de/icg/icg-i/
============================================================ ======
a IDL library at ForschungsZentrum Juelich
http://www.fz-juelich.de/icg/icg-i/idl_icglib/idl_lib_intro. html
|
|
|