Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jul 2001 11:07:40 +1000
From:      "Murray Taylor" <taylorm@bytecraft.au.com>
To:        "Eric Boucher" <eric_boucher60@yahoo.com>
Cc:        <questions@freebsd.org>
Subject:   Re: TCL/TK:How to pop-up a windows before end of prog
Message-ID:  <01b901c108dc$b77351e0$2a7627cb@pc99101401.bytecraft.au.com>

next in thread | raw e-mail | index | archive | help
You need to use the
update
command between pings etc as Tk/Tcl only updates
during idle times otherwise

man update(n) (i think) will probably show more info

Murray Taylor
Project Manager
Bytecraft Systems Pty Ltd
ph:   +61 3 9587 2555
Fax:  +61 3 9587 1614
Email: taylorm@bytecraftsystems.com
-----Original Message-----
From: Eric Boucher <eric_boucher60@yahoo.com>
To: FreeBSD <freebsd-questions@FreeBSD.ORG>
Date: Tuesday, 10 July 2001 10:51
Subject: TCL/TK:How to pop-up a windows before end of prog


>Hi everyone,
>
>I wanted to know how to do this trick: I want to make
>a little tcl/tk program that will ping some machine
>and show the result (if the machine is there or not)
>in a graphical window so that I can show the machine
>which are there in a certain color and a certain set
>of caractere. But I want to see them appear in that
>windows immediately when the ping command is done. But
>the way I do it, the program ping all the machine and
>the result appear only when the progam is done. Is
>there a way to make the window appear immediately when
>the first machine is found and that the user can see
>the line appear in the screen of that window. In one
>word, I want to make it in real-time and see the
>output immediately on a newline each time a ping is
>done, not to see all the ping at the end when the
>program have tried them all. (Presently, I'm doing a
>"$t insert end "result of the ping = $var_ping" to
>make the result appear in my graphical window).
>
>Thanks
>
>Eric Boucher
>
>__________________________________________________
>Do You Yahoo!?
>Get personalized email addresses from Yahoo! Mail
>http://personal.mail.yahoo.com/
>
>To Unsubscribe: send mail to majordomo@FreeBSD.org
>with "unsubscribe freebsd-questions" in the body of the message
>



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01b901c108dc$b77351e0$2a7627cb>