[Twisted-Python] Collaborative Text Editor

I'm thinking of implementing a real-time collaborative text editor in Python using Twisted. An initial plan is to use a Twisted PB server daemon that accepts user:password:file connections from text editor clients to make changes to a specified file on the server, and have the text editor clients update their local copies of the file based on local user input or input entered from other users, relayed via the server. Jabber compatibility would be nice, as would color-coding of different users' text, etc. But I really want to keep this as simple as possible for a specific purpose. (I've written with twisted PB recently and am very pleased with its power and ease of use.) I'd appreciate pointers to any existing, simple Python-based text editors suitable for being adapted to this purpose. "Suitable" means under an OSI-approved license and written cleanly and modularly to facilitate incorporation into another project. Offers to collaborate would be gratefully accepted. The result, if any, will be GPL'd and released. If anyone wants to take these ideas and run with a project of their own, be my guest. Thanks, Ed -- Ed Suominen Registered Patent Agent Open Source Developer (Yes, both...) Web Site: http://www.eepatents.com

Ed Suominen <general@eepatents.com> writes:
I seem to recall that there's an xemacs implementation of twisted's PB stuff [checks; yes, it's true, but "partial"]; IMO, such a text-editing thing will only be useful if one uses a "real" text editor like emacs (or whatever your favourite "real" text-editor is, but I'm reasonably sure [1] it's not IDLE or something Pythonic for most programmers...) Footnotes: [1] of course, I say that sitting inside a GNUS inside a SCREEN instance inside RATPOISON, so I might not be "average"... Good luck, -- mike [at] mike [dash] warren [dot] com <URL:http://www.mike-warren.com> gpg --keyserver 80.71.227.37 --recv-key 579911BD 87F2 4D98 BDB0 0E90 EE2A 0CF9 1087 0884 5799 11BD

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
I'm thinking of implementing a real-time collaborative text editor in Python using Twisted.
Are you aware of LeoN? http://ryalias.freezope.org/souvenirs/leon Leo (without 'N') is an outlining editor written in Python, old and powerful, and LeoN is an extension for collaborative editing based on Twisted, new and alpha, but probably worth a look. - -- Nicola Larosa - nico@tekNico.net "When a student asks why case matters, simply ask why it shouldn't matter. If they think it would be easier to use Python if they can be inconsistent in their use of case, then they have the answer. Python helps teach that consistency matters." -- Michael McLay, April 2004 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFA9jfyUE0NcK/GJXYRAlebAJ9wNXcLDrZknQpM7fjGiSBo909qswCffbKt iRExrxWyVXAXczvdLRFChPk= =ZQax -----END PGP SIGNATURE-----

Thanks for the tip! This looks like a wheel I can help round out instead of trying to re-invent. -- Ed Suominen Registered Patent Agent Open Source Developer (Yes, both...) Web Site: http://www.eepatents.com Nicola Larosa wrote:

Thanks for the tip! This looks like a wheel I can help round out instead of trying to re-invent.
You're welcome. Or maybe not... ;-)
Ed Suominen Registered Patent Agent
I hadn't noticed this before. I sure hope you do *not* accept applications about *software* patents, otherwise I may possibly come to regret having helped you. ;-)
Open Source Developer (Yes, both...) Web Site: http://www.eepatents.com
Now I'm confused. You're a good guy, a bad guy, or what? ;-) -- Nicola Larosa - nico@tekNico.net "When a student asks why case matters, simply ask why it shouldn't matter. If they think it would be easier to use Python if they can be inconsistent in their use of case, then they have the answer. Python helps teach that consistency matters." -- Michael McLay, April 2004

Ed Suominen <general@eepatents.com> writes:
I seem to recall that there's an xemacs implementation of twisted's PB stuff [checks; yes, it's true, but "partial"]; IMO, such a text-editing thing will only be useful if one uses a "real" text editor like emacs (or whatever your favourite "real" text-editor is, but I'm reasonably sure [1] it's not IDLE or something Pythonic for most programmers...) Footnotes: [1] of course, I say that sitting inside a GNUS inside a SCREEN instance inside RATPOISON, so I might not be "average"... Good luck, -- mike [at] mike [dash] warren [dot] com <URL:http://www.mike-warren.com> gpg --keyserver 80.71.227.37 --recv-key 579911BD 87F2 4D98 BDB0 0E90 EE2A 0CF9 1087 0884 5799 11BD

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
I'm thinking of implementing a real-time collaborative text editor in Python using Twisted.
Are you aware of LeoN? http://ryalias.freezope.org/souvenirs/leon Leo (without 'N') is an outlining editor written in Python, old and powerful, and LeoN is an extension for collaborative editing based on Twisted, new and alpha, but probably worth a look. - -- Nicola Larosa - nico@tekNico.net "When a student asks why case matters, simply ask why it shouldn't matter. If they think it would be easier to use Python if they can be inconsistent in their use of case, then they have the answer. Python helps teach that consistency matters." -- Michael McLay, April 2004 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFA9jfyUE0NcK/GJXYRAlebAJ9wNXcLDrZknQpM7fjGiSBo909qswCffbKt iRExrxWyVXAXczvdLRFChPk= =ZQax -----END PGP SIGNATURE-----

Thanks for the tip! This looks like a wheel I can help round out instead of trying to re-invent. -- Ed Suominen Registered Patent Agent Open Source Developer (Yes, both...) Web Site: http://www.eepatents.com Nicola Larosa wrote:

Thanks for the tip! This looks like a wheel I can help round out instead of trying to re-invent.
You're welcome. Or maybe not... ;-)
Ed Suominen Registered Patent Agent
I hadn't noticed this before. I sure hope you do *not* accept applications about *software* patents, otherwise I may possibly come to regret having helped you. ;-)
Open Source Developer (Yes, both...) Web Site: http://www.eepatents.com
Now I'm confused. You're a good guy, a bad guy, or what? ;-) -- Nicola Larosa - nico@tekNico.net "When a student asks why case matters, simply ask why it shouldn't matter. If they think it would be easier to use Python if they can be inconsistent in their use of case, then they have the answer. Python helps teach that consistency matters." -- Michael McLay, April 2004
participants (3)
-
Ed Suominen
-
Mike Warren
-
Nicola Larosa