My question is related to Keyboard and Console, but I want to do it for an arbitrary pseudo terminal, and not just the built-in Linux ones.
Also, I'm not interested in a stream, I just want the current state.
I'd imagine that if I cat
the resulting file with the cursor at 0x0 and same terminal settings, the screen would look exactly like it did when the snapshot was taken.