Mercurial > vim
annotate src/os_dos.h @ 30637:ae1113e53ce3 v9.0.0653
patch 9.0.0653: BS and DEL do not work properly in an interacive shell
Commit: https://github.com/vim/vim/commit/01c34e7d10e3dbd73d18a3dd79a48748c4147eaf
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Oct 3 20:24:39 2022 +0100
patch 9.0.0653: BS and DEL do not work properly in an interacive shell
Problem: BS and DEL do not work properly in an interacive shell. (Gary
Johnson)
Solution: Adjust the length for replaced codes.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 03 Oct 2022 21:30:04 +0200 |
parents | 6e3dc2d630c2 |
children | 8f0da069a311 |
rev | line source |
---|---|
10042
4aead6a9b7a9
commit https://github.com/vim/vim/commit/edf3f97ae2af024708ebb4ac614227327033ca47
Christian Brabandt <cb@256bit.org>
parents:
9669
diff
changeset
|
1 /* vi:set ts=8 sts=4 sw=4 noet: |
7 | 2 * |
3 * VIM - Vi IMproved by Bram Moolenaar | |
4 * | |
5 * Do ":help uganda" in Vim to read copying and usage conditions. | |
6 * Do ":help credits" in Vim to see a list of people who contributed. | |
7 */ | |
8 | |
9 /* | |
10 * Common MS-DOS and Win32 (Windows NT and Windows 95) defines. | |
11 * | |
12 * Names for the EXRC, HELP and temporary files. | |
13 * Some of these may have been defined in the makefile or feature.h. | |
14 */ | |
15 | |
16 #ifndef SYS_VIMRC_FILE | |
17 # define SYS_VIMRC_FILE "$VIM\\vimrc" | |
18 #endif | |
19 #ifndef USR_VIMRC_FILE | |
20 # define USR_VIMRC_FILE "$HOME\\_vimrc" | |
21 #endif | |
22 #ifndef USR_VIMRC_FILE2 | |
4863 | 23 # define USR_VIMRC_FILE2 "$HOME\\vimfiles\\vimrc" |
24 #endif | |
25 #ifndef USR_VIMRC_FILE3 | |
26 # define USR_VIMRC_FILE3 "$VIM\\_vimrc" | |
7 | 27 #endif |
9669
284b4eb307fc
commit https://github.com/vim/vim/commit/8c08b5b569e2a9e9f63dea514591ecfa2d3bb392
Christian Brabandt <cb@256bit.org>
parents:
5527
diff
changeset
|
28 #ifndef VIM_DEFAULTS_FILE |
284b4eb307fc
commit https://github.com/vim/vim/commit/8c08b5b569e2a9e9f63dea514591ecfa2d3bb392
Christian Brabandt <cb@256bit.org>
parents:
5527
diff
changeset
|
29 # define VIM_DEFAULTS_FILE "$VIMRUNTIME\\defaults.vim" |
284b4eb307fc
commit https://github.com/vim/vim/commit/8c08b5b569e2a9e9f63dea514591ecfa2d3bb392
Christian Brabandt <cb@256bit.org>
parents:
5527
diff
changeset
|
30 #endif |
7 | 31 #ifndef EVIM_FILE |
32 # define EVIM_FILE "$VIMRUNTIME\\evim.vim" | |
33 #endif | |
34 | |
35 #ifndef USR_EXRC_FILE | |
36 # define USR_EXRC_FILE "$HOME\\_exrc" | |
37 #endif | |
38 #ifndef USR_EXRC_FILE2 | |
39 # define USR_EXRC_FILE2 "$VIM\\_exrc" | |
40 #endif | |
41 | |
42 #ifdef FEAT_GUI | |
43 # ifndef SYS_GVIMRC_FILE | |
44 # define SYS_GVIMRC_FILE "$VIM\\gvimrc" | |
45 # endif | |
46 # ifndef USR_GVIMRC_FILE | |
47 # define USR_GVIMRC_FILE "$HOME\\_gvimrc" | |
48 # endif | |
49 # ifndef USR_GVIMRC_FILE2 | |
4863 | 50 # define USR_GVIMRC_FILE2 "$HOME\\vimfiles\\gvimrc" |
51 # endif | |
52 # ifndef USR_GVIMRC_FILE3 | |
53 # define USR_GVIMRC_FILE3 "$VIM\\_gvimrc" | |
7 | 54 # endif |
55 # ifndef SYS_MENU_FILE | |
56 # define SYS_MENU_FILE "$VIMRUNTIME\\menu.vim" | |
57 # endif | |
58 #endif | |
59 | |
60 #ifndef SYS_OPTWIN_FILE | |
61 # define SYS_OPTWIN_FILE "$VIMRUNTIME\\optwin.vim" | |
62 #endif | |
63 | |
64 #ifdef FEAT_VIMINFO | |
65 # ifndef VIMINFO_FILE | |
66 # define VIMINFO_FILE "$HOME\\_viminfo" | |
67 # endif | |
68 # ifndef VIMINFO_FILE2 | |
69 # define VIMINFO_FILE2 "$VIM\\_viminfo" | |
70 # endif | |
71 #endif | |
72 | |
73 #ifndef VIMRC_FILE | |
74 # define VIMRC_FILE "_vimrc" | |
75 #endif | |
76 | |
77 #ifndef EXRC_FILE | |
78 # define EXRC_FILE "_exrc" | |
79 #endif | |
80 | |
81 #ifdef FEAT_GUI | |
82 # ifndef GVIMRC_FILE | |
83 # define GVIMRC_FILE "_gvimrc" | |
84 # endif | |
85 #endif | |
86 | |
87 #ifndef DFLT_HELPFILE | |
88 # define DFLT_HELPFILE "$VIMRUNTIME\\doc\\help.txt" | |
89 #endif | |
90 | |
91 #ifndef FILETYPE_FILE | |
92 # define FILETYPE_FILE "filetype.vim" | |
93 #endif | |
94 #ifndef FTPLUGIN_FILE | |
95 # define FTPLUGIN_FILE "ftplugin.vim" | |
96 #endif | |
97 #ifndef INDENT_FILE | |
98 # define INDENT_FILE "indent.vim" | |
99 #endif | |
100 #ifndef FTOFF_FILE | |
101 # define FTOFF_FILE "ftoff.vim" | |
102 #endif | |
103 #ifndef FTPLUGOF_FILE | |
104 # define FTPLUGOF_FILE "ftplugof.vim" | |
105 #endif | |
106 #ifndef INDOFF_FILE | |
107 # define INDOFF_FILE "indoff.vim" | |
108 #endif | |
109 | |
110 #ifndef SYNTAX_FNAME | |
111 # define SYNTAX_FNAME "$VIMRUNTIME\\syntax\\%s.vim" | |
112 #endif | |
113 | |
114 #ifndef DFLT_BDIR | |
18753
6e3dc2d630c2
patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents:
13361
diff
changeset
|
115 # define DFLT_BDIR ".,$TEMP,c:\\tmp,c:\\temp" // default for 'backupdir' |
7 | 116 #endif |
117 | |
118 #ifndef DFLT_VDIR | |
18753
6e3dc2d630c2
patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents:
13361
diff
changeset
|
119 # define DFLT_VDIR "$VIM/vimfiles/view" // default for 'viewdir' |
7 | 120 #endif |
121 | |
122 #ifndef DFLT_DIR | |
18753
6e3dc2d630c2
patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents:
13361
diff
changeset
|
123 # define DFLT_DIR ".,$TEMP,c:\\tmp,c:\\temp" // default for 'directory' |
7 | 124 #endif |
125 | |
126 #define DFLT_ERRORFILE "errors.err" | |
127 #define DFLT_RUNTIMEPATH "$HOME/vimfiles,$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after,$HOME/vimfiles/after" | |
13361
65c29bd4548b
patch 8.0.1554: custom plugins loaded with --clean
Christian Brabandt <cb@256bit.org>
parents:
10042
diff
changeset
|
128 #define CLEAN_RUNTIMEPATH "$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after" |
7 | 129 |
18753
6e3dc2d630c2
patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents:
13361
diff
changeset
|
130 #define CASE_INSENSITIVE_FILENAME // ignore case when comparing file names |
7 | 131 #define SPACE_IN_FILENAME |
132 #define BACKSLASH_IN_FILENAME | |
18753
6e3dc2d630c2
patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents:
13361
diff
changeset
|
133 #define USE_CRNL // lines end in CR-NL instead of NL |
6e3dc2d630c2
patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents:
13361
diff
changeset
|
134 #define HAVE_DUP // have dup() |
6e3dc2d630c2
patch 8.1.2366: using old C style comments
Bram Moolenaar <Bram@vim.org>
parents:
13361
diff
changeset
|
135 #define HAVE_ST_MODE // have stat.st_mode |