And I prefer GUI terminals for this use-case...
And I prefer GUI terminals for this use-case...
I'm really excited about this, since I always forgot the hotkeys/commands for controlling tmux.
I wonder what happens when you close all the tabs, and then open a new one. Are all the tabs history merged back into a "general" history file when you close them, so you will get access to its commands in new ones?
A bit kludgy, but works good enough for me.
This probably isn't to your liking, then, but perhaps it will be of use to someone else: https://github.com/tmux-plugins/tmux-resurrect
(You can, of course, use tmux with any GUI terminal emulator you like.)
Also many times you open a new tab/pane/window and would like to access the history of another one who is already busy running a job so a common history is usually preferrable.
YMMV of course.
One fun fact: you could just remove the battery while your apps where running and when booting up again every window you had open would just reopen with everything you had typed saved to disk in case of the iwork apps.
Might not be 1:1 what you ask for, but it can do scrollbacks for sure and has very advanced command history features.
And you have to get into tmux configs which is a hassle by itself. I am not a fan of terminal multiplexers, I tend to forget them and when the server crashes or reboot it won't replay/restart what I was doing in those tabs anyway. I just use them for long running jobs I am testing. I also don't like the whole tmux window/pane manipulation you can do, I'd rather have my primary DM to do that well.
It's funny how tmux is downvoted in those replies though :D.
Usually will at least change the color of workstations and desktops just to make it more visually obvious which tmux environment I'm looking at when sshing and nesting.
I agree, and have settled on `dtach`; holding a pty is all it does.
For a short while I tried using dtach + dvtm instead of screen but I wasn’t really gaining anything
Then if you open a new shell and want history from a particular older shell you can do `history -r <filename>`
So it is an hybrid automatically saved, manually recovered mode.
- Closed source
- Requires an account to use
- Collects your data
No, thanks. There are plenty of superior options out there.