diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-11-24 15:09:07 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-11-24 15:09:07 +0100 |
commit | 2cab0e191055a8145ccd46cd52869fbb9798b971 (patch) | |
tree | 0c3a83114c182262e07fa5434beeac799358e824 /runtime/doc/starting.txt | |
parent | 182707ac10d77359bf7a87c6b23ce4025d5b0ad4 (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.txt | 4 |
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| |