]> granicus.if.org Git - vim/commitdiff
patch 8.2.0017: OS/2 and MS-DOS are still mentioned v8.2.0017
authorBram Moolenaar <Bram@vim.org>
Tue, 17 Dec 2019 20:27:18 +0000 (21:27 +0100)
committerBram Moolenaar <Bram@vim.org>
Tue, 17 Dec 2019 20:27:18 +0000 (21:27 +0100)
Problem:    OS/2 and MS-DOS are still mentioned, even though support was
            removed long ago.
Solution:   Update documentation. (Yegappan Lakshmanan, closes #5368)

21 files changed:
runtime/doc/autocmd.txt
runtime/doc/change.txt
runtime/doc/cmdline.txt
runtime/doc/editing.txt
runtime/doc/eval.txt
runtime/doc/gui.txt
runtime/doc/insert.txt
runtime/doc/options.txt
runtime/doc/print.txt
runtime/doc/quickfix.txt
runtime/doc/repeat.txt
runtime/doc/starting.txt
runtime/doc/usr_01.txt
runtime/doc/usr_05.txt
runtime/doc/usr_41.txt
runtime/doc/vi_diff.txt
runtime/gvimrc_example.vim
runtime/tools/README.txt
runtime/vimrc_example.vim
src/feature.h
src/version.c

index 35887562a634d5dcedf9476cb63d513182266399..e2e956777b2ece1bcafe88d5b7869f1090c66dac 100644 (file)
@@ -1,4 +1,4 @@
-*autocmd.txt*   For Vim version 8.2.  Last change: 2019 Dec 11
+*autocmd.txt*   For Vim version 8.2.  Last change: 2019 Dec 17
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -1289,8 +1289,8 @@ The pattern is interpreted like mostly used in file names:
        [^ch]   match any character but 'c' and 'h'
 
 Note that for all systems the '/' character is used for path separator (even
-MS-DOS and OS/2).  This was done because the backslash is difficult to use
-in a pattern and to make the autocommands portable across different systems.
+for MS-Windows).  This was done because the backslash is difficult to use in a
+pattern and to make the autocommands portable across different systems.
 
 It is possible to use |pattern| items, but they may not work as expected,
 because of the translation done for the above.
index a4b7fab7814caa5af5d7697bcf90af75aa0f4ca9..1acb267c16ec40da3e318f2407e457cc39b5e087 100644 (file)
@@ -611,7 +611,7 @@ attack or other people reading your file).  When Vim exits the directory and
 all files in it are deleted.  When Vim has the setuid bit set this may cause
 problems, the temp file is owned by the setuid user but the filter command
 probably runs as the original user.
-On MS-DOS and OS/2 the first of these directories that works is used: $TMP,
+On MS-Windows the first of these directories that works is used: $TMP,
 $TEMP, c:\TMP, c:\TEMP.
 For Unix the list of directories is: $TMPDIR, /tmp, current-dir, $HOME.
 For MS-Windows the GetTempFileName() system function is used.
index e2207659e9fbb7f8dfc8a3f7df01175d76e738d6..e909ba6a755d528058e084ecbe69a8ad3583c168 100644 (file)
@@ -1,4 +1,4 @@
-*cmdline.txt*   For Vim version 8.2.  Last change: 2019 Nov 26
+*cmdline.txt*   For Vim version 8.2.  Last change: 2019 Dec 17
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -75,7 +75,7 @@ CTRL-V                Insert next non-digit literally.  Up to three digits form the
                decimal value of a single byte.  The non-digit and the three
                digits are not considered for mapping.  This works the same
                way as in Insert mode (see above, |i_CTRL-V|).
-               Note: Under Windows CTRL-V is often mapped to paste text.
+               Note: Under MS-Windows CTRL-V is often mapped to paste text.
                Use CTRL-Q instead then.
                When |modifyOtherKeys| is enabled then special Escape sequence
                is converted back to what it was without |modifyOtherKeys|,
