I am trying to write a TCL/TK routine to monitor the motion of a
telescope. It needs to be able to attach to some socket listening
process and watch the numbers come in while setting some global
variables for the display. I need the display code to be forked off
from the socket code so the display can change and buttons pressed (etc)
while the other half is listening for more info from the socket. Any
hints, clues or other bits of info on how this may be best achieved?
Thanks
Niall
--
==============================================================
Niall Gaffney ni...@rhea.as.utexas.edu
HET Operations http://rhea.as.utexas.edu/~niall
Actually, you don't need two processes. Use the fileevent command to
receive events when the socket is readable.
**********************************************************************
* Gerald W. Lester | Voice: +1 (504)-889-2784 *
* Computerized Processes Unlimited, Inc. | FAX: +1 (504)-889-2799 *
* 4200 S. I-10 Service Rd., Suite 205 | E-Mail: g...@cpu.com *
* Metairie, LA 70001 | WWW: http://www.cpu.com *
* "Consulting System Integrators" *
**********************************************************************
Cameron Laird http://starbase.neosoft.com/~claird/home.html
cla...@NeoSoft.com +1 713 623 8000 #227
+1 713 996 8546 FAX
-- William
--------
Teaching Assistant by day, Research Assistant by night
MSEECS 2-'95 Massachusetts Institute of Technology Bld 36, Rm 279
e-mail: wpm...@mit.edu WWW: http://www-mtl.mit.edu/~wpmoyne/