1 /* Setting this to one permits strings with embedded color changing commands. 2 * This is experimental. 3 */ 4 #define SLSMG_HAS_EMBEDDED_ESCAPE 1 5 6 /* Setting this to 1 enables automatic support for associative arrays. 7 * If this is set to 0, an application must explicitly enable associative 8 * array support via SLang_init_slassoc. 9 */ 10 #define SLANG_HAS_ASSOC_ARRAYS 1 11 12 #define SLANG_HAS_COMPLEX 1 13 #define SLANG_HAS_FLOAT 1 14 15 /* This is the old space-speed trade off. To reduce memory usage and code 16 * size, set this to zero. 17 */ 18 #define SLANG_OPTIMIZE_FOR_SPEED 2 19 20 #define SLANG_USE_INLINE_CODE 1 21 22 /* Add extra information for tracking down errors. */ 23 #define SLANG_HAS_DEBUG_CODE 1 24 25 /* Experimental: Support for examining call frames */ 26 #define SLANG_HAS_DEBUGGER_SUPPORT 1 27 28 /* Allow optimizations based upon the __tmp operator. */ 29 #define SLANG_USE_TMP_OPTIMIZATION 1 30 31 /* Setting this to one will map 8 bit vtxxx terminals to 7 bit. Terminals 32 * such as the vt320 can be set up to output the two-character escape sequence 33 * encoded as 'ESC [' as single character. Setting this variable to 1 will 34 * insert code to map such characters to the 7 bit equivalent. 35 * This affects just input characters in the range 128-160 on non PC 36 * systems. 37 */ 38 #if defined(VMS) || defined(AMIGA) 39 # define SLANG_MAP_VTXXX_8BIT 1 40 #else 41 # define SLANG_MAP_VTXXX_8BIT 0 42 #endif 43 44 /* Add support for color terminals that cannot do background color erases 45 * Such terminals are poorly designed and are slowly disappearing but they 46 * are still quite common. For example, screen is one of them! 47 * 48 * This is experimental. In particular, it is not known to work if 49 * KANJI suupport is enabled. 50 */ 51 #if !defined(IBMPC_SYSTEM) 52 # define SLTT_HAS_NON_BCE_SUPPORT 1 53 #else 54 # define SLTT_HAS_NON_BCE_SUPPORT 0 55 #endif 56 57 /* Enable support for 24 bit colors. (ignored on 32 bit systems) */ 58 #define SLTT_HAS_TRUECOLOR_SUPPORT 1 59 60 61 /* If you want slang to assume that an xterm always has the background color 62 * erase feature, then set this to 1. Otherwise, it will check the terminfo 63 * database. This may or may not be a good idea since most good color xterms 64 * support bce but many terminfo systems do not support it. 65 */ 66 #define SLTT_XTERM_ALWAYS_BCE 0 67 68 /* 69 * NOTE: Kanji is not supported by slang-2. Consider using a UTF-8 aware 70 * terminal. Setting this variable will have no effect. 71 */ 72 #define SLANG_HAS_KANJI_SUPPORT 0 73 74 #define SLANG_HAS_SIGNALS 1 75 76 /* Enable this if you want beginning-of-statement and end-of-statement 77 * callbacks. This allows the creation of profilers, stack-checkers, etc. 78 * SLANG_HAS_DEBUG_CODE must be enabled for this to work. 79 */ 80 #define SLANG_HAS_BOSEOS SLANG_HAS_DEBUG_CODE 81 82 /* Define this if you want the language to support qualifiers */ 83 #define SLANG_HAS_QUALIFIERS 1 84 85 #define SLANG_HAS_IEEE_FP 1 86 87 #if !defined(IBMPC_SYSTEM) 88 # define SLANG_HAS_MULTILINE_RLINE 1 89 #else 90 # define SLANG_HAS_MULTILINE_RLINE 0 91 #endif 92