]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
script: add note to BUGS man page section
authorKarel Zak <kzak@redhat.com>
Thu, 25 Jun 2015 09:55:42 +0000 (11:55 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 25 Jun 2015 09:55:42 +0000 (11:55 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
term-utils/script.1

index 6b566fe5edceef21ed06f2120400916a63df6834..d4f5c0048b21d3970133ba51cfac8850ed324f16 100644 (file)
@@ -176,6 +176,13 @@ places
 .I everything
 in the log file, including linefeeds and backspaces.  This is not what the
 naive user expects.
+.PP
+.B script
+is primarily designed for interactive terminal sessions, it's possible that when stdin 
+is not a terminal (for example "echo foo | script") then all session hung ups, because
+interactive shell within script session miss EOF and the 
+.B script
+has no clue when close the session. See the NOTES section for more information.
 .SH AVAILABILITY
 The script command is part of the util-linux package and is available from
 .UR ftp://\:ftp.kernel.org\:/pub\:/linux\:/utils\:/util-linux/