Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

after without tk

0 views
Skip to first unread message

Erik Selberg

unread,
Jul 7, 1994, 1:14:51 PM7/7/94
to
I'm trying to use the "after" command, or something similar, to do
polling in tcl. However, I'd rather not pin myself to using X windows,
and it seems that after requires me to run with tk and windows and
all the good stuff therein.

Is there a way of side-stepping this to get some sort of time-delay
script calling mechanism without dealing with X?

Thanks,
Erik

Brian Smith

unread,
Jul 7, 1994, 3:10:23 PM7/7/94
to

You need the event-loop mechanism in tk to implement after. Try using
Tcl-DP version 3.2 -- the "dplite" subdirectory contains source for a
wish-like interpreter decoupled from X. You get after, wait-for-variables,
idle, and send like mechanisms without needing X sources or libraries to
compile/run.

-------
Brian C. Smith arpa: bsm...@cs.Berkeley.EDU
University of California, Berkeley uucp: uunet!ucbvax!postgres!bsmith
Computer Sciences Department phone: (510)642-9585

0 new messages