For Programmers: Free Programming Magazines  


Home > Archive > Tcl > October 2005 > Displaying/Tailing Files using Tcl/Tk









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Displaying/Tailing Files using Tcl/Tk
Roland Boers

2005-10-27, 3:57 am

We have to observe a couple of log-files. From a Tcl application we start
some xterms and execute
a tail. We then have a couple of xterm windows each showing how the
respective log-file fills up.

We want to get rid of the platform (UNIX) specific stuff and do that in pure
Tcl/Tk. Any tips how
I can display the tail of a file in e.g. a Tk widget which updates each time
new data is available
in the file in a platform independent manner so that it theoretically would
work also in Windows?

Regards,
Roland


yahalome@gmail.com

2005-10-27, 3:57 am

try
http://mini.net/tcl/1154
and
http://wiki.tcl.tk/9654

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com