comparison src/feature.h @ 2247:c40cd9aad546 vim73

Add patch to improve support of z/OS (OS/390). (Ralf Schandl)
author Bram Moolenaar <bram@vim.org>
date Thu, 03 Jun 2010 21:17:25 +0200
parents 43cad213cb7f
children 1bac28a53fae
comparison
equal deleted inserted replaced
2246:1e48f569b03d 2247:c40cd9aad546
298 # define FEAT_PATH_EXTRA 298 # define FEAT_PATH_EXTRA
299 #endif 299 #endif
300 300
301 /* 301 /*
302 * +rightleft Right-to-left editing/typing support. 302 * +rightleft Right-to-left editing/typing support.
303 */ 303 *
304 #ifdef FEAT_BIG 304 * Disabled for EBCDIC as it requires multibyte.
305 */
306 #if defined(FEAT_BIG) && !defined(EBCDIC)
305 # define FEAT_RIGHTLEFT 307 # define FEAT_RIGHTLEFT
306 #endif 308 #endif
307 309
308 /* 310 /*
309 * +farsi Farsi (Persian language) Keymap support. 311 * +farsi Farsi (Persian language) Keymap support.
310 * Requires FEAT_RIGHTLEFT. 312 * Requires FEAT_RIGHTLEFT.
311 */ 313 *
312 #ifdef FEAT_BIG 314 * Disabled for EBCDIC as it requires multibyte.
315 */
316 #if defined(FEAT_BIG) && !defined(EBCDIC)
313 # define FEAT_FKMAP 317 # define FEAT_FKMAP
314 #endif 318 #endif
315 #ifdef FEAT_FKMAP 319 #ifdef FEAT_FKMAP
316 # ifndef FEAT_RIGHTLEFT 320 # ifndef FEAT_RIGHTLEFT
317 # define FEAT_RIGHTLEFT 321 # define FEAT_RIGHTLEFT
319 #endif 323 #endif
320 324
321 /* 325 /*
322 * +arabic Arabic keymap and shaping support. 326 * +arabic Arabic keymap and shaping support.
323 * Requires FEAT_RIGHTLEFT and FEAT_MBYTE. 327 * Requires FEAT_RIGHTLEFT and FEAT_MBYTE.
328 *
329 * Disabled for EBCDIC as it requires multibyte.
324 */ 330 */
325 #if defined(FEAT_BIG) && !defined(WIN16) && SIZEOF_INT >= 4 && !defined(EBCDIC) 331 #if defined(FEAT_BIG) && !defined(WIN16) && SIZEOF_INT >= 4 && !defined(EBCDIC)
326 # define FEAT_ARABIC 332 # define FEAT_ARABIC
327 #endif 333 #endif
328 #ifdef FEAT_ARABIC 334 #ifdef FEAT_ARABIC
341 347
342 /* 348 /*
343 * +tag_binary Can use a binary search for the tags file. 349 * +tag_binary Can use a binary search for the tags file.
344 * 350 *
345 * Disabled for EBCDIC: 351 * Disabled for EBCDIC:
346 * On OS/390 Unix we have the problem that /bin/sort sorts ASCII instead of 352 * On z/OS Unix we have the problem that /bin/sort sorts ASCII instead of
347 * EBCDIC. With this binary search doesn't work, as VIM expects a tag file 353 * EBCDIC. With this binary search doesn't work, as VIM expects a tag file
348 * sorted by character values. I'm not sure how to fix this. Should we really 354 * sorted by character values. I'm not sure how to fix this. Should we really
349 * do a EBCDIC to ASCII conversion for this?? 355 * do a EBCDIC to ASCII conversion for this??
350 */ 356 */
351 #if defined(FEAT_NORMAL) && !defined(EBCDIC) 357 #if defined(FEAT_NORMAL) && !defined(EBCDIC)
528 # define FEAT_SYN_HL 534 # define FEAT_SYN_HL
529 #endif 535 #endif
530 536
531 /* 537 /*
532 * +spell spell checking 538 * +spell spell checking
533 */ 539 *
534 #if defined(FEAT_NORMAL) || defined(PROTO) 540 * Disabled for EBCDIC:
541 * Doesn't work (SIGSEGV).
542 */
543 #if (defined(FEAT_NORMAL) || defined(PROTO)) && !defined(EBCDIC)
535 # define FEAT_SPELL 544 # define FEAT_SPELL
536 #endif 545 #endif
537 546
538 /* 547 /*
539 * +builtin_terms Choose one out of the following four: 548 * +builtin_terms Choose one out of the following four:
620 /* 629 /*
621 * +multi_byte Generic multi-byte character handling. Doesn't work 630 * +multi_byte Generic multi-byte character handling. Doesn't work
622 * with 16 bit ints. Required for GTK+ 2. 631 * with 16 bit ints. Required for GTK+ 2.
623 * 632 *
624 * Disabled for EBCDIC: 633 * Disabled for EBCDIC:
625 * Multibyte support doesn't work on OS390 Unix currently. 634 * Multibyte support doesn't work on z/OS Unix currently.
626 */ 635 */
627 #if (defined(FEAT_BIG) || defined(HAVE_GTK2) || defined(FEAT_ARABIC)) \ 636 #if (defined(FEAT_BIG) || defined(HAVE_GTK2) || defined(FEAT_ARABIC)) \
628 && !defined(FEAT_MBYTE) && !defined(WIN16) \ 637 && !defined(FEAT_MBYTE) && !defined(WIN16) \
629 && SIZEOF_INT >= 4 && !defined(EBCDIC) 638 && SIZEOF_INT >= 4 && !defined(EBCDIC)
630 # define FEAT_MBYTE 639 # define FEAT_MBYTE