Redirect STDOUT [message #35465] |
Wed, 11 June 2003 16:54 |
Chad Bender
Messages: 21 Registered: July 2001
|
Junior Member |
|
|
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.
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.
Thanks
Chad Bender
|
|
|