summaryrefslogtreecommitdiffstats
path: root/term-utils/script.1
diff options
context:
space:
mode:
authorKarel Zak2015-06-25 11:55:42 +0200
committerKarel Zak2015-06-25 11:55:42 +0200
commit63ddc7ba1ee47ddf78bba192a658c1fd91b2f407 (patch)
tree988e5d180a6d09f179200fcd6f707ca22692dfe1 /term-utils/script.1
parentscript: fix EOF problems (diff)
downloadkernel-qcow2-util-linux-63ddc7ba1ee47ddf78bba192a658c1fd91b2f407.tar.gz
kernel-qcow2-util-linux-63ddc7ba1ee47ddf78bba192a658c1fd91b2f407.tar.xz
kernel-qcow2-util-linux-63ddc7ba1ee47ddf78bba192a658c1fd91b2f407.zip
script: add note to BUGS man page section
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'term-utils/script.1')
-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/