From 63ddc7ba1ee47ddf78bba192a658c1fd91b2f407 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Thu, 25 Jun 2015 11:55:42 +0200 Subject: script: add note to BUGS man page section Signed-off-by: Karel Zak --- term-utils/script.1 | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'term-utils/script.1') 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/ -- cgit v1.2.3-55-g7522