script: add note to BUGS man page section

Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
Karel Zak 2015-06-25 11:55:42 +02:00
parent 54c6611d6f
commit 63ddc7ba1e
1 changed files with 7 additions and 0 deletions

View 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/