As I'm sure most of you are aware; tmux and screen have features that allow the sharing of a concurrent terminal session with a remote host.
At first this seems great, and for some purposes it is, but there's one problem: Even though both users (local and remote) are able to send keys and observe the changes live (i.e. simultaneously and in real-time); there's only one cursor. This means that everything is fine as long as only one person types while the other simply observes.
As soon as both users try to type at the same time, they're essentially fighting for control of the keyboard and thus the standard input, and so on.
So while it holds great promise for programmers, etc. as an avenue for real-time collaboration, it ultimately falls short when compared to a web-based solution, of which there is at least one I know of that works great.
What I want to know is:
- How can the problem be overcome?
- What considerations need to be taken into account by someone wanting to implement a feature like this (i.e. the potential for each user to have their own cursor, or a similar solution)?