2

I have a screen session running on my local machine:

~/test@example.com$screen -S pair

Then, turn on multiuser:

ctrl-a:multiuser on

Finally, allow the user pair to connect to the session:

ctrl-a:acladd pair

So far so good. A remote user can log into the machine as pair and connect to the session:

~/$ssh pair@example.io
pair@example~/$screen -x test/pair

But, if I open a split:

ctrl-a:|

The user pair cannot see the split.

Is it possible to have multiple splits open in a shared session?

1

The split is done in the screen client, not in the screen session itself. pair may split his screen any way he wants, independent of your split.

  • Is it possible to create a split that anyone in the session can see? – spinlock Jul 21 '15 at 20:36
  • You might find this answer to a related question useful: unix.stackexchange.com/a/1985/119010 – katti Jul 22 '15 at 7:20
  • I believe tmux can do that, as it separates the notions of sessions, windows and panes. – katti Jul 22 '15 at 7:21
  • Thanks @katti! I actually use tmux all the time (though iterm2) but I didn't think it supported multiuser as well as screen. Do you know if it's possible to have 2 users on the same system share a session with tmux? – spinlock Jul 23 '15 at 16:56
0

Turns out screen now has a layout facility that will keep track of splits. In order for the pair to see the current layout just save it as the default:

ctrl-a:layout save default

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.