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 #35427 is a reply to message #35426] Fri, 13 June 2003 04:04 Go to previous messageGo to previous message
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
Chad Bender wrote:
> 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.
>

Did you have thougth on rereading the device of the terminal.
openr,lun,'/dev/stdout',/get_lun


Just an idea but should work

Reimar
> 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



--
Reimar Bauer

Institut fuer Stratosphaerische Chemie (ICG-I)
Forschungszentrum Juelich
email: R.Bauer@fz-juelich.de
------------------------------------------------------------ -------
a IDL library at ForschungsZentrum Juelich
http://www.fz-juelich.de/icg/icg-i/idl_icglib/idl_lib_intro. html
============================================================ =======
[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 03:21:17 PDT 2025

Total time taken to generate the page: 0.63980 seconds