summaryrefslogtreecommitdiffstats
path: root/runtime/doc/starting.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-11-24 15:09:07 +0100
committerBram Moolenaar <Bram@vim.org>2016-11-24 15:09:07 +0100
commit2cab0e191055a8145ccd46cd52869fbb9798b971 (patch)
tree0c3a83114c182262e07fa5434beeac799358e824 /runtime/doc/starting.txt
parent182707ac10d77359bf7a87c6b23ce4025d5b0ad4 (diff)
patch 8.0.0096v8.0.0096
Problem: When the input or output is not a tty Vim appears to hang. Solution: Add the --ttyfail argument. Also add the "ttyin" and "ttyout" features to be able to check in Vim script.
Diffstat (limited to 'runtime/doc/starting.txt')
-rw-r--r--runtime/doc/starting.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/doc/starting.txt b/runtime/doc/starting.txt
index 8ce3c63d2a..34500fc0ce 100644
--- a/runtime/doc/starting.txt
+++ b/runtime/doc/starting.txt
@@ -421,6 +421,10 @@ a slash. Thus "-R" means recovery and "-/R" readonly.
not connected to a terminal. This will avoid the warning and
the two second delay that would happen. {not in Vi}
+ *--ttyfail*
+--ttyfail When the stdin or stdout is not a terminal (tty) then exit
+ right away.
+
*-d*
-d Start in diff mode, like |vimdiff|.
{not in Vi} {not available when compiled without the |+diff|