=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/script/script.1,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- src/usr.bin/script/script.1 1998/09/27 16:57:52 1.3 +++ src/usr.bin/script/script.1 1999/06/05 01:21:39 1.4 @@ -1,4 +1,4 @@ -.\" $OpenBSD: script.1,v 1.3 1998/09/27 16:57:52 aaron Exp $ +.\" $OpenBSD: script.1,v 1.4 1999/06/05 01:21:39 aaron Exp $ .\" $NetBSD: script.1,v 1.3 1994/12/21 08:55:41 jtc Exp $ .\" .\" Copyright (c) 1980, 1990, 1993 @@ -36,7 +36,7 @@ .\" .Dd June 6, 1993 .Dt SCRIPT 1 -.Os BSD 4 +.Os .Sh NAME .Nm script .Nd make typescript of terminal session @@ -45,10 +45,10 @@ .Op Fl a .Op Ar file .Sh DESCRIPTION -.Nm script +.Nm makes a typescript of everything printed on your terminal. 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 can be printed out later with .Xr lpr 1 . .Pp @@ -77,7 +77,7 @@ the Bourne shell .Pf ( Xr sh 1 ) , and -.Em exit , +.Em exit , .Em logout or .Em control-d @@ -90,7 +90,7 @@ Certain interactive commands, such as .Xr vi 1 , create garbage in the typescript file. -.Nm script +.Nm works best with commands that do not manipulate the screen, the results are meant to emulate a hardcopy terminal. @@ -102,7 +102,7 @@ If the variable .Ev SHELL exists, the shell forked by -.Nm script +.Nm will be that shell. If .Ev SHELL is not set, the Bourne shell @@ -115,11 +115,11 @@ mechanism) .Sh HISTORY The -.Nm script +.Nm command appeared in .Bx 3.0 . .Sh BUGS -.Nm script +.Nm places .Em everything in the log file, including linefeeds and backspaces.