Mercurial > vim
diff runtime/doc/terminal.txt @ 11774:edf1a2a247fa v8.0.0769
patch 8.0.0769: build problems with terminal on MS-Windows
commit https://github.com/vim/vim/commit/8a77306fa170f9d95f2402e73b4a94a2692ce84f
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jul 24 22:29:21 2017 +0200
patch 8.0.0769: build problems with terminal on MS-Windows
Problem: Build problems with terminal on MS-Windows using MSVC.
Solution: Remove stdbool.h dependency. Only use ScreenLinesUC when it was
allocated. Fix typos. (Ken Takata)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 24 Jul 2017 22:30:04 +0200 |
parents | 21f3930dfe6e |
children | d3d0db111d17 |
line wrap: on
line diff
--- a/runtime/doc/terminal.txt +++ b/runtime/doc/terminal.txt @@ -1,4 +1,4 @@ -*terminal.txt* For Vim version 8.0. Last change: 2017 Jul 19 +*terminal.txt* For Vim version 8.0. Last change: 2017 Jul 24 VIM REFERENCE MANUAL by Bram Moolenaar @@ -47,8 +47,9 @@ See option 'termsize' for controlling th (TODO: scrolling when the terminal is larger than the window) Syntax ~ - *:ter* *:terminal* -:terminal[!] [command] Open a new terminal window. + +:ter[minal][!] [command] *:ter* *:terminal* + Open a new terminal window. If [command] is provided run it as a job and connect the input and output to the terminal. @@ -79,7 +80,7 @@ 1. The 'termsize' option is empty: The t The minimal size is 2 screen lines with 10 cells. 2. The 'termsize' option is "rows*cols", where "rows" is the minimal number of - screen rows and "cols" is the minial number of cells. + screen rows and "cols" is the minimal number of cells. 3. The 'termsize' option is "rowsXcols" (where the x is upper or lower case). The terminal size is fixed to the specified number of screen lines and @@ -101,9 +102,20 @@ can even run Vim in the terminal! That' MS-Windows ~ -On MS-Windows a hidden console is used to run the command in. This should -work well for all kind of commands. Obviously, they must be commands that run -in a terminal, not open their own window. +On MS-Windows winpty is used to make it possible to run all kind of commands. +Obviously, they must be commands that run in a terminal, not open their own +window. + +You need the following two files from winpty: + + winpty.dll + winpty-agent.exe + +You can download them from the following page: + + https://github.com/rprichard/winpty + +Just put the files somewhere in your PATH. ============================================================================== 2. Remote testing *terminal-testing*