@@ -943,9 +943,9 @@ These modifiers can be given, in this order:
                separator is removed.  Thus ":p:h" on a directory name results
                on the directory name itself (without trailing slash).
                When the file name is an absolute path (starts with "/" for
-               Unix; "x:\" for MS-DOS, WIN32, OS/2; "drive:" for Amiga), that
-               part is not removed.  When there is no head (path is relative
-               to current directory) the result is empty.
+               Unix; "x:\" for WIN32; "drive:" for Amiga), that part is not
+               removed.  When there is no head (path is relative to current
+               directory) the result is empty.
        :t      Tail of the file name (last component of the name).  Must
                precede any :r or :e.
        :r      Root of the file name (the last extension removed).  When
@@ -1042,12 +1042,12 @@ option contains "sh", this is done twice, to avoid the shell trying to expand
 the "!".
 
                                                        *filename-backslash*
-For filesystems that use a backslash as directory separator (MS-DOS, Windows,
-OS/2), it's a bit difficult to recognize a backslash that is used to escape
-the special meaning of the next character.  The general rule is: If the
-backslash is followed by a normal file name character, it does not have a
-special meaning.  Therefore "\file\foo" is a valid file name, you don't have
-to type the backslash twice.
+For filesystems that use a backslash as directory separator (MS-Windows), it's
+a bit difficult to recognize a backslash that is used to escape the special
+meaning of the next character.  The general rule is: If the backslash is
+followed by a normal file name character, it does not have a special meaning.
+Therefore "\file\foo" is a valid file name, you don't have to type the
+backslash twice.
 
 An exception is the '$' sign.  It is a valid character in a file name.  But
 to avoid a file name like "$home" to be interpreted as an environment variable,
index df35274f9e85c56f04efad67020cfdb60d0bef6d..4fe8134383c0afbe2a1432eadf09eaf9c33fbedd 100644 (file)
@@ -519,9 +519,9 @@ The 'fileformat' option sets the <EOL> style for a file:
 Previously 'textmode' was used.  It is obsolete now.
 
 When reading a file, the mentioned characters are interpreted as the <EOL>.
-In DOS format (default for MS-DOS, OS/2 and Win32), <CR><NL> and <NL> are both
-interpreted as the <EOL>.  Note that when writing the file in DOS format,
-<CR> characters will be added for each single <NL>.  Also see |file-read|.
+In DOS format (default for Win32), <CR><NL> and <NL> are both interpreted as
+the <EOL>.  Note that when writing the file in DOS format, <CR> characters
+will be added for each single <NL>.  Also see |file-read|.
 
 When writing a file, the mentioned characters are used for <EOL>.  For DOS
 format <CR><NL> is used.  Also see |DOS-format-write|.
@@ -1023,11 +1023,11 @@ lost the original file.
 
                                                *DOS-format-write*
 If the 'fileformat' is "dos", <CR> <NL> is used for <EOL>.  This is default
-for MS-DOS, Win32 and OS/2.  On other systems the message "[dos format]" is
-shown to remind you that an unusual <EOL> was used.
+for Win32.  On other systems the message "[dos format]" is shown to remind you
+that an unusual <EOL> was used.
                                                *Unix-format-write*
-If the 'fileformat' is "unix", <NL> is used for <EOL>.  On MS-DOS, Win32 and
-OS/2 the message "[unix format]" is shown.
+If the 'fileformat' is "unix", <NL> is used for <EOL>.  On Win32 the message
+"[unix format]" is shown.
                                                *Mac-format-write*
 If the 'fileformat' is "mac", <CR> is used for <EOL>.  On non-Mac systems the
 message "[mac format]" is shown.
index b28fac9f3b8cd07829c617f35cf587f278330891..eeb19e9407d64f7fbd955ad9abd51728bae9f64f 100644 (file)
@@ -9753,7 +9753,7 @@ system({expr} [, {input}])                                *system()* *E677*
                The command executed is constructed using several options:
        'shell' 'shellcmdflag' 'shellxquote' {expr} 'shellredir' {tmp} 'shellxquote'
                ({tmp} is an automatically generated file name).
-               For Unix and OS/2 braces are put around {expr} to allow for
+               For Unix, braces are put around {expr} to allow for
                concatenated commands.
 
                The command will be executed in "cooked" mode, so that a
index 255179f90032758d018f5e15d0f7b897ed108537..93e01ef6c5134a2f72233ec7fe02d2c843a05b37 100644 (file)
@@ -95,9 +95,7 @@ terminal version.
 
 Recommended place for your personal GUI initializations:
        Unix                $HOME/.gvimrc or $HOME/.vim/gvimrc
-       OS/2                $HOME/.gvimrc, $HOME/vimfiles/gvimrc
-                           or $VIM/.gvimrc
-       MS-DOS and Win32    $HOME/_gvimrc, $HOME/vimfiles/gvimrc
+       Win32               $HOME/_gvimrc, $HOME/vimfiles/gvimrc
                            or $VIM/_gvimrc
        Amiga               s:.gvimrc, home:.gvimrc, home:vimfiles:gvimrc
                            or $VIM/.gvimrc
index 17e49676daf7f75878c574506c24dea86619835b..51a919d24abab7610dfe86e48fa41eddaf39c820 100644 (file)
@@ -2008,10 +2008,10 @@ If the 'fileformats' option is not empty Vim tries to recognize the type of
 changed, the detected format is only used while reading the file.
 A similar thing happens with 'fileencodings'.
 
-On non-MS-DOS, Win32, and OS/2 systems the message "[dos format]" is shown if
-a file is read in DOS format, to remind you that something unusual is done.
-On Macintosh, MS-DOS, Win32, and OS/2 the message "[unix format]" is shown if
-a file is read in Unix format.
+On non-MS-DOS and Win32 systems the message "[dos format]" is shown if a file
+is read in DOS format, to remind you that something unusual is done.  On
+Macintosh and Win32 the message "[unix format]" is shown if a file is read in
+Unix format.
 On non-Macintosh systems, the message "[Mac format]" is shown if a file is
 read in Mac format.
 
index 2fced509199f4f96b44adf8c1e40340de01c9566..6aad362a35ed1e0b0351e25684dfadb7f07109be 100644 (file)
@@ -1,4 +1,4 @@
-*options.txt*  For Vim version 8.2.  Last change: 2019 Dec 06
+*options.txt*  For Vim version 8.2.  Last change: 2019 Dec 17
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -709,7 +709,7 @@ A jump table for the options with a short description can be found at |Q_op|.
        (or Vim is run inside an xterm invoked with "-cjkwidth" option.),
        this option should be set to "double" to match the width perceived
        by Vim with the width of glyphs in the font.  Perhaps it also has
-       to be set to "double" under CJK Windows 9x/ME or Windows 2k/XP
+       to be set to "double" under CJK MS-Windows 2k/XP
        when the system locale is set to one of CJK locales.  See Unicode
        Standard Annex #11 (http://www.unicode.org/reports/tr11).
 
@@ -876,7 +876,7 @@ A jump table for the options with a short description can be found at |Q_op|.
        putting a ":gui" command in the .gvimrc file, before where the value
        of 'background' is used (e.g., before ":syntax on").
 
-       For MS-DOS, Windows and OS/2 the default is "dark".
+       For MS-Windows the default is "dark".
        For other systems "dark" is used when 'term' is "linux",
        "screen.linux", "cygwin" or "putty", or $COLORFGBG suggests a dark
        background.  Otherwise the default is "light".
@@ -1770,7 +1770,7 @@ A jump table for the options with a short description can be found at |Q_op|.
        'esckeys'       & off           no <Esc>-keys in Insert mode
        'expandtab'     + off           tabs not expanded to spaces
        'fileformats'   & ""            no automatic file format detection,
-                         "dos,unix"    except for DOS, Windows and OS/2
+                         "dos,unix"    except for MS-Windows
        'formatexpr'    + ""            use 'formatprg' for auto-formatting
        'formatoptions' & "vt"          Vi compatible formatting
        'gdefault'      + off           no default 'g' flag for ":s"
@@ -1882,9 +1882,9 @@ A jump table for the options with a short description can be found at |Q_op|.
        When this option is set it overrules 'shellslash' for completion:
        - When this option is set to "slash", a forward slash is used for path
          completion in insert mode. This is useful when editing HTML tag, or
-         Makefile with 'noshellslash' on Windows.
+         Makefile with 'noshellslash' on MS-Windows.
        - When this option is set to "backslash", backslash is used. This is
-         useful when editing a batch file with 'shellslash' set on Windows.
+         useful when editing a batch file with 'shellslash' set on MS-Windows.
        - When this option is empty, same character is used as for
          'shellslash'.
        For Insert mode completion the buffer-local value is used.  For
@@ -4442,7 +4442,7 @@ A jump table for the options with a short description can be found at |Q_op|.
        NOTE: This option is reset when 'compatible' is set.
 
                                                *'isfname'* *'isf'*
-'isfname' 'isf'                string  (default for MS-DOS, Win32 and OS/2:
+'isfname' 'isf'                string  (default for Win32:
                             "@,48-57,/,\,.,-,_,+,,,#,$,%,{,},[,],:,@-@,!,~,="
                            for AMIGA: "@,48-57,/,.,-,_,+,,,$,:"
                            for VMS: "@,48-57,/,.,-,_,+,,,#,$,%,<,>,[,],:,;,~"
@@ -4496,7 +4496,7 @@ A jump table for the options with a short description can be found at |Q_op|.
        See |option-backslash| about including spaces and backslashes.
 
                                                *'isident'* *'isi'*
-'isident' 'isi'                string  (default for MS-DOS, Win32 and OS/2:
+'isident' 'isi'                string  (default for Win32:
                                           "@,48-57,_,128-167,224-235"
                                otherwise: "@,48-57,_,192-255")
                        global
@@ -4510,7 +4510,7 @@ A jump table for the options with a short description can be found at |Q_op|.
        expand "$HOME/.viminfo".  Maybe you should change 'iskeyword' instead.
 
                                                *'iskeyword'* *'isk'*
-'iskeyword' 'isk'      string (Vim default for MS-DOS and Win32:
+'iskeyword' 'isk'      string (Vim default for Win32:
                                            "@,48-57,_,128-167,224-235"
                                   otherwise:  "@,48-57,_,192-255"
                                Vi default: "@,48-57,_")
@@ -4530,7 +4530,7 @@ A jump table for the options with a short description can be found at |Q_op|.
        set and to the Vim default value when 'compatible' is reset.
 
                                                *'isprint'* *'isp'*
-'isprint' 'isp'        string  (default for MS-DOS, Win32, OS/2 and Macintosh:
+'isprint' 'isp'        string  (default for Win32 and Macintosh:
                                "@,~-255"; otherwise: "@,161-255")
                        global
        The characters given by this option are displayed directly on the
@@ -5484,7 +5484,7 @@ A jump table for the options with a short description can be found at |Q_op|.
                            *'opendevice'* *'odev'* *'noopendevice'* *'noodev'*
 'opendevice' 'odev'    boolean (default off)
                        global
-                       {only for MS-DOS, MS-Windows and OS/2}
+                       {only for MS-Windows}
        Enable reading and writing from devices.  This may get Vim stuck on a
        device that can be opened but doesn't actually do the I/O.  Therefore
        it is off by default.
@@ -5616,7 +5616,6 @@ A jump table for the options with a short description can be found at |Q_op|.
 
                                *'path'* *'pa'* *E343* *E345* *E347* *E854*
 'path' 'pa'            string  (default on Unix: ".,/usr/include,,"
-                                  on OS/2:       ".,/emx/include,,"
                                   other systems: ".,,")
                        global or local to buffer |global-local|
        This is a list of directories which will be searched when using the
@@ -6195,7 +6194,7 @@ A jump table for the options with a short description can be found at |Q_op|.
                                                $VIMRUNTIME,
                                                $VIM/vimfiles/after,
                                                home:vimfiles/after"
-                                       PC, OS/2: "$HOME/vimfiles,
+                                       PC:    "$HOME/vimfiles,
                                                $VIM/vimfiles,
                                                $VIMRUNTIME,
                                                $VIM/vimfiles/after,
@@ -6465,7 +6464,7 @@ A jump table for the options with a short description can be found at |Q_op|.
                                                *'shell'* *'sh'* *E91*
 'shell' 'sh'           string  (default $SHELL or "sh",
                                        MS-DOS and Win32: "command.com" or
-                                       "cmd.exe", OS/2: "cmd")
+                                       "cmd.exe")
                        global
        Name of the shell to use for ! and :! commands.  When changing the
        value also check these options: 'shelltype', 'shellpipe', 'shellslash'
@@ -6592,7 +6591,7 @@ A jump table for the options with a short description can be found at |Q_op|.
                        *'shellslash'* *'ssl'* *'noshellslash'* *'nossl'*
 'shellslash' 'ssl'     boolean (default off)
                        global
-                       {only for MSDOS, MS-Windows and OS/2}
+                       {only for MS-Windows}
        When set, a forward slash is used when expanding file names.  This is
        useful when a Unix-like shell is used instead of command.com or
        cmd.exe.  Backward slashes can still be typed, but they are changed to
@@ -7668,7 +7667,6 @@ A jump table for the options with a short description can be found at |Q_op|.
                                          on Mac: "mac-ansi"
                                         on MiNT: "vt52"
                                       on MS-DOS: "pcterm"
-                                        on OS/2: "os2ansi"
                                         on Unix: "ansi"
                                          on VMS: "ansi"
                                       on Win 32: "win32")
@@ -7827,7 +7825,7 @@ A jump table for the options with a short description can be found at |Q_op|.
        set and to the Vim default value when 'compatible' is reset.
 
                                   *'textmode'* *'tx'* *'notextmode'* *'notx'*
-'textmode' 'tx'                boolean (MS-DOS, Win32 and OS/2: default on,
+'textmode' 'tx'                boolean (Win32: default on,
                                 others: default off)
                        local to buffer
        This option is obsolete.  Use 'fileformat'.
@@ -8215,8 +8213,7 @@ A jump table for the options with a short description can be found at |Q_op|.
        NOTE: This option is reset when 'compatible' is set.
 
                                                *'undolevels'* *'ul'*
-'undolevels' 'ul'      number  (default 100, 1000 for Unix, VMS,
-                                               Win32 and OS/2)
+'undolevels' 'ul'      number  (default 100, 1000 for Unix, VMS, Win32)
                        global or local to buffer |global-local|
        Maximum number of changes that can be undone.  Since undo information
        is kept in memory, higher numbers will cause more memory to be used.
@@ -8343,7 +8340,7 @@ A jump table for the options with a short description can be found at |Q_op|.
        displayed when 'verbosefile' is set.
 
                                                *'viewdir'* *'vdir'*
-'viewdir' 'vdir'       string  (default for Amiga, MS-DOS, OS/2 and Win32:
+'viewdir' 'vdir'       string  (default for Amiga and Win32:
                                                         "$VIM/vimfiles/view",
                                 for Unix: "~/.vim/view",
                                 for Macintosh: "$VIM:vimfiles:view"
@@ -8373,16 +8370,16 @@ A jump table for the options with a short description can be found at |Q_op|.
           slash        backslashes in file names replaced with forward
                        slashes
           unix         with Unix end-of-line format (single <NL>), even when
-                       on Windows or DOS
+                       on MS-Windows
           curdir       the window-local directory, if set with `:lcd`
 
-       "slash" and "unix" are useful on Windows when sharing view files
+       "slash" and "unix" are useful on MS-Windows when sharing view files
        with Unix.  The Unix version of Vim cannot source dos format scripts,
-       but the Windows version of Vim can source unix format scripts.
+       but the MS-Windows version of Vim can source unix format scripts.
 
                                *'viminfo'* *'vi'* *E526* *E527* *E528*
-'viminfo' 'vi'         string  (Vi default: "", Vim default for MS-DOS,
-                                  Windows and OS/2: '100,<50,s10,h,rA:,rB:,
+'viminfo' 'vi'         string  (Vi default: "", Vim default for
+                                  MS-Windows: '100,<50,s10,h,rA:,rB:,
                                   for Amiga: '100,<50,s10,h,rdf0:,rdf1:,rdf2:
                                   for others: '100,<50,s10,h)
                        global
index 836d697bb879259c51a850b184f44d10bf18908d..cae12b798f3933f99c0a8700b24474596dcfba38 100644 (file)
@@ -1,4 +1,4 @@
-*print.txt*     For Vim version 8.2.  Last change: 2019 May 05
+*print.txt*     For Vim version 8.2.  Last change: 2019 Dec 17
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -94,7 +94,7 @@ If the option is empty, then vim will use the system default printer for
 
                                                        *penc-option* *E620*
 'printencoding' 'penc' String  (default empty, except for:
-                                       Windows, OS/2: cp1252,
+                                       MS-Windows: cp1252,
                                        Macintosh: mac-roman,
                                        VMS: dec-mcs,
                                        HPUX: hp-roman8,
@@ -124,7 +124,7 @@ cannot be converted will be replaced with upside down question marks.
 Four print character encoding files are provided to support default Mac, VMS,
 HPUX, and EBCDIC character encodings and are used by default on these
 platforms.  Code page 1252 print character encoding is used by default on
-Windows and OS/2 platforms.
+MS-Windows platform.
 
                                                        *pexpr-option*
 'printexpr' 'pexpr'    String  (default: see below)
@@ -142,8 +142,8 @@ the file: >
     system('lpr' . (&printdevice == '' ? '' : ' -P' . &printdevice)
        . ' ' . v:fname_in) . delete(v:fname_in) + v:shell_error
 
-On MS-Dos, MS-Windows and OS/2 machines the default is to copy the file to the
-currently specified printdevice: >
+On MS-Windows machines the default is to copy the file to the currently
+specified printdevice: >
 
     system('copy' . ' ' . v:fname_in . (&printdevice == ''
                ? ' LPT1:' : (' \"' . &printdevice . '\"')))
@@ -621,7 +621,7 @@ OpenVMS
 
     http://wwwthep.physik.uni-mainz.de/~plass/gv/
 
-Windows and OS/2
+MS-Windows
 
 - GSview.  Obtainable from:
 
@@ -636,7 +636,7 @@ DOS
 
 Linux
 
-- GSview.  Linux version of the popular Windows and OS/2 previewer.
+- GSview.  Linux version of the popular MS-Windows.
   Obtainable from:
 
     http://www.cs.wisc.edu/~ghost/gsview/
index 8662854e5c83ef5d9f83f2329cf3bf7352c42c69..5879727d2bed2f3115af8360a16165401cda2f94 100644 (file)
@@ -935,11 +935,11 @@ or simpler >
 "$*" can be given multiple times, for example: >
    :set makeprg=gcc\ -o\ $*\ $*
 
-The 'shellpipe' option defaults to ">" for the Amiga, MS-DOS and Win32.  This
-means that the output of the compiler is saved in a file and not shown on the
-screen directly.  For Unix "| tee" is used.  The compiler output is shown on
-the screen and saved in a file the same time.  Depending on the shell used
-"|& tee" or "2>&1| tee" is the default, so stderr output will be included.
+The 'shellpipe' option defaults to ">" for the Amiga and Win32.  This means
+that the output of the compiler is saved in a file and not shown on the screen
+directly.  For Unix "| tee" is used.  The compiler output is shown on the
+screen and saved in a file the same time.  Depending on the shell used "|&
+tee" or "2>&1| tee" is the default, so stderr output will be included.
 
 If 'shellpipe' is empty, the {errorfile} part will be omitted.  This is useful
 for compilers that write to an errorfile themselves (e.g., Manx's Amiga C).
@@ -1384,9 +1384,9 @@ normally happens by matching following characters and items.  When nothing is
 following the rest of the line is matched.  If "%f" is followed by a '%' or a
 backslash, it will look for a sequence of 'isfname' characters.
 
-On MS-DOS, MS-Windows and OS/2 a leading "C:" will be included in "%f", even
-when using "%f:".  This means that a file name which is a single alphabetical
-letter will not be detected.
+On MS-Windows a leading "C:" will be included in "%f", even when using "%f:".
+This means that a file name which is a single alphabetical letter will not be
+detected.
 
 The "%p" conversion is normally followed by a "^".  It's used for compilers
 that output a line like: >
index 69371db46d3da9241bcb69eacbbd6b5271989ecb..91c4502a81c6a689b4e0829d4490bdbbd7c0ea17 100644 (file)
@@ -414,13 +414,13 @@ with CTRL-V followed by the three digit decimal code.  This does NOT work for
 the <t_xx> termcap codes, these can only be used in mappings.
 
                                                        *:source_crnl* *W15*
-MS-DOS, Win32 and OS/2: Files that are read with ":source" normally have
-<CR><NL> <EOL>s.  These always work.  If you are using a file with <NL> <EOL>s
-(for example, a file made on Unix), this will be recognized if 'fileformats'
-is not empty and the first line does not end in a <CR>.  This fails if the
-first line has something like ":map <F1> :help^M", where "^M" is a <CR>.  If
-the first line ends in a <CR>, but following ones don't, you will get an error
-message, because the <CR> from the first lines will be lost.
+Win32: Files that are read with ":source" normally have <CR><NL> <EOL>s.
+These always work.  If you are using a file with <NL> <EOL>s (for example, a
+file made on Unix), this will be recognized if 'fileformats' is not empty and
+the first line does not end in a <CR>.  This fails if the first line has
+something like ":map <F1> :help^M", where "^M" is a <CR>.  If the first line
+ends in a <CR>, but following ones don't, you will get an error message,
+because the <CR> from the first lines will be lost.
 
 Mac Classic: Files that are read with ":source" normally have <CR> <EOL>s.
 These always work.  If you are using a file with <NL> <EOL>s (for example, a
index 32c0d5d91b54b9cd77ca93c38eed7da09bb4762a..9c972fd257398ff2f9f7f0ccac2de83f273cafe9 100644 (file)
@@ -784,8 +784,6 @@ accordingly.  Vim proceeds in this order:
 
        Places for your personal initializations:
                Unix            $HOME/.vimrc or $HOME/.vim/vimrc
-               OS/2            $HOME/.vimrc, $HOME/vimfiles/vimrc
-                               or $VIM/.vimrc (or _vimrc)
                MS-Windows      $HOME/_vimrc, $HOME/vimfiles/vimrc
                                or $VIM/_vimrc
                Amiga           s:.vimrc, home:.vimrc, home:vimfiles:vimrc
@@ -811,7 +809,7 @@ accordingly.  Vim proceeds in this order:
      a. If vim was started as |evim| or |eview| or with the |-y| argument, the
        script $VIMRUNTIME/evim.vim will be loaded.
                                                        *system-vimrc*
-     b. For Unix, MS-DOS, MS-Windows, OS/2, VMS, Macintosh, RISC-OS and Amiga
+     b. For Unix, MS-Windows, VMS, Macintosh, RISC-OS and Amiga
        the system vimrc file is read for initializations.  The path of this
        file is shown with the ":version" command.  Mostly it's "$VIM/vimrc".
        Note that this file is ALWAYS read in 'compatible' mode, since the
@@ -827,22 +825,22 @@ accordingly.  Vim proceeds in this order:
        I   The environment variable VIMINIT (see also |compatible-default|) (*)
            The value of $VIMINIT is used as an Ex command line.
        II  The user vimrc file(s):
-                   "$HOME/.vimrc"         (for Unix and OS/2) (*)
-                   "$HOME/.vim/vimrc"     (for Unix and OS/2) (*)
+                   "$HOME/.vimrc"         (for Unix) (*)
+                   "$HOME/.vim/vimrc"     (for Unix) (*)
                    "s:.vimrc"             (for Amiga) (*)
                    "home:.vimrc"          (for Amiga) (*)
                    "home:vimfiles:vimrc"  (for Amiga) (*)
-                   "$VIM/.vimrc"          (for OS/2 and Amiga) (*)
-                   "$HOME/_vimrc"         (for MS-DOS and Win32) (*)
-                   "$HOME/vimfiles/vimrc" (for MS-DOS and Win32) (*)
-                   "$VIM/_vimrc"          (for MS-DOS and Win32) (*)
-               Note: For Unix, OS/2 and Amiga, when ".vimrc" does not exist,
+                   "$VIM/.vimrc"          (for Amiga) (*)
+                   "$HOME/_vimrc"         (for Win32) (*)
+                   "$HOME/vimfiles/vimrc" (for Win32) (*)
+                   "$VIM/_vimrc"          (for Win32) (*)
+               Note: For Unix and Amiga, when ".vimrc" does not exist,
                "_vimrc" is also tried, in case an MS-DOS compatible file
-               system is used.  For MS-DOS and Win32 ".vimrc" is checked
-               after "_vimrc", in case long file names are used.
-               Note: For MS-DOS and Win32, "$HOME" is checked first.  If no
-               "_vimrc" or ".vimrc" is found there, "$VIM" is tried.
-               See |$VIM| for when $VIM is not set.
+               system is used.  For MS-Windows ".vimrc" is checked after
+               "_vimrc", in case long file names are used.
+               Note: For Win32, "$HOME" is checked first.  If no "_vimrc" or
+               ".vimrc" is found there, "$VIM" is tried.  See |$VIM| for when
+               $VIM is not set.
        III The environment variable EXINIT.
            The value of $EXINIT is used as an Ex command line.
        IV  The user exrc file(s).  Same as for the user vimrc file, but with
@@ -855,12 +853,12 @@ accordingly.  Vim proceeds in this order:
      d. If the 'exrc' option is on (which is NOT the default), the current
        directory is searched for three files.  The first that exists is used,
        the others are ignored.
-       -  The file ".vimrc" (for Unix, Amiga and OS/2) (*)
-                   "_vimrc" (for MS-DOS and Win32) (*)
-       -  The file "_vimrc" (for Unix, Amiga and OS/2) (*)
-                   ".vimrc" (for MS-DOS and Win32) (*)
-       -  The file ".exrc"  (for Unix, Amiga and OS/2)
-                   "_exrc"  (for MS-DOS and Win32)
+       -  The file ".vimrc" (for Unix, Amiga) (*)
+                   "_vimrc" (for Win32) (*)
+       -  The file "_vimrc" (for Unix, Amiga) (*)
+                   ".vimrc" (for Win32) (*)
+       -  The file ".exrc"  (for Unix, Amiga)
+                   "_exrc"  (for Win32)
 
      (*) Using this file or environment variable will cause 'compatible' to be
         off by default.  See |compatible-default|.
@@ -948,9 +946,9 @@ Some hints on using initializations ~
 Standard setup:
 Create a vimrc file to set the default settings and mappings for all your edit
 sessions.  Put it in a place so that it will be found by 3b:
-       ~/.vimrc        (Unix and OS/2)
+       ~/.vimrc        (Unix)
        s:.vimrc        (Amiga)
-       $VIM\_vimrc     (MS-DOS and Win32)
+       $VIM\_vimrc     (Win32)
 Note that creating a vimrc file will cause the 'compatible' option to be off
 by default.  See |compatible-default|.
 
@@ -990,10 +988,9 @@ version 5.0) are not recognized.
 
 MS-DOS line separators ~
 
-On MS-DOS-like systems (MS-DOS itself, Win32, and OS/2), Vim assumes that all
-the vimrc files have <CR> <NL> pairs as line separators.  This will give
-problems if you have a file with only <NL>s and have a line like
-":map xx yy^M".  The trailing ^M will be ignored.
+On MS-Windows, Vim assumes that all the vimrc files have <CR> <NL> pairs as
+line separators.  This will give problems if you have a file with only <NL>s
+and have a line like ":map xx yy^M".  The trailing ^M will be ignored.
 
 
 Vi compatible default value ~
@@ -1145,11 +1142,11 @@ will try to get the value for $VIM in this order:
    problem).  The file name ("help.txt" or any other) is removed.  Then
    trailing directory names are removed, in this order: "doc", "runtime" and
    "vim{version}" (e.g., "vim54").
-3. For MSDOS, Win32 and OS/2 Vim tries to use the directory name of the
-   executable.  If it ends in "/src", this is removed.  This is useful if you
-   unpacked the .zip file in some directory, and adjusted the search path to
-   find the vim executable.  Trailing directory names are removed, in this
-   order: "runtime" and "vim{version}" (e.g., "vim54").
+3. For Win32 Vim tries to use the directory name of the executable.  If it
+   ends in "/src", this is removed.  This is useful if you unpacked the .zip
+   file in some directory, and adjusted the search path to find the vim
+   executable.  Trailing directory names are removed, in this order: "runtime"
+   and "vim{version}" (e.g., "vim54").
 4. For Unix the compile-time defined installation directory is used (see the
    output of ":version").
 
@@ -1573,11 +1570,10 @@ remembered.
 
 VIMINFO FILE NAME                                      *viminfo-file-name*
 
-- The default name of the viminfo file is "$HOME/.viminfo" for Unix and OS/2,
-  "s:.viminfo" for Amiga, "$HOME\_viminfo" for MS-DOS and Win32.  For the last
-  two, when $HOME is not set, "$VIM\_viminfo" is used.  When $VIM is also not
-  set, "c:\_viminfo" is used.  For OS/2 "$VIM/.viminfo" is used when $HOME is
-  not set and $VIM is set.
+- The default name of the viminfo file is "$HOME/.viminfo" for Unix,
+  "s:.viminfo" for Amiga, "$HOME\_viminfo" for Win32.  For the last two, when
+  $HOME is not set, "$VIM\_viminfo" is used.  When $VIM is also not set,
+  "c:\_viminfo" is used.
 - The 'n' flag in the 'viminfo' option can be used to specify another viminfo
   file name |'viminfo'|.
 - The "-i" Vim argument can be used to set another file name, |-i|.  When the
index cf0c867ad920a8fd2ebcab48cd350365ac7cd87a..23eb304c2ea3db833d19cef129dd08088e1ea8cb 100644 (file)
@@ -71,7 +71,7 @@ you are using:
 
 Unix: >
        :!cp -i $VIMRUNTIME/vimrc_example.vim ~/.vimrc
-MS-DOS, MS-Windows, OS/2: >
+MS-Windows: >
        :!copy $VIMRUNTIME/vimrc_example.vim $VIM/_vimrc
 Amiga: >
        :!copy $VIMRUNTIME/vimrc_example.vim $VIM/.vimrc
index dcef31a461cd0c58f0ce938b3b5f566849df395f..3b43f7ec77dd65a9ac72a5e10f0dbc465a170420 100644 (file)
@@ -472,7 +472,7 @@ Then copy the file to your plugin directory:
 
        system          plugin directory ~
        Unix            ~/.vim/plugin/
-       PC and OS/2     $HOME/vimfiles/plugin or $VIM/vimfiles/plugin
+       PC              $HOME/vimfiles/plugin or $VIM/vimfiles/plugin
        Amiga           s:vimfiles/plugin
        Macintosh       $VIM:vimfiles:plugin
        Mac OS X        ~/.vim/plugin/
index 88a544854e7fb9e7636ce1a5a343b1e8f7ad4213..1bed01f418e87a4cc762ed6c62cf18a41173144c 100644 (file)
@@ -1,4 +1,4 @@
-*usr_41.txt*   For Vim version 8.2.  Last change: 2019 Nov 21
+*usr_41.txt*   For Vim version 8.2.  Last change: 2019 Dec 17
 
                     VIM USER MANUAL - by Bram Moolenaar
 
@@ -1699,8 +1699,8 @@ Here is a summary of items that apply to Vim scripts.  They are also mentioned
 elsewhere, but form a nice checklist.
 
 The end-of-line character depends on the system.  For Unix a single <NL>
-character is used.  For MS-DOS, Windows, OS/2 and the like, <CR><LF> is used.
-This is important when using mappings that end in a <CR>.  See |:source_crnl|.
+character is used.  For MS-Windows and the like, <CR><LF> is used.  This is
+important when using mappings that end in a <CR>.  See |:source_crnl|.
 
 
 WHITE SPACE
@@ -1885,7 +1885,7 @@ First of all you must choose a name for your plugin.  The features provided
 by the plugin should be clear from its name.  And it should be unlikely that
 someone else writes a plugin with the same name but which does something
 different.  And please limit the name to 8 characters, to avoid problems on
-old Windows systems.
+old MS-Windows systems.
 
 A script that corrects typing mistakes could be called "typecorr.vim".  We
 will use it here as an example.
index 741003d60617a2b1fe390f6b38083c2881c9957b..a7a6c2b4783ef35e97b6782c2f819aa81a66eff2 100644 (file)
@@ -1,4 +1,4 @@
-*vi_diff.txt*   For Vim version 8.2.  Last change: 2019 Nov 12
+*vi_diff.txt*   For Vim version 8.2.  Last change: 2019 Dec 17
 
 
                  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -136,11 +136,7 @@ Support for different systems.
        - All Unix systems (it works on all systems it was tested on, although
          the GUI and Perl interface may not work everywhere).
        - Amiga (500, 1000, 1200, 2000, 3000, 4000, ...).
-       - MS-DOS in real-mode (no additional drivers required).
-       - In protected mode on Windows 3.1 and MS-DOS (DPMI driver required).
-       - Windows 95 and Windows NT, with support for long file names.
-       - OS/2 (needs emx.dll)
-       - Atari MiNT
+       - Windows NT, with support for long file names.
        - VMS
        - BeOS
        - Macintosh
index fa0f6851d1b99a901e11dfc8a4cac0312ab14622..cc3e791e877855aaf808f64671f2a8924d53f36a 100644 (file)
@@ -6,7 +6,7 @@
 " Last change: 2016 Apr 05
 "
 " To use it, copy it to
-"     for Unix and OS/2:  ~/.gvimrc
+"             for Unix:  ~/.gvimrc
 "            for Amiga:  s:.gvimrc
 "  for MS-DOS and Win32:  $VIM\_gvimrc
 "          for OpenVMS:  sys$login:.gvimrc
index fa176c776d59501e65d95761933d7883fdb74aa9..19976b325cf65529e9cdae44f5f05ecff6ff848c 100644 (file)
@@ -34,4 +34,4 @@ xcmdsrv_client.c:  Example for a client program that communicates with a Vim
 
 unicode.vim    Vim script to generate tables for src/mbyte.c.
 
-[xxd (and tee for OS/2) can be found in the src directory]
+[xxd can be found in the src directory]
index b05793bd101540bb13328c8a9b81efc29bf228e7..3017a6cf935d2e90e709eaafaeb473381c8a82d7 100644 (file)
@@ -1,12 +1,12 @@
 " An example for a vimrc file.
 "
 " Maintainer:  Bram Moolenaar <Bram@vim.org>
-" Last change: 2019 Jan 26
+" Last change: 2019 Dec 17
 "
 " To use it, copy it to
-"     for Unix and OS/2:  ~/.vimrc
+"             for Unix:  ~/.vimrc
 "            for Amiga:  s:.vimrc
-"  for MS-DOS and Win32:  $VIM\_vimrc
+"       for MS-Windows:  $VIM\_vimrc
 "          for OpenVMS:  sys$login:.vimrc
 
 " When started as "evim", evim.vim will already have done these settings, bail
index d0bb78fc9f1b61f28c58df7a2f0dfe024860a0d8..7e1e982ed6217b3476a01d2ca3b48397710afdd4 100644 (file)
  *                     Always included, since either FEAT_MOUSE_XTERM or
  *                     DOS_MOUSE is defined.
  */
-// OS/2 and Amiga console have no mouse support
+// Amiga console has no mouse support
 #if defined(UNIX) || defined(VMS)
 # define FEAT_MOUSE_XTERM
 # ifdef FEAT_BIG
index e299ee9741c2ff96a8aa1fcd3ff227c783d9683e..c11710a6b6e2d93548643dfc2f1a3f0fc975ec25 100644 (file)
@@ -742,6 +742,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    17,
 /**/
     16,
 /**/