[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

Re: [Openvpn-users] Release: OpenVPN-GUI for Windows v1.0-beta2


  • Subject: Re: [Openvpn-users] Release: OpenVPN-GUI for Windows v1.0-beta2
  • From: Miika Keskinen <weeti@xxxxxxxxx>
  • Date: Mon, 05 Jul 2004 11:46:48 +0100

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



____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users