It kind of depends on the OS, but all of them let you subscribe to events on the files in some way. So you would subscribe with os to notify you when some file is changed in some way, keep some internal house keeping information like position up to which you have displayed info, verify that file has indeed changed, read and display new stuff, update internal info.
In essence nothing substantially complicated, but windows and unix interface differs, and at least windows (never investigated unix api in more detail) requires you to dance a bit before you get some results. Such pieces of code is also often used by text editors to notify user that the file in editor has been changed from the outside. (maybe moose already has something like that?) Davorin Rusevljan http://www.cloud208.com/ ----- http://www.cloud208.com/ -- View this message in context: http://forum.world.st/tail-like-tp4535899p4537087.html Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
