View | Details | Raw Unified | Return to bug 161088
Collapse All | Expand All

(-)script.1 (-14 / +19 lines)
Lines 28-34 Link Here
28
.\"	@(#)script.1	8.1 (Berkeley) 6/6/93
28
.\"	@(#)script.1	8.1 (Berkeley) 6/6/93
29
.\" $FreeBSD: src/usr.bin/script/script.1,v 1.25 2011/09/27 18:14:04 trociny Exp $
29
.\" $FreeBSD: src/usr.bin/script/script.1,v 1.25 2011/09/27 18:14:04 trociny Exp $
30
.\"
30
.\"
31
.Dd January 22, 2004
31
.Dd September 27, 2011
32
.Dt SCRIPT 1
32
.Dt SCRIPT 1
33
.Os
33
.Os
34
.Sh NAME
34
.Sh NAME
Lines 73-87 Link Here
73
.Pa typescript ,
73
.Pa typescript ,
74
retaining the prior contents.
74
retaining the prior contents.
75
.It Fl k
75
.It Fl k
76
Log keys sent to program as well as output.
76
Log keys sent to the program as well as output.
77
.It Fl q
77
.It Fl q
78
Run in quiet mode, omit the start and stop status messages.
78
Run in quiet mode, omit the start and stop status messages.
79
.It Fl t Ar time
79
.It Fl t Ar time
80
Specify time interval between flushing script output file.
80
Specify the interval at which the script output file will be flushed
81
to disk, in seconds.
81
A value of 0
82
A value of 0
82
causes
83
causes
83
.Nm
84
.Nm
84
to flush for every character I/O event.
85
to flush after every character I/O event.
85
The default interval is
86
The default interval is
86
30 seconds.
87
30 seconds.
87
.El
88
.El
Lines 136-148 Link Here
136
.Ev SHELL
137
.Ev SHELL
137
is not set, the Bourne shell
138
is not set, the Bourne shell
138
is assumed.
139
is assumed.
139
(Most shells set this variable automatically).
140
.Pq Most shells set this variable automatically .
140
.El
141
.El
141
.Sh SEE ALSO
142
.Sh SEE ALSO
142
.Xr csh 1
143
.Xr csh 1
143
(for the
144
.Po
145
for the
144
.Em history
146
.Em history
145
mechanism).
147
mechanism
148
.Pc .
146
.Sh HISTORY
149
.Sh HISTORY
147
The
150
The
148
.Nm
151
.Nm
Lines 165-177 Link Here
165
The slave terminal mode is checked
168
The slave terminal mode is checked
166
for ECHO mode to check when to avoid manual echo logging.
169
for ECHO mode to check when to avoid manual echo logging.
167
This does not
170
This does not
168
work when in a raw mode where the program being run is doing manual echo.
171
work when the terminal is in a raw mode where
172
the program being run is doing manual echo.
169
.Pp
173
.Pp
170
If the
174
If
171
.Nm
175
.Nm
172
reads zero bytes from the terminal it switches to a mode when it probes read
176
reads zero bytes from the terminal, it switches to a mode when it
173
only once a second until it gets some data.
177
only attempts to read
174
This prevents the
178
once a second until there is data to read.
179
This prevents
175
.Nm
180
.Nm
176
spinning on zero-byte reads, but might cause a 1-second delay in
181
from spinning on zero-byte reads, but might cause a 1-second delay in
177
processing of the user input.
182
processing of user input.

Return to bug 161088