summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--term-utils/script.17
1 files changed, 7 insertions, 0 deletions
diff --git a/term-utils/script.1 b/term-utils/script.1
index 6b566fe5e..d4f5c0048 100644
--- a/term-utils/script.1
+++ b/term-utils/script.1
@@ -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/