| cmurphy 2006-10-30, 7:32 pm |
| Hi folks,
I finally got around to trying what you all suggested, and I got it
working! I ended up using the 'update idle' command at the appropriate
times within each loop, and I feel better too knowing that command is
suggested on page 609 of the Practical Programming book. I am using
update idle to update predominantly entries, so it's fairly low risk as
far as confusing tk.
New question: I have this script that checks 6 different linux machines
to report back the processor % usage. This is the line containing my
exec command:
set topcontents [exec rsh $host top -i -n1 -b]
If I run my tcl program in the background on linux (using &), that line
will not execute, though the tcl code/widgets will. I'd like to free up
the xterm window. Anyone know what I need to do? I assume this is a
pretty basic thing I'm messing up on.
Thanks,
Chris
MH wrote:
> In article <j2iXg.12890$Fx4.9074@newsfe1-gui.ntli.net>,
> Neil Madden <nem@cs.nott.ac.uk> wrote:
>
> [cut]
>
>
> I very much like the looks of this.
>
> With this approach, writing a multi-socket, event-driven
> app/scheduler/monitor/etc becomes very easy. Don't have a great need for it
> at at the moment, but could certainly see this being useful in our
> application soon.
>
> Here's 1 vote for an 8.4 backport.
>
> Mattias
|