Open
Description
Clipetty is an Emacs mode that sends Emacs cuts via OSC 52 commands. It attempts to support double nested tmux (in a chain of tmux -> ssh -> tmux -> emacs) in a hackish way: it writes the OSC 52 to the tty named in SSH_TTY
. (It's actually a little smarter than that because it queries tmux for the tmux client SSH_TTY
).
This fails in Mosh, because Mosh uses a tty on the SSH connection (which I've never liked), then double-forks, opens its own pty, and lets the parent ssh session exit-- but it never unsets the now-bogus SSH_TTY
.
This is mentioned in issue #738. spudlyo/clipetty#20 discusses the behavior/problems from their side.