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

Home » Public Forums » archive » Re: Redirect STDOUT
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: Redirect STDOUT [message #35432 is a reply to message #35427] Thu, 12 June 2003 21:25 Go to previous messageGo to previous message
Chad Bender is currently offline  Chad Bender
Messages: 21
Registered: July 2001
Junior Member
Reimar Bauer <R.Bauer@fz-juelich.de> wrote:

: 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,

Setting the xterm to the foreground is not much of a help, as
it just covers up part of the widget. As for using a text
widget, that is what I would really like to do. The main program
is calling a bunch of distinct subroutines that are already
written and being used for other things. They were designed
for use at the command line, and use print or message,/info
statements to provide feedback to the user. Now when I
call them from my widget routine, their messages naturally
are displayed in the xterm as normal. What I really want is
someway to either redirect all STDOUT output to a text widget,
or else to a string array which I could then continuously dump
to a text widget. Unfortunately, I don't think anything like
this exists.

The only way I see of getting what I want is to make separate
versions of all the subroutines I call, which are designed to
display their output to a text widget. That is not a very
attractive prospect, and if it is the only option, I'll
probably just be content to have to switch back and forth
between the xterm and the top widget.

Chad
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: HISTOGRAM and the Razor's Edge.
Next Topic: installing IDL

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

Current Time: Sat Oct 11 10:10:14 PDT 2025

Total time taken to generate the page: 0.31936 seconds