recording stdout to a file

This is a discussion on recording stdout to a file within the Linux Programming forums, part of the Platform Specific Boards category; (Not exactly a programming question.)
Working in unix interactively, I remember that there was a command that allowed everything that ...

recording stdout to a file

(Not exactly a programming question.)

Working in unix interactively, I remember that there was a command that allowed everything that was being written to the screen to also be saved in a file, but I can't remember the name of the command.

(I don't mean redirecting output of a single command. This was something that, once executed, all subsequent activity on the screen is recorded to a file, until some other key combination ended it.)

when you want to code that program, i suppose its nothing more than opening the STDOUT_FILENO && STDIN_FILENO for reading from it until some special command is received.
all the data read in can be printed to a file.

From that moment on, everything that appears on the terminal screen is also saved to [yourfilename], until you hit control-d to end the script. Now you have a record of everything that appeared on the screen saved to the file that you specified.