summaryrefslogtreecommitdiffstats
path: root/usr.bin/script
diff options
context:
space:
mode:
authorgjb <gjb@FreeBSD.org>2011-09-29 02:29:32 +0000
committergjb <gjb@FreeBSD.org>2011-09-29 02:29:32 +0000
commit773f9deac1698677cd50a150db8aba6cd794ab7c (patch)
tree4bd83ec8c631d901921aabcb58322b6a1e0b87f3 /usr.bin/script
parenteca9de9f4b38e9b5d033f9978fdf540aed1bb042 (diff)
downloadFreeBSD-src-773f9deac1698677cd50a150db8aba6cd794ab7c.zip
FreeBSD-src-773f9deac1698677cd50a150db8aba6cd794ab7c.tar.gz
Fix a few grammar and mdoc nits in script.1
PR: 161088 Submitted by: Ben Kaduk ( kaduk % mit ! edu ) MFC after: 1 week Need-MFC: 225809
Diffstat (limited to 'usr.bin/script')
-rw-r--r--usr.bin/script/script.133
1 files changed, 19 insertions, 14 deletions
diff --git a/usr.bin/script/script.1 b/usr.bin/script/script.1
index cd3f800..21bc2fd 100644
--- a/usr.bin/script/script.1
+++ b/usr.bin/script/script.1
@@ -28,7 +28,7 @@
.\" @(#)script.1 8.1 (Berkeley) 6/6/93
.\" $FreeBSD$
.\"
-.Dd January 22, 2004
+.Dd September 28, 2011
.Dt SCRIPT 1
.Os
.Sh NAME
@@ -73,15 +73,16 @@ or
.Pa typescript ,
retaining the prior contents.
.It Fl k
-Log keys sent to program as well as output.
+Log keys sent to the program as well as output.
.It Fl q
Run in quiet mode, omit the start and stop status messages.
.It Fl t Ar time
-Specify time interval between flushing script output file.
+Specify the interval at which the script output file will be flushed
+to disk, in seconds.
A value of 0
causes
.Nm
-to flush for every character I/O event.
+to flush after every character I/O event.
The default interval is
30 seconds.
.El
@@ -136,13 +137,15 @@ If
.Ev SHELL
is not set, the Bourne shell
is assumed.
-(Most shells set this variable automatically).
+.Pq Most shells set this variable automatically .
.El
.Sh SEE ALSO
.Xr csh 1
-(for the
+.Po
+for the
.Em history
-mechanism).
+mechanism
+.Pc .
.Sh HISTORY
The
.Nm
@@ -165,13 +168,15 @@ mode, echo cancelling is far from ideal.
The slave terminal mode is checked
for ECHO mode to check when to avoid manual echo logging.
This does not
-work when in a raw mode where the program being run is doing manual echo.
+work when the terminal is in a raw mode where
+the program being run is doing manual echo.
.Pp
-If the
+If
.Nm
-reads zero bytes from the terminal it switches to a mode when it probes read
-only once a second until it gets some data.
-This prevents the
+reads zero bytes from the terminal, it switches to a mode when it
+only attempts to read
+once a second until there is data to read.
+This prevents
.Nm
-spinning on zero-byte reads, but might cause a 1-second delay in
-processing of the user input.
+from spinning on zero-byte reads, but might cause a 1-second delay in
+processing of user input.
OpenPOWER on IntegriCloud