Synchronization with drive state

Siver Andrey siver at sirius.ihep.su
Fri Feb 11 16:50:03 UTC 2005


Hi, mc-devel@ !

I found interesting program which allows catching any modifications of states of a directory (thanks to kernel 2.4 documentation). Please find it attached. 
I would like to imbed this feature into MC.

As I understand one need to connect some descriptors with some signals (lying beetween SIGRTMIN+1 and SIGRTMAX) and then connect some actions (which actually should set some global variables-signals for refreshing of the dialogs). Then - add some code for processing of the refreshing signals. 

I found general MC dialog loop 'frontend_run_dlg' but do not understand how refreshing calls.
Could anybody make some comments on this point?


Best regards,

Andrey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.midnight-commander.org/pipermail/mc-devel/attachments/20050211/ba653fe4/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dnotify.c
Type: application/octet-stream
Size: 903 bytes
Desc: not available
URL: <http://lists.midnight-commander.org/pipermail/mc-devel/attachments/20050211/ba653fe4/attachment.obj>


More information about the mc-devel mailing list