In Unix, the normal way to record (log) an interactive shell session is with the Unix 'script' command (what the user types is underlined): Every byte that is sent to the screen is recorded in the log ...