14. 14
マルチユーザのセッションを
README.md に以下のような記述が,tmux を利用すると行けるらしい
Sharing with Multiple Clients
Gotty starts a new process when a new client connects to the server. This means users cannot share a
single terminal with others by default. However, you can use terminal multiplexers for sharing a single
process with multiple clients.
For example, you can start a new tmux session named gotty with top command by the command
below.
$ gotty tmux new -A -s gotty top
This command doesn't allow clients to send keystrokes, however, you can attach the session from your
local terminal and run operations like switching the mode of the top command. To connect to the tmux
session from your terminal, you can use following command.
$ tmux new -A -s gotty
By using terminal multiplexers, you can have the control of your terminal and allow clients to just see
your screen.
15. 15
tmux の 1 つのセッションをみんなで叩く
$ gotty -w tmux new -A -s gotty
-w : 入力可能
tmux new -A -s gotty : gotty というセッション名で tmux を起動
GNU Screen でも出来ないかとセッション名を同じように
gotty にして multiuser on にしてみましたがこれだけでは
うまく行きませんでした. GoTTY 本体に手を入れる必要がある
かもしれません.