comparison runtime/doc/terminal.txt @ 15746:c017195b121b v8.1.0880

patch 8.1.0880: MS-Windows: inconsistent selection of winpty/conpty commit https://github.com/vim/vim/commit/c6ddce3f2cf6daa3a545405373b661f8a9bccad9 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Feb 8 12:47:03 2019 +0100 patch 8.1.0880: MS-Windows: inconsistent selection of winpty/conpty Problem: MS-Windows: inconsistent selection of winpty/conpty. Solution: Name option 'termwintype', use ++type argument and "term_pty" for term_start(). (Hirohito Higashi, closes #3915)
author Bram Moolenaar <Bram@vim.org>
date Fri, 08 Feb 2019 13:00:08 +0100
parents fe57e4f0eac1
children 63e71d195cee
comparison
equal deleted inserted replaced
15745:655ee4b0a5cc 15746:c017195b121b
226 is to send CTRL-D. 226 is to send CTRL-D.
227 E.g. for a shell use "++eof=exit" and 227 E.g. for a shell use "++eof=exit" and
228 for Python "++eof=exit()". Special 228 for Python "++eof=exit()". Special
229 codes can be used like with `:map`, 229 codes can be used like with `:map`,
230 e.g. "<C-Z>" for CTRL-Z. 230 e.g. "<C-Z>" for CTRL-Z.
231 ++winpty Use winpty as the virtual console. 231 ++type={pty} (MS-Windows only): Use {pty} as the
232 ++conpty Use |ConPTY| as the virtual console. 232 virtual console. See 'termwintype'
233 for the values.
234
233 If you want to use more options use the |term_start()| 235 If you want to use more options use the |term_start()|
234 function. 236 function.
235 If you want to split the window vertically, use: > 237 If you want to split the window vertically, use: >
236 :vertical terminal 238 :vertical terminal
237 < Or short: > 239 < Or short: >
414 *ConPTY* 416 *ConPTY*
415 On more recent versions of MS-Windows 10 (beginning with the "October 2018 417 On more recent versions of MS-Windows 10 (beginning with the "October 2018
416 Update"), winpty is no longer required. On those versions, |:terminal| will use 418 Update"), winpty is no longer required. On those versions, |:terminal| will use
417 Windows' built-in support for hosting terminal applications, "ConPTY". When 419 Windows' built-in support for hosting terminal applications, "ConPTY". When
418 ConPTY is in use, there may be rendering artifacts regarding ambiguous-width 420 ConPTY is in use, there may be rendering artifacts regarding ambiguous-width
419 characters. If you encounter any such issues, set 'termmode' to winpty (which 421 characters. If you encounter any such issues, set 'termwintype' to "winpty"
420 you then must have instlled). 422 (which you then must have instlled).
421 423
422 Environment variables are used to pass information to the running job: 424 Environment variables are used to pass information to the running job:
423 VIM_SERVERNAME v:servername 425 VIM_SERVERNAME v:servername
424 426
425 ============================================================================== 427 ==============================================================================