Now we're getting into a terribly difficult programming problem. How does one regulate two clients simultaneously editing the same buffer? Let me give you an example:But won't the users all be sharing the same cursor? I think Mike is looking for independent, simultaneous editing by multiple clients, IIUC.
danb
Say client A makes a modification to the buffer by removing one character at position n. At the same time client B (or at least before client B receives notification from client A) makes an addition to the buffer at position k. However, the value of k is dependent on whether n gets processed before or after k does. Obviously some sort of locking mechanism is needed. So does one user lock a buffer, make some changes, then unlock and let the other one go? Don't we lose simultaneous editing though if we do this?
I'm not saying it's not a good idea, I just think having multiple independent cursors may be less usuable than you would initially think.
Regards, Anthony Liguori
_______________________________________________ Siglinux mailing list [EMAIL PROTECTED] http://machito.utacm.org/mailman/listinfo/siglinux