Commit | Line | Data |
---|---|---|
e51e7121 KM |
1 | .\" Copyright (c) 1980 Regents of the University of California. |
2 | .\" All rights reserved. The Berkeley software License Agreement | |
3 | .\" specifies the terms and conditions for redistribution. | |
4 | .\" | |
67083516 | 5 | .\" @(#)script.1 6.1 (Berkeley) %G% |
e51e7121 | 6 | .\" |
67083516 | 7 | .TH SCRIPT 1 "" |
e51e7121 KM |
8 | .UC 4 |
9 | .SH NAME | |
10 | script \- make typescript of terminal session | |
11 | .SH SYNOPSIS | |
12 | .B script | |
13 | [ | |
14 | .B \-a | |
e51e7121 KM |
15 | ] [ file ] |
16 | .SH DESCRIPTION | |
17 | .I Script | |
18 | makes a typescript of everything printed on your terminal. | |
f078f674 KM |
19 | The typescript is written to |
20 | .IR file , | |
21 | or appended to | |
22 | .IR file | |
23 | if the | |
24 | .B \-a | |
25 | option is given. | |
26 | It can be sent to the line printer later with | |
27 | .IR lpr . | |
28 | If no file name is given, the typescript | |
29 | is saved in the file | |
30 | .IR typescript . | |
e51e7121 | 31 | .PP |
f078f674 | 32 | The script ends when the forked shell exits. |
e51e7121 KM |
33 | .PP |
34 | This program is useful when using a crt and a hard-copy | |
35 | record of the dialog is desired, as for a student handing | |
36 | in a program that was developed on a crt when hard-copy | |
37 | terminals are in short supply. | |
e51e7121 | 38 | .SH BUGS |
f078f674 KM |
39 | .I Script |
40 | places | |
41 | .B everything | |
42 | in the log file. This is not what the naive user expects. |