Terminal window scrollback is saved somewhere?
Dear Mac enthusiasts,
Every Terminal window has a history, which is evident because you can scroll all the way back. In the Terminal Preferences there is even an option where you can set the Scrollback to unlimited, or limit it to a number of lines.
My question is, is this history saved somewhere in a hidden system file or something like that? Or is it only saved in the Terminal process memory which means when you close the window, or worse, exit Terminal, this history is gone forever?
The practical thing I'd like to be able to do is to access the scrollback info from a Terminal window that has already been closed. I catted (unix command cat) a file, then deleted the file, then closed the window, but I'd like to recover the contents of that file in this way. I know, stupid, but if there is a solution, I'd like to hear it!
Best regards,
Jan
iMac (17-inch Flat Panel), Mac OS X (10.6.8)