Re: [fpc-pascal] File monitoring Linux

2011-09-13 Thread Michael Schneider
Am Tuesday 13 September 2011 14:05:52 schrieb Mattias Gaertner: > Hi, > > I'm searching some pascal code for file monitoring for Linux. That means > getting notified if a file in a directory or its sub directories was > modified. > I found some hints that people started it, but I can't find the res

Re: [fpc-pascal] File monitoring Linux

2011-09-13 Thread cobines
We have an implementation based on inotify in our project: http://doublecmd.svn.sourceforge.net/viewvc/doublecmd/branches/0.5/src/platform/unix/inotify.pp http://doublecmd.svn.sourceforge.net/viewvc/doublecmd/branches/0.5/src/platform/ufilesystemwatcher.pas It has only been tested to work on dire

Re: [fpc-pascal] File monitoring Linux

2011-09-13 Thread Martin Schreiber
Am 13.09.2011 14:15, schrieb Graeme Geldenhuys: On 13/09/2011 14:14, Martin Schreiber wrote: MSEgui has an implementation based on signals because inotify is not available on old kernels. lib/common/sysutils/msefilechange.pas. Word of caution... I still haven't tracked down why MSEide doesn

Re: [fpc-pascal] File monitoring Linux

2011-09-13 Thread Martin Schreiber
Am 13.09.2011 14:19, schrieb Mattias Gaertner: Does this work with thousands of sub directories? Not tested, probably not. It is used by MSEide. Martin ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/l

Re: [fpc-pascal] File monitoring Linux

2011-09-13 Thread Mattias Gaertner
On Tue, 13 Sep 2011 13:14:10 +0100 Martin Schreiber wrote: > Am 13.09.2011 13:05, schrieb Mattias Gaertner: > > Hi, > > > > I'm searching some pascal code for file monitoring for Linux. That means > > getting notified if a file in a directory or its sub directories was > > modified. > > I found s

Re: [fpc-pascal] File monitoring Linux

2011-09-13 Thread Graeme Geldenhuys
On 13/09/2011 14:14, Martin Schreiber wrote: >> > MSEgui has an implementation based on signals because inotify is not > available on old kernels. > lib/common/sysutils/msefilechange.pas. Word of caution... I still haven't tracked down why MSEide doesn't notify me or detect external file changes

Re: [fpc-pascal] File monitoring Linux

2011-09-13 Thread Martin Schreiber
Am 13.09.2011 13:05, schrieb Mattias Gaertner: Hi, I'm searching some pascal code for file monitoring for Linux. That means getting notified if a file in a directory or its sub directories was modified. I found some hints that people started it, but I can't find the result. Any hints are greatly

[fpc-pascal] File monitoring Linux

2011-09-13 Thread Mattias Gaertner
Hi, I'm searching some pascal code for file monitoring for Linux. That means getting notified if a file in a directory or its sub directories was modified. I found some hints that people started it, but I can't find the result. Any hints are greatly appreciated. Or has someone already implemented

Re: [fpc-pascal] File monitoring

2007-10-24 Thread ik
Thank you for the answer. On 10/24/07, Krishna <[EMAIL PROTECTED]> wrote: > On 10/24/07, ik <[EMAIL PROTECTED]> wrote: > > Hello, > > > > I was wondering if there is an existed file monitor unit/library etc.. > > for Linux ? > > > > I'm looking for such daemon/unit/library/code that will be able t

Re: [fpc-pascal] File monitoring

2007-10-23 Thread Krishna
On 10/24/07, ik <[EMAIL PROTECTED]> wrote: > Hello, > > I was wondering if there is an existed file monitor unit/library etc.. > for Linux ? > > I'm looking for such daemon/unit/library/code that will be able to do > as follows: > 1. Monitor mask of files > 2. LGPL or library that it's license allo

[fpc-pascal] File monitoring

2007-10-23 Thread ik
Hello, I was wondering if there is an existed file monitor unit/library etc.. for Linux ? I'm looking for such daemon/unit/library/code that will be able to do as follows: 1. Monitor mask of files 2. LGPL or library that it's license allows me to use it also for commercial use. 3. Ability to moni