 | | There are times when it's useful to be able to execute a program on a terminal, but to have the input and output of the program connected to a program, rather than to the keyboard and screen. For example, some programs, such as passwd, insist on reading from the terminal—it is impossible to talk to programs like this via a pipe. Programs like rlogin and telnet need to set up a “terminal” on the remote host so that things like text editors will work, but their input and output must be connected, via the network, to the user's keyboard and screen. There are also times when it is convenient to be able to record all the input and output of a session; this is what the script utility does. | |
|