Mercurial > vim
annotate src/os_vms_conf.h @ 11267:588de97b40e7 v8.0.0519
patch 8.0.0519: character classes are not well tested
commit https://github.com/vim/vim/commit/0c078fc7db2902d4ccba04506db082ddbef45a8c
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Mar 29 15:31:20 2017 +0200
patch 8.0.0519: character classes are not well tested
Problem: Character classes are not well tested. They can differ between
platforms.
Solution: Add tests. In the documentation make clear which classes depend
on what library function. Only use :cntrl: and :graph: for ASCII.
(Kazunobu Kuriyama, Dominique Pelle, closes #1560)
Update the documentation.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 29 Mar 2017 15:45:05 +0200 |
parents | 37a441352da2 |
children | 2ad5f0ffaa2e |
rev | line source |
---|---|
7 | 1 /* os_vms_conf.h. Replaces auto/config.h for VMS */ |
2 | |
3 #define CASE_INSENSITIVE_FILENAME /* Open VMS is case insensitive */ | |
4 #define SPACE_IN_FILENAME /* There could be space between user and passwd */ | |
5 #define FNAME_ILLEGAL "|*#?%" /* Illegal characters in a file name */ | |
6 #define BINARY_FILE_IO /* Use binary fileio */ | |
7 #define USE_GETCWD | |
8 #define USE_SYSTEM | |
9 | |
10 /* Define when terminfo support found */ | |
11 #undef TERMINFO | |
12 | |
13 /* Define when termcap.h contains ospeed */ | |
14 /* #define HAVE_OSPEED */ | |
15 | |
16 /* Define when termcap.h contains UP, BC and PC */ | |
17 /* #define HAVE_UP_BC_PC */ | |
18 | |
19 /* Define when termcap.h defines outfuntype */ | |
20 /*#define HAVE_OUTFUNTYPE */ | |
21 | |
22 /* Define when __DATE__ " " __TIME__ can be used */ | |
23 #define HAVE_DATE_TIME | |
24 | |
25 /* Defined to the size of an int */ | |
5684 | 26 #define VIM_SIZEOF_INT 4 |
7 | 27 |
28 /* #undef USEBCOPY */ | |
29 #define USEMEMMOVE | |
30 /* #undef USEMEMCPY */ | |
31 | |
32 /* Define when "man -s 2" is to be used */ | |
33 /* #undef USEMAN_S */ | |
34 | |
35 /* Define to empty if the keyword does not work. */ | |
36 /* #undef const */ | |
37 | |
38 /* Define to `int' if <sys/types.h> doesn't define. */ | |
39 /* #undef mode_t */ | |
40 | |
41 /* Define to `long' if <sys/types.h> doesn't define. */ | |
42 /* #undef off_t */ | |
43 | |
44 /* Define to `long' if <sys/types.h> doesn't define. */ | |
45 /* #undef pid_t */ | |
46 | |
47 /* Define to `unsigned' if <sys/types.h> doesn't define. */ | |
48 /* #undef size_t */ | |
49 | |
50 /* Define to `int' if <sys/types.h> doesn't define. */ | |
51 /* #undef uid_t */ | |
52 | |
2428
33148c37f3c9
Changes for VMS. Mostly by Zoltan Arpadffy.
Bram Moolenaar <bram@vim.org>
parents:
1709
diff
changeset
|
53 /* Define to `unsigned int' or other type that is 32 bit. */ |
33148c37f3c9
Changes for VMS. Mostly by Zoltan Arpadffy.
Bram Moolenaar <bram@vim.org>
parents:
1709
diff
changeset
|
54 #define UINT32_T unsigned int |
33148c37f3c9
Changes for VMS. Mostly by Zoltan Arpadffy.
Bram Moolenaar <bram@vim.org>
parents:
1709
diff
changeset
|
55 |
7 | 56 /* Define to `int' if <sys/types.h> doesn't define. */ |
57 /* #undef gid_t */ | |
58 | |
59 /* Define to `long' if <sys/types.h> doesn't define. */ | |
60 /* #undef ino_t */ | |
61 | |
62 /* Define if you have the nanosleep() function. */ | |
63 /* #undef HAVE_NANOSLEEP */ | |
64 | |
65 /* Define if you can safely include both <sys/time.h> and <time.h>. */ | |
66 #define TIME_WITH_SYS_TIME | |
67 | |
68 /* Define if you can safely include both <sys/time.h> and <sys/select.h>. */ | |
69 /* #undef SYS_SELECT_WITH_SYS_TIME */ | |
70 | |
71 /* Define as the return type of signal handlers (int or void). */ | |
72 #define RETSIGTYPE void | |
73 | |
74 /* Define as the command at the end of signal handlers ("" or "return 0;"). */ | |
75 #define SIGRETURN return | |
76 | |
77 /* Define if struct sigcontext is present */ | |
78 #define HAVE_SIGCONTEXT | |
79 | |
1200 | 80 /* Define if toupper/tolower only work on lower/uppercase characters */ |
7 | 81 /* #define BROKEN_TOUPPER */ |
82 | |
83 /* Define if tgetstr() has a second argument that is (char *) */ | |
84 /* #undef TGETSTR_CHAR_P */ | |
85 | |
86 /* Define if you have the sigset() function. */ | |
87 /* #undef HAVE_SIGSET */ | |
88 | |
89 /* Define if you have the setpgid() function. */ | |
90 /* #undef HAVE_SETPGID */ | |
91 | |
92 /* Define if you have the setsid() function. */ | |
93 /* #undef HAVE_SETSID */ | |
94 | |
95 /* Define if you have the sigset() function. */ | |
96 /* #undef HAVE_SIGSET */ | |
97 | |
98 #define TGETENT_ZERO_ERR | |
99 #define HAVE_GETCWD | |
100 #define HAVE_STRCSPN | |
101 #define HAVE_STRTOL | |
102 #define HAVE_TGETENT | |
103 #define HAVE_MEMSET | |
104 #define HAVE_STRERROR | |
105 #define HAVE_FCHOWN | |
106 #define HAVE_RENAME | |
107 #define HAVE_QSORT | |
108 #define HAVE_FSYNC | |
109 #define HAVE_GETPWUID | |
110 #define HAVE_GETPWNAM | |
111 #define HAVE_STDLIB_H | |
112 #define HAVE_STRING_H | |
113 #define HAVE_ERRNO_H | |
114 #define HAVE_OPENDIR | |
115 #define HAVE_PUTENV | |
116 #define HAVE_SETENV | |
117 #define HAVE_SETJMP_H | |
1709 | 118 #define HAVE_MATH_H |
119 #define HAVE_FLOAT_FUNCS | |
7 | 120 |
121 #undef HAVE_DIRENT_H | |
122 #undef HAVE_SYS_NDIR_H | |
123 #undef HAVE_SYS_DIR_H | |
124 #undef HAVE_NDIR_H | |
125 #undef HAVE_SYS_WAIT_H | |
126 #undef HAVE_UNION_WAIT | |
127 #undef HAVE_SYS_SELECT_H | |
128 #undef HAVE_SYS_UTSNAME_H | |
129 #undef HAVE_SYS_SYSTEMINFO_H | |
130 #undef HAVE_TERMCAP_H | |
131 #undef HAVE_SGTTY_H | |
132 #undef HAVE_SYS_IOCTL_H | |
133 #undef HAVE_TERMIO_H | |
134 #undef HAVE_STROPTS_H | |
135 #undef HAVE_SYS_STREAM_H | |
136 #undef HAVE_SYS_PTEM_H | |
137 #undef HAVE_TERMIOS_H | |
138 #undef HAVE_LIBC_H | |
139 #undef HAVE_SYS_STATFS_H | |
140 #undef HAVE_SYS_POLL_H | |
141 #undef HAVE_PWD_H | |
142 #undef HAVE_FCHDIR | |
10328
299f1669c20e
commit https://github.com/vim/vim/commit/de5e2c219b99895445fb75ae3541ee69282a5846
Christian Brabandt <cb@256bit.org>
parents:
7838
diff
changeset
|
143 #undef HAVE_LSTAT |
7 | 144 |
145 /* Hardware specific */ | |
146 #ifdef VAX | |
147 #undef HAVE_GETTIMEOFDAY | |
148 #undef HAVE_USLEEP | |
149 #undef HAVE_STRCASECMP | |
150 #undef HAVE_STRINGS_H | |
10328
299f1669c20e
commit https://github.com/vim/vim/commit/de5e2c219b99895445fb75ae3541ee69282a5846
Christian Brabandt <cb@256bit.org>
parents:
7838
diff
changeset
|
151 #undef HAVE_SIGSETJMP |
299f1669c20e
commit https://github.com/vim/vim/commit/de5e2c219b99895445fb75ae3541ee69282a5846
Christian Brabandt <cb@256bit.org>
parents:
7838
diff
changeset
|
152 #undef HAVE_ISNAN |
7 | 153 #else |
154 #define HAVE_GETTIMEOFDAY | |
155 #define HAVE_USLEEP | |
156 #define HAVE_STRCASECMP | |
157 #define HAVE_STRINGS_H | |
10328
299f1669c20e
commit https://github.com/vim/vim/commit/de5e2c219b99895445fb75ae3541ee69282a5846
Christian Brabandt <cb@256bit.org>
parents:
7838
diff
changeset
|
158 #define HAVE_SIGSETJMP |
299f1669c20e
commit https://github.com/vim/vim/commit/de5e2c219b99895445fb75ae3541ee69282a5846
Christian Brabandt <cb@256bit.org>
parents:
7838
diff
changeset
|
159 #define HAVE_ISNAN |
7 | 160 #endif |
161 | |
162 /* Compiler specific */ | |
163 #ifdef VAXC | |
164 #undef HAVE_SELECT | |
165 #undef HAVE_FCNTL_H | |
166 #undef HAVE_UNISTD_H | |
167 #undef HAVE_SYS_TIME_H | |
168 #undef HAVE_LOCALE_H | |
169 #define BROKEN_LOCALE | |
170 #undef DYNAMIC_ICONV | |
171 #undef HAVE_STRFTIME | |
172 #else | |
173 #define HAVE_SELECT | |
174 #define HAVE_FCNTL_H | |
175 #define HAVE_UNISTD_H 1 | |
176 #define HAVE_SYS_TIME_H | |
177 #define HAVE_LOCALE_H | |
178 #define BROKEN_LOCALE | |
179 #undef DYNAMIC_ICONV | |
180 #define HAVE_STRFTIME | |
181 #endif | |
182 | |
5704 | 183 #if defined(USE_ICONV) |
184 #define HAVE_ICONV_H | |
185 #define HAVE_ICONV | |
186 #else | |
187 #undef HAVE_ICONV_H | |
188 #undef HAVE_ICONV | |
189 #endif | |
190 | |
7 | 191 /* GUI support defines */ |
819 | 192 #if defined(FEAT_GUI_MOTIF) || defined(FEAT_GUI_GTK) |
7 | 193 #define HAVE_X11 |
194 #define USE_FONTSET | |
195 #undef X_LOCALE | |
196 #endif |