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 | |
parent | 182707ac10d77359bf7a87c6b23ce4025d5b0ad4 (diff) | |
download | vim-git-2cab0e191055a8145ccd46cd52869fbb9798b971.tar.gz |
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')
-rw-r--r-- | runtime/doc/eval.txt | 2 | ||||
-rw-r--r-- | runtime/doc/starting.txt | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index b34bf4808..1a11a4141 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -8416,6 +8416,8 @@ tgetent Compiled with tgetent support, able to use a termcap timers Compiled with |timer_start()| support. title Compiled with window title support |'title'|. toolbar Compiled with support for |gui-toolbar|. +ttyin input is a terminal (tty) +ttyout output is a terminal (tty) unix Unix version of Vim. user_commands User-defined commands. vertsplit Compiled with vertically split windows |:vsplit|. diff --git a/runtime/doc/starting.txt b/runtime/doc/starting.txt index 8ce3c63d2..34500fc0c 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| |