From owner-freebsd-questions Mon Jul 9 18: 5:26 2001 Delivered-To: freebsd-questions@freebsd.org Received: from wombat.bytecraft.au.com (wombat.bytecraft.au.com [203.39.118.3]) by hub.freebsd.org (Postfix) with ESMTP id 69A2F37B409 for ; Mon, 9 Jul 2001 18:05:21 -0700 (PDT) (envelope-from taylorm@bytecraft.au.com) Received: from pc99101401.bytecraft.au.com (unknown [203.39.118.42]) by wombat.bytecraft.au.com (Postfix) with SMTP id D36AD3EA0; Tue, 10 Jul 2001 11:05:19 +1000 (EST) Message-ID: <01b901c108dc$b77351e0$2a7627cb@pc99101401.bytecraft.au.com> Reply-To: "Murray Taylor" From: "Murray Taylor" To: "Eric Boucher" Cc: Subject: Re: TCL/TK:How to pop-up a windows before end of prog Date: Tue, 10 Jul 2001 11:07:40 +1000 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 To: FreeBSD 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