summaryrefslogtreecommitdiffstats
path: root/runtime/doc/term.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-12-26 14:35:26 +0100
committerBram Moolenaar <Bram@vim.org>2019-12-26 14:35:26 +0100
commit5666fcd0bd794dd46813824cce63a38bcae63794 (patch)
treeff033ff9a8da79e0e8f18593c81c60bf793937c3 /runtime/doc/term.txt
parent767340574b5a0c697e650b3bbc3a4af10e51cb89 (diff)
Update runtime files.
Diffstat (limited to 'runtime/doc/term.txt')
-rw-r--r--runtime/doc/term.txt43
1 files changed, 21 insertions, 22 deletions
diff --git a/runtime/doc/term.txt b/runtime/doc/term.txt
index 7f597534c7..334bd2c038 100644
--- a/runtime/doc/term.txt
+++ b/runtime/doc/term.txt
@@ -25,8 +25,9 @@ NOTE: Most of this is not used when running the |GUI|.
1. Startup *startup-terminal*
When Vim is started a default terminal type is assumed. For the Amiga this is
-a standard CLI window, for MS-DOS the pc terminal, for Unix an ansi terminal.
-A few other terminal types are always available, see below |builtin-terms|.
+a standard CLI window, for MS-Windows the pc terminal, for Unix an ansi
+terminal. A few other terminal types are always available, see below
+|builtin-terms|.
You can give the terminal name with the '-T' Vim argument. If it is not given
Vim will try to get the name from the TERM environment variable.
@@ -595,8 +596,8 @@ cleared when scrolling).
Unfortunately it is not possible to deduce from the termcap how cursor
positioning should be done when using a scrolling region: Relative to the
beginning of the screen or relative to the beginning of the scrolling region.
-Most terminals use the first method. A known exception is the MS-DOS console
-(pcterm). The 't_CS' option should be set to any string when cursor
+Most terminals use the first method. A known exception is the MS-Windows
+console (pcterm). The 't_CS' option should be set to any string when cursor
positioning is relative to the start of the scrolling region. It should be
set to an empty string otherwise. It defaults to "yes" when 'term' is
"pcterm".
@@ -651,8 +652,8 @@ One command can be used to set the screen size:
:mod[e] [mode]
Without argument this only detects the screen size and redraws the screen.
-With MS-DOS it is possible to switch screen mode. [mode] can be one of these
-values:
+With MS-Windows it is possible to switch screen mode. [mode] can be one of
+these values:
"bw40" 40 columns black&white
"c40" 40 columns color
"bw80" 80 columns black&white
@@ -699,10 +700,10 @@ If you are using Vim over a slow serial line, you might want to try running
Vim inside the "screen" program. Screen will optimize the terminal I/O quite
a bit.
-If you are testing termcap options, but you cannot see what is happening,
-you might want to set the 'writedelay' option. When non-zero, one character
-is sent to the terminal at a time (does not work for MS-DOS). This makes the
-screen updating a lot slower, making it possible to see what is happening.
+If you are testing termcap options, but you cannot see what is happening, you
+might want to set the 'writedelay' option. When non-zero, one character is
+sent to the terminal at a time. This makes the screen updating a lot slower,
+making it possible to see what is happening.
==============================================================================
5. Using the mouse *mouse-using*
@@ -716,8 +717,8 @@ Don't forget to enable the mouse with this command: >
Otherwise Vim won't recognize the mouse in all modes (See 'mouse').
Currently the mouse is supported for Unix in an xterm window, in a *BSD
-console with |sysmouse|, in a Linux console (with GPM |gpm-mouse|), for
-MS-DOS and in a Windows console.
+console with |sysmouse|, in a Linux console (with GPM |gpm-mouse|), and
+in a Windows console.
Mouse clicks can be used to position the cursor, select an area and paste.
These characters in the 'mouse' option tell in which situations the mouse will
@@ -881,10 +882,9 @@ border, the text is scrolled.
A selection can be started by pressing the left mouse button on the first
character, moving the mouse to the last character, then releasing the mouse
button. You will not always see the selection until you release the button,
-only in some versions (GUI, MS-DOS, WIN32) will the dragging be shown
-immediately. Note that you can make the text scroll by moving the mouse at
-least one character in the first/last line in the window when 'scrolloff' is
-non-zero.
+only in some versions (GUI, Win32) will the dragging be shown immediately.
+Note that you can make the text scroll by moving the mouse at least one
+character in the first/last line in the window when 'scrolloff' is non-zero.
In Normal, Visual and Select mode clicking the right mouse button causes the
Visual area to be extended. When 'mousemodel' is "popup", the left button has
@@ -898,9 +898,9 @@ work on systems where the window manager consumes the mouse events when the
alt key is pressed (it may move the window).
*double-click*
-Double, triple and quadruple clicks are supported when the GUI is active,
-for MS-DOS and Win32, and for an xterm (if the gettimeofday() function is
-available). For selecting text, extra clicks extend the selection:
+Double, triple and quadruple clicks are supported when the GUI is active, for
+Win32, and for an xterm (if the gettimeofday() function is available). For
+selecting text, extra clicks extend the selection:
click select ~
double word or % match *<2-LeftMouse>*
triple line *<3-LeftMouse>*
@@ -911,9 +911,8 @@ A double click on a word selects that word. 'iskeyword' is used to specify
which characters are included in a word. A double click on a character
that has a match selects until that match (like using "v%"). If the match is
an #if/#else/#endif block, the selection becomes linewise.
-For MS-DOS and xterm the time for double clicking can be set with the
-'mousetime' option. For the other systems this time is defined outside of
-Vim.
+For xterm the time for double clicking can be set with the 'mousetime' option.
+For the other systems this time is defined outside of Vim.
An example, for using a double click to jump to the tag under the cursor: >
:map <2-LeftMouse> :exe "tag ". expand("<cword>")<CR>