wblock@
Developer
script(1) can be used to capture console session output. This is useful for later reference, like looking for what caused a port to fail to build.
Example:
Everything that was shown on the screen is captured in the output file /tmp/session.txt.
Example:
Code:
# script /tmp/session.txt
# cd /usr/ports/www/links
# make
...
# exit
Script done, output file is /tmp/session.txt
Everything that was shown on the screen is captured in the output file /tmp/session.txt.