|
|
On Mon, 5 Jul 2004, Miika Keskinen wrote:
http://www.sourceforge.net/projects/tailforwin32
However, this program is currently not able to accept a filename to open
on the commandline, so I can't call it from my gui. This issue is filed as
a bug on sourceforge, and there is a description on how to fix it.
If someone has the time todo this, or knows of another viewer with "tail
-f" functionality it would be great...
tail -f functionality for win is anyways less than 20 lines of code.. just
spawn new thread (cause you can't select nothing but sockets in win) then
read contents of file, print last 10 lines and for the '-f'-part use
FindFirstChangeNotification + appropriate 'wait-function'.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/base/findfirstchangenotification.asp
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/wait_functions.asp
Thanks for the info. However this will require writing the viewer itself
first (or using some other availble code), so it seems like a waist of
time if there are other tools availble that solves this.
If we don't find any other such application, I will do this of cource.
--
_____________________________________________________________
Mathias Sundman (^) ASCII Ribbon Campaign
NILINGS AB X NO HTML/RTF in e-mail
Tel: +46-(0)8-666 32 28 / \ NO Word docs in e-mail
____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users
|