Reputation: 590
I'm trying to set up a tmux session where some of the windows connect to a remote server and attach a screen (tmux isn't installed on the server). Upon attaching the remote screen, I'd like to copy the history of the screen into tmux (I want the history to be persistent, even if the tmux session is restarted).
Is there a way to do that? I didn't see anything obvious while digging through the man pages.
Upvotes: 0
Views: 120
Reputation: 590
For what it's worth, the hacky solution I came up with works well enough. I just have screen dump its history to a file, and then cat/delete the file.
Upvotes: 0