From: Karel Zak Date: Thu, 25 Jun 2015 09:55:42 +0000 (+0200) Subject: script: add note to BUGS man page section X-Git-Tag: v2.27-rc1~132^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=63ddc7ba1ee47ddf78bba192a658c1fd91b2f407;p=thirdparty%2Futil-linux.git script: add note to BUGS man page section Signed-off-by: Karel Zak --- diff --git a/term-utils/script.1 b/term-utils/script.1 index 6b566fe5ed..d4f5c0048b 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/