sctip(1) can capture the entire terminal output. This is very useful such as, capturing all the messages after you start your X server, or capturing the entire compiling session.
In the console, just type script /place/to/store/output/file.txt
you can continue your work on this console.
To end it, just type exit on the console.