You are not logged in.

#1 2023-08-14 17:25:55

ua4000
Member
Registered: 2015-10-14
Posts: 558

tmux history + qterminal history together ?

I use LXQt with the qterminal (history set to unlimited) to ssh into another machine, to watch some remote program working:

only qterminal, no tmux:
+   unlimited history: if the ssh breaks I can scroll up to see what was going on
+   unlimited history: if remote machine reboots, I can still scroll thru all old outputs in qterminal
-    no re-attach to the current programs output, if the ssh breaks

qterminal with tmux on remote machine:
+   if the ssh breaks, I can re-attach to the current programs output
+   if the ssh breaks, I can re-attach and scroll thru the complete tmux history
-    if the remote machine reboots, tmux history is gone, qterminal has only one page.

--> Is there a way to get both histories together ?
The remote tmux history + local history of my qterminal ?


tmux was used like this:

tmux -2 -u \
set-option -g  history-limit 999999999 \; \
set-option -g  default-terminal 'tmux-256color' \; \
set-option -g  mouse off    \; \
bind-key -n 'F12' copy-mode \; \
bind-key -n 'C-d' detach    \; \
new-session -A -s "${user}_$1"

Last edited by ua4000 (2023-08-14 17:27:36)

Offline

Board footer

Powered by FluxBB