4 ms·
I've been working on my own terminal for a while now, and capturing the output of separate commands and reusing it is one it its unique features. See Extraterm
by sime2009 6y ago
I've been working on my own terminal for a while now, and capturing the output of separate commands and reusing it is one it its unique features. See Extraterm in [action here](http://extraterm.org/features.html#shell-integration http://extraterm.org/features.html#shell-integration)
It doesn't quite do what you are asking though. There is shell integration for some fancy features and it works with the most common 'normal' shells. I don't have a custom shell or similar which deeply integrates with Extraterm to automatically run commands in separate panes or windows.
Extraterm is based around the idea of a stack of 'blocks' which can hold output, images or more complex data (possiblye tabular data) etc. Although I haven't tried it directly, emulating something like a Jupyter notebook should be possible after writing some extensions via Extraterm's extension API.
A session spanning 'global' history would be fairly easy to implement as an Extraterm extension.
Getting what you in particular are asking for to work across ssh, containers, etc is difficult. You need to run your own code (=shell or "command runner") on the remote end somehow and you don't want a manual installation step everywhere. The only thing left is doing some kind of over the terminal delivery of code to the remote shell and then running it.