Using script
For all programming assignments done on your class account in CS 47B, you will use a program called script to generate a transcript of your terminal session. Script's argument is the name of a file that will contain everything typed between when you start script and you type exit. (script creates a new shell; exit terminates it.) A script command without an argument creates a file named typescript.
Confusion will probably result from typing another script command from within script. Confusion will also result from using a display editor like vi or emacs within script, since all the control characters that the editor outputs to manage the display will be output to the transcript.