prompt-toolkit / pymux

A terminal multiplexer (like tmux) in Python
BSD 3-Clause "New" or "Revised" License
1.45k stars 82 forks source link

Sharing sessions between users (feature suggestion) #24

Open atsepkov opened 8 years ago

atsepkov commented 8 years ago

Already mentioned this on reddit (https://www.reddit.com/r/Python/comments/3z9rwt/pymux_a_tmux_clone_in_pure_python/cyklk1q), but I think a really awesome feature for this would be support for sharing session while maintaining unique conf settings for each connected user, something tmux doesn't currently do, even with rogue mode. This would allow users to use different shortcut keys from the host who started the session.

What would be even more awesome (but this may be getting too complex) is keeping track of which user initiated the action or opened the pane. That way the individual panes could inherit the config of the user who opened them (useful to know which .vimrc to load, for example), prevent guests from navigating to areas they shouldn't have permission to access, or even mark the panes themselves as read-only.

jonathanslenders commented 8 years ago

Hi @atsepkov,

That's very interesting. Having individual key bindings for each user should probably be possible. (I'll have a look at that.)

About the second part, I'm not sure. Especially, I don't think it's up to a terminal multiplexer to implement permissions.