New answers tagged terminal-multiplexer
There is no general method. As observed by vinc17, different terminal emulators let you configure the TERM value in different ways, if at all. You can drop terminfo configuration files into your home directory, organized as ~/.terminfo/INITIAL-LETTER/VALUE. For example, if you wish for xterm to point to the 256-color entry, on a typical machine, you could ...
You can do this in your terminal configuration. For instance, with Xterm, this can be done via the X resources. You can do this via the Xterm app-defaults: *termName: xterm-256color or via a -tn xterm-256color option. This is similar for rxvt.
In tmux 1.9a you can do :switch-client -r. I'm not sure if this is new in 1.9a, but that is the version that I am running and I am able to change an existing tmux session to read-only mode.
You could try running two separate tmux sessions at once - one for you, and the second for the other user. Then, use your OS's windowing system to arrange two terminals side by side, with one for you and one for him. If you need to write in his terminal, just choose it for input. You run (each command in its own terminal): tmux new-session -s Alice tmux ...
Top 50 recent answers are included