Ask a Question related to Mac Programming, Design and Development.
-
Dylan #1
Change Notification functions in Darwin?
Hi,
I'm pretty new to the Mac, having a Windows and to some extent BSD
background. I'm still making my way round the documentation. Apologies if
I'm asking an obvious question, but I can't find the answer.
I need to use change notification functionality, e.g. a mechanism to notify
an application when a change in a directory or file occurs. Windows has the
ChangeNotification and CompletionPort functionality. The BSDs
(Free/Net/Open) have kevent and kqueue. I can't find anything under Darwin,
but I'm convinced it's got to be there somewhere.
I'd prefer to keep to the BSD/Mach layers if possible, because they're not
so unfamilar to me. The rest of the application is pure Darwin, so that
would keep things consistent. However, I'd happily consider using Carbon,
or whatever, to make the application work, but I don't know Carbon from a
fish, and I've got this horrible deadline.
Can anyone point me in the right direction?
Thanks
Dylan Harris
--
By emailing [email]e100_per_email_here@ntlworld.com[/email], you shall give the
"International Campaign to Execute Spammers" e100, and you waive all rights
if ICES finds you've committed spam.
Dylan Guest
-
Form change notification
It's pretty typical for apps to keep track of when a user makes a change to an item, then prompt the user if he tries to navigate away without... -
Where to get in.telnetd and rlogind for Mac OS X 10.3/Darwin
See subject line. Since upgrading to 10.3, only sshd is available. Don't care for the overhead of ssh, nor having to download and install clients... -
[PHP-DEV] demo patch for s*printf probs on darwin
---1062731243-1012306635-1066094383=:19690 Content-Type: TEXT/PLAIN; charset=US-ASCII the php 5 cvs code is not compiling on OS X 10.2 as-is... -
#25733 [Opn->Bgs]: Change error-report for functions
ID: 25733 Updated by: sniper@php.net Reported By: tularis@php.net -Status: Open +Status: Bogus Bug... -
#25733 [NEW]: Change error-report for functions
From: tularis@php.net Operating system: any PHP version: Irrelevant PHP Bug Type: Feature/Change Request Bug description: ... -
James Weatherley #2
Re: Change Notification functions in Darwin?
In article <7Dxcb.52$aW.57488@newsfep2-gui.server.ntli.net>, e100
[email]_per_email_here@ntlworld.com[/email] says...Panther will have kevent and kqueue> Hi,
>
> I'm pretty new to the Mac, having a Windows and to some extent BSD
> background. I'm still making my way round the documentation. Apologies if
> I'm asking an obvious question, but I can't find the answer.
>
> I need to use change notification functionality, e.g. a mechanism to notify
> an application when a change in a directory or file occurs. Windows has the
> ChangeNotification and CompletionPort functionality. The BSDs
> (Free/Net/Open) have kevent and kqueue. I can't find anything under Darwin,
> but I'm convinced it's got to be there somewhere.
>
> I'd prefer to keep to the BSD/Mach layers if possible, because they're not
> so unfamilar to me. The rest of the application is pure Darwin, so that
> would keep things consistent. However, I'd happily consider using Carbon,
> or whatever, to make the application work, but I don't know Carbon from a
> fish, and I've got this horrible deadline.
>
> Can anyone point me in the right direction?
>
> Thanks
>
> Dylan Harris
>
<http://www.apple.com/server/macosx/pantherserver.html>
James Weatherley Guest
-
Eric VERGNAUD #3
Re: Change Notification functions in Darwin?
dans l'article 7Dxcb.52$aW.57488@newsfep2-gui.server.ntli.net, Dylan à
[email]e100_per_email_here@ntlworld.com[/email] a écrit le 25/09/03 9:47*:
Have a look at the following:> Hi,
>
> I'm pretty new to the Mac, having a Windows and to some extent BSD
> background. I'm still making my way round the documentation. Apologies if
> I'm asking an obvious question, but I can't find the answer.
>
> I need to use change notification functionality, e.g. a mechanism to notify
> an application when a change in a directory or file occurs. Windows has the
> ChangeNotification and CompletionPort functionality. The BSDs
> (Free/Net/Open) have kevent and kqueue. I can't find anything under Darwin,
> but I'm convinced it's got to be there somewhere.
>
> I'd prefer to keep to the BSD/Mach layers if possible, because they're not
> so unfamilar to me. The rest of the application is pure Darwin, so that
> would keep things consistent. However, I'd happily consider using Carbon,
> or whatever, to make the application work, but I don't know Carbon from a
> fish, and I've got this horrible deadline.
>
> Can anyone point me in the right direction?
>
> Thanks
>
> Dylan Harris
>
[url]http://developer.apple.com/samplecode/Sample_Code/Interapplication_Comm/Fold[/url]
er_Watching/
AppleEvents.c.htm
Eric VERGNAUD Guest
-
Eric Albert #4
Re: Change Notification functions in Darwin?
In article <MPG.19dcc329467f27c9896ad@News.Individual.NET>,
James Weatherley <news@weatherley.net> wrote:
> In article <7Dxcb.52$aW.57488@newsfep2-gui.server.ntli.net>, e100
> [email]_per_email_here@ntlworld.com[/email] says...> > Hi,
> >
> > I'm pretty new to the Mac, having a Windows and to some extent BSD
> > background. I'm still making my way round the documentation. Apologies if
> > I'm asking an obvious question, but I can't find the answer.
> >
> > I need to use change notification functionality, e.g. a mechanism to notify
> > an application when a change in a directory or file occurs. Windows has the
> > ChangeNotification and CompletionPort functionality. The BSDs
> > (Free/Net/Open) have kevent and kqueue. I can't find anything under Darwin,
> > but I'm convinced it's got to be there somewhere.
> >
> > I'd prefer to keep to the BSD/Mach layers if possible, because they're not
> > so unfamilar to me. The rest of the application is pure Darwin, so that
> > would keep things consistent. However, I'd happily consider using Carbon,
> > or whatever, to make the application work, but I don't know Carbon from a
> > fish, and I've got this horrible deadline.
> >
> > Can anyone point me in the right direction?And a notification API. 'man 3 notify' for details.> Panther will have kevent and kqueue
> <http://www.apple.com/server/macosx/pantherserver.html>
-Eric
--
Eric Albert [email]ejalbert@stanford.edu[/email]
[url]http://rescomp.stanford.edu/~ejalbert/[/url]
Eric Albert Guest
-
Dylan #5
Re: Change Notification functions in Darwin?
Thanks, everyone, for your help.
Dylan Harris
--
By emailing [email]e100_per_email_here@ntlworld.com[/email], you shall give the
"International Campaign to Execute Spammers" e100, and you waive all rights
if ICES finds you've committed spam.
Dylan Guest



Reply With Quote

