=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/script/script.1,v retrieving revision 1.4 retrieving revision 1.5 diff -c -r1.4 -r1.5 *** src/usr.bin/script/script.1 1999/06/05 01:21:39 1.4 --- src/usr.bin/script/script.1 2000/03/06 13:12:49 1.5 *************** *** 1,4 **** ! .\" $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 --- 1,4 ---- ! .\" $OpenBSD: script.1,v 1.5 2000/03/06 13:12:49 aaron Exp $ .\" $NetBSD: script.1,v 1.3 1994/12/21 08:55:41 jtc Exp $ .\" .\" Copyright (c) 1980, 1990, 1993 *************** *** 61,67 **** If no file name is given, the typescript is saved in the file .Pa typescript . .Pp ! Option: .Bl -tag -width Ds .It Fl a Append the output to --- 61,67 ---- If no file name is given, the typescript is saved in the file .Pa typescript . .Pp ! The options are as follows: .Bl -tag -width Ds .It Fl a Append the output to *************** *** 71,88 **** retaining the prior contents. .El .Pp ! The script ends when the forked shell exits (a ! .Em control-D to exit the Bourne shell .Pf ( Xr sh 1 ) , and ! .Em exit , ! .Em logout ! or ! .Em control-d (if ! .Em ignoreeof is not set) for the C-shell, .Xr csh 1 ) . --- 71,87 ---- retaining the prior contents. .El .Pp ! The script ends when the forked shell exits (a control-D ! .Pq Ql ^D to exit the Bourne shell .Pf ( Xr sh 1 ) , and ! .Ic exit , ! .Ic logout , ! or control-D (if ! .Va ignoreeof is not set) for the C-shell, .Xr csh 1 ) . *************** *** 92,117 **** create garbage in the typescript file. .Nm works best with commands that do not manipulate the ! screen, the results are meant to emulate a hardcopy ! terminal. .Sh ENVIRONMENT ! The following environment variable is utilized by .Nm script : .Bl -tag -width SHELL .It Ev SHELL ! If the variable ! .Ev SHELL ! exists, the shell forked by ! .Nm ! will be that shell. If ! .Ev SHELL ! is not set, the Bourne shell ! is assumed. (Most shells set this variable automatically.) .El .Sh SEE ALSO .Xr csh 1 (for the ! .Em history mechanism) .Sh HISTORY The --- 91,111 ---- create garbage in the typescript file. .Nm works best with commands that do not manipulate the ! screen; the results are meant to emulate a hardcopy terminal. .Sh ENVIRONMENT ! The following environment variables are utilized by .Nm script : .Bl -tag -width SHELL .It Ev SHELL ! Name of the shell to be forked by ! .Nm script . ! If not set, the Bourne shell is assumed. ! (Most shells set this variable automatically.) .El .Sh SEE ALSO .Xr csh 1 (for the ! .Sy history mechanism) .Sh HISTORY The