version 1.2, 1996/06/26 05:39:02 |
version 1.3, 1998/09/27 16:57:52 |
|
|
.Op Fl a |
.Op Fl a |
.Op Ar file |
.Op Ar file |
.Sh DESCRIPTION |
.Sh DESCRIPTION |
.Nm Script |
.Nm script |
makes a typescript of everything printed on your terminal. |
makes a typescript of everything printed on your terminal. |
It is useful for students who need a hardcopy record of an interactive |
It is useful for students who need a hardcopy record of an interactive |
session as proof of an assignment, as the typescript file |
session as proof of an assignment, as the typescript file |
|
|
Certain interactive commands, such as |
Certain interactive commands, such as |
.Xr vi 1 , |
.Xr vi 1 , |
create garbage in the typescript file. |
create garbage in the typescript file. |
.Nm Script |
.Nm script |
works best with commands that do not manipulate the |
works best with commands that do not manipulate the |
screen, the results are meant to emulate a hardcopy |
screen, the results are meant to emulate a hardcopy |
terminal. |
terminal. |
|
|
will be that shell. If |
will be that shell. If |
.Ev SHELL |
.Ev SHELL |
is not set, the Bourne shell |
is not set, the Bourne shell |
is assumed. (Most shells set this variable automatically). |
is assumed. (Most shells set this variable automatically.) |
.El |
.El |
.Sh SEE ALSO |
.Sh SEE ALSO |
.Xr csh 1 |
.Xr csh 1 |
(for the |
(for the |
.Em history |
.Em history |
mechanism). |
mechanism) |
.Sh HISTORY |
.Sh HISTORY |
The |
The |
.Nm script |
.Nm script |
command appeared in |
command appeared in |
.Bx 3.0 . |
.Bx 3.0 . |
.Sh BUGS |
.Sh BUGS |
.Nm Script |
.Nm script |
places |
places |
.Sy everything |
.Em everything |
in the log file, including linefeeds and backspaces. |
in the log file, including linefeeds and backspaces. |
This is not what the naive user expects. |
This is not what the naive user expects. |