

Perhaps we can grow indefinitely, (although saving it would slow the exit down as this was retrieved from the /tmp/ that vte uses for scrollback, then saved to a file) and only truncate when the user uses the terminal reset which clears the buffer. Where there was some interesting thoughts exchanged on how we could persist things like per terminal history (commands run, not the output) 1) We still need to handle someone setting infinite scrollback. Just for anyone else tracking this, Nathan joined from https:/ /answers. But for the usual case where the user's homedir is on local storage I don't think it should be too problematic. NFS storage and if the network is lossy you don't want terminator to slow to a crawl as a result.

I believe this should be a setting because the user's homedir might be on e.g. Perhaps an additional setting to continuously sync scrollback history to disk in case of unexpected termination. Note that Stephen's proposal above will not address your use case because it only covers clean exit. But for the usual case where the user's homedir is on local storage I don't think it should be too Boddy

ITERM SAVE SESSION WINDOWS
If for some reason I want to close all Terminator windows at once without shutting down the computer I can just send it SIGTERM or something, I guess (see Wilkins What if I just leave Terminator open when I shut down? Even though I have three windows open right now I note that there is one terminator process running, so you wouldn't have to worry about IPC coordination. I was wondering if there would be problems with multiple windows. Seems reasonable to restrict that file to the same number of lines to solve the unbounded growth problem.
ITERM SAVE SESSION HOW TO
(Can it be done direct? Or use "cat"? How to grey out? Or draw a horizontal line?)ġ) Terminator has a setting for number of scrollback lines. I guess it would be in three parts:ġ) On exit save the scrollback buffer to somewhere like ~/.cache/ terminator/ $_buffer.out (How to prevent it forever growing?)Ģ) On load push the saved cache file into the vte widget. Would be somewhere between tricky and impossible. Possibly a keyboard shortcut for those that want it? I don't think I'd want it enabled or in the menu by default, because it's somewhat of a nuclear option. This would need thought, because if you have multiple windows in your layout/session, right now there is no way to exit the whole layout/session. Theoretically it should be possible to add a check box in the layout pane to save session on exit. (Some of these bits might only be in trunk. Setting up coc nvim.- Save layout information (position, size of terminals)Īre all saved when saving layouts.
