diff runtime/doc/terminal.txt @ 13585:03224283bafc v8.0.1665

patch 8.0.1665: when running a terminal from the GUI 'term' is not useful commit https://github.com/vim/vim/commit/9a993e3c09371bb80d71be62fca53cf954a98f72 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Apr 5 22:15:22 2018 +0200 patch 8.0.1665: when running a terminal from the GUI 'term' is not useful Problem: When running a terminal from the GUI 'term' is not useful. Solution: Use $TERM in the GUI if it starts with "xterm". (closes https://github.com/vim/vim/issues/2776)
author Christian Brabandt <cb@256bit.org>
date Thu, 05 Apr 2018 22:30:07 +0200
parents 4df23d9bad47
children 1073225cb749
line wrap: on
line diff
--- a/runtime/doc/terminal.txt
+++ b/runtime/doc/terminal.txt
@@ -352,7 +352,9 @@ On Unix a pty is used to make it possibl
 can even run Vim in the terminal!  That's used for debugging, see below.
 
 Environment variables are used to pass information to the running job:
-    TERM		name of the terminal, from the 'term' option
+    TERM		the name of the terminal, from the 'term' option or
+			$TERM in the GUI; falls back to "xterm" if it does not
+			start with "xterm"
     ROWS		number of rows in the terminal initially
     LINES		same as ROWS
     COLUMNS		number of columns in the terminal initially