4.3BSD-UWisc/man/man1/script.1

Compare this file to the similar file:
Show the results in this format:

.\" Copyright (c) 1980 Regents of the University of California.
.\" All rights reserved.  The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
.\"	@(#)script.1	6.1 (Berkeley) 4/29/85
.\"
.TH SCRIPT 1 "April 29, 1985"
.UC 4
.SH NAME
script \- make typescript of terminal session
.SH SYNOPSIS
.B script
[
.B \-a
] [ file ]
.SH DESCRIPTION
.I Script
makes a typescript of everything printed on your terminal.
The typescript is written to 
.IR file ,
or appended to
.IR file
if the
.B \-a
option is given.
It can be sent to the line printer later with
.IR lpr .
If no file name is given, the typescript
is saved in the file
.IR typescript .
.PP
If the file `typescript' already exists, the program will notify
the user of this and overwrite the file only when the user's
permission.
The script ends when the forked shell exits.
.PP
The user can run only one script at a time; that is, script cannot be
invoked within another script.
.PP
This program is useful when using a crt and a hard-copy
record of the dialog is desired, as for a student handing
in a program that was developed on a crt when hard-copy
terminals are in short supply.
.SH "LOCAL MODS"
Added option to run only one script at a time.
Added option to notify user of existing typescript before
creating a new one.
.SH BUGS
.I Script
places 
.B everything
in the log file.  This is not what the naive user expects.