How to transfer error messages from one pane to a fresh terminal window?

15 views
Skip to first unread message

Sean Smith

unread,
Jun 6, 2021, 1:58:19 AM6/6/21
to tmux-users
I have nine panes inside a tmux window, most of them with Python scripts running. In one, something went wrong (sporadic, not frequently repeatable) with the script and several error messages were produced. I would like to have the error messages in a format I can copy and paste to a forum for help but I cannot do that with them squashed up in a tmux pane. Is there some way I can detach a specific pane and reattach it in a full-size terminal window on its own? Thanks.

Nicholas Marriott

unread,
Jun 6, 2021, 2:04:42 AM6/6/21
to Sean Smith, tmux-users
Use C-b z to zoom/unzoom the pane, or C-b : break-pane to move it to its own window.



On Sun, 6 Jun 2021, 06:58 Sean Smith, <sean.van....@gmail.com> wrote:
I have nine panes inside a tmux window, most of them with Python scripts running. In one, something went wrong (sporadic, not frequently repeatable) with the script and several error messages were produced. I would like to have the error messages in a format I can copy and paste to a forum for help but I cannot do that with them squashed up in a tmux pane. Is there some way I can detach a specific pane and reattach it in a full-size terminal window on its own? Thanks.

--
You received this message because you are subscribed to the Google Groups "tmux-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tmux-users+...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/tmux-users/32b8ebb4-69f3-485a-b695-2acda07c9941n%40googlegroups.com.

Johannes Altmanninger

unread,
Jun 6, 2021, 2:05:54 AM6/6/21
to Sean Smith, tmux-users
You can temporarily maximize a pane with "resize-pane -Z" (bound to "C-b z").
You could also move it to a new window, with "break-pane" (bound to "C-b !")

sean.van.der.smythe

unread,
Jun 6, 2021, 9:42:01 AM6/6/21
to Johannes Altmanninger, tmux-users
This is perfect; thank you both!

On Sunday, 6 Jun, 07:05, wrote:

> On Sat, Jun 05, 2021 at 06:08:48PM -0700, Sean Smith wrote: &gt; I have nine panes inside a tmux window, most of them with Python scripts &gt; running. In one, something went wrong (sporadic, not frequently repeatable) &gt; with the script and several error messages were produced. I would like to &gt; have the error messages in a format I can copy and paste to a forum for &gt; help but I cannot do that with them squashed up in a tmux pane. Is there &gt; some way I can detach a specific pane and reattach it in a full-size &gt; terminal window on its own? Thanks. You can temporarily maximize a pane with "resize-pane -Z" (bound to "C-b z"). You could also move it to a new window, with "break-pane" (bound to "C-b !")
Reply all
Reply to author
Forward
0 new messages