defines.h (89023) | defines.h (128349) |
---|---|
1/* $FreeBSD: head/usr.bin/less/defines.h 89023 2002-01-07 20:37:33Z ps $ */ 2/* defines.h. Generated automatically by configure. */ 3/* defines.h.in. Generated automatically from configure.in by autoheader. */ | 1/* $FreeBSD: head/usr.bin/less/defines.h 128349 2004-04-17 07:46:08Z tjr $ */ 2/* defines.h. Generated by configure. */ 3/* defines.h.in. Generated from configure.ac by autoheader. */ 4 5 |
4/* Unix definition file for less. -*- C -*- 5 * 6 * This file has 3 sections: 7 * User preferences. 8 * Settings always true on Unix. 9 * Settings automatically determined by configure. 10 * 11 * * * * * * WARNING * * * * * * 12 * If you edit defines.h by hand, do "touch stamp-h" before you run make 13 * so config.status doesn't overwrite your changes. 14 */ | 6/* Unix definition file for less. -*- C -*- 7 * 8 * This file has 3 sections: 9 * User preferences. 10 * Settings always true on Unix. 11 * Settings automatically determined by configure. 12 * 13 * * * * * * WARNING * * * * * * 14 * If you edit defines.h by hand, do "touch stamp-h" before you run make 15 * so config.status doesn't overwrite your changes. 16 */ |
15 | 17 |
16/* User preferences. */ 17 18/* 19 * SECURE is 1 if you wish to disable a bunch of features in order to 20 * be safe to run by unprivileged users. 21 */ 22#define SECURE 0 23 --- 16 unchanged lines hidden (view full) --- 40 41/* 42 * CMD_HISTORY is 1 if you wish to allow keys to cycle through 43 * previous commands at prompts. 44 */ 45#define CMD_HISTORY 1 46 47/* | 18/* User preferences. */ 19 20/* 21 * SECURE is 1 if you wish to disable a bunch of features in order to 22 * be safe to run by unprivileged users. 23 */ 24#define SECURE 0 25 --- 16 unchanged lines hidden (view full) --- 42 43/* 44 * CMD_HISTORY is 1 if you wish to allow keys to cycle through 45 * previous commands at prompts. 46 */ 47#define CMD_HISTORY 1 48 49/* |
48 * HILITE_SEARCH is 1 if you wish to have search targets to be | 50 * HILITE_SEARCH is 1 if you wish to have search targets to be |
49 * displayed in standout mode. 50 */ 51#define HILITE_SEARCH 1 52 53/* 54 * EDITOR is 1 if you wish to allow editor invocation (the "v" command). 55 * (This is possible only if your system supplies the system() function.) 56 * EDIT_PGM is the name of the (default) editor to be invoked. 57 */ 58#define EDITOR (!SECURE) 59 60/* 61 * TAGS is 1 if you wish to support tag files. 62 */ 63#define TAGS (!SECURE) 64 65/* | 51 * displayed in standout mode. 52 */ 53#define HILITE_SEARCH 1 54 55/* 56 * EDITOR is 1 if you wish to allow editor invocation (the "v" command). 57 * (This is possible only if your system supplies the system() function.) 58 * EDIT_PGM is the name of the (default) editor to be invoked. 59 */ 60#define EDITOR (!SECURE) 61 62/* 63 * TAGS is 1 if you wish to support tag files. 64 */ 65#define TAGS (!SECURE) 66 67/* |
66 * USERFILE is 1 if you wish to allow a .less file to specify | 68 * USERFILE is 1 if you wish to allow a .less file to specify |
67 * user-defined key bindings. 68 */ 69#define USERFILE (!SECURE) 70 71/* 72 * GLOB is 1 if you wish to have shell metacharacters expanded in filenames. 73 * This will generally work if your system provides the "popen" function 74 * and the "echo" shell command. --- 20 unchanged lines hidden (view full) --- 95/* 96 * ONLY_RETURN is 1 if you want RETURN to be the only input which 97 * will continue past an error message. 98 * Otherwise, any key will continue past an error message. 99 */ 100#define ONLY_RETURN 0 101 102/* | 69 * user-defined key bindings. 70 */ 71#define USERFILE (!SECURE) 72 73/* 74 * GLOB is 1 if you wish to have shell metacharacters expanded in filenames. 75 * This will generally work if your system provides the "popen" function 76 * and the "echo" shell command. --- 20 unchanged lines hidden (view full) --- 97/* 98 * ONLY_RETURN is 1 if you want RETURN to be the only input which 99 * will continue past an error message. 100 * Otherwise, any key will continue past an error message. 101 */ 102#define ONLY_RETURN 0 103 104/* |
103 * LESSKEYFILE is the filename of the default lesskey output file | 105 * LESSKEYFILE is the filename of the default lesskey output file |
104 * (in the HOME directory). 105 * LESSKEYFILE_SYS is the filename of the system-wide lesskey output file. | 106 * (in the HOME directory). 107 * LESSKEYFILE_SYS is the filename of the system-wide lesskey output file. |
106 * DEF_LESSKEYINFILE is the filename of the default lesskey input | 108 * DEF_LESSKEYINFILE is the filename of the default lesskey input |
107 * (in the HOME directory). 108 */ 109#define LESSKEYFILE ".less" | 109 * (in the HOME directory). 110 */ 111#define LESSKEYFILE ".less" |
110#define LESSKEYFILE_SYS "/etc/lesskey" | 112#define LESSKEYFILE_SYS SYSDIR "/sysless" |
111#define DEF_LESSKEYINFILE ".lesskey" 112 | 113#define DEF_LESSKEYINFILE ".lesskey" 114 |
113 | 115 |
114/* Settings always true on Unix. */ 115 116/* 117 * Define MSDOS_COMPILER if compiling under Microsoft C. 118 */ 119#define MSDOS_COMPILER 0 120 121/* 122 * Pathname separator character. 123 */ 124#define PATHNAME_SEP "/" 125 126/* 127 * HAVE_SYS_TYPES_H is 1 if your system has <sys/types.h>. 128 */ | 116/* Settings always true on Unix. */ 117 118/* 119 * Define MSDOS_COMPILER if compiling under Microsoft C. 120 */ 121#define MSDOS_COMPILER 0 122 123/* 124 * Pathname separator character. 125 */ 126#define PATHNAME_SEP "/" 127 128/* 129 * HAVE_SYS_TYPES_H is 1 if your system has <sys/types.h>. 130 */ |
129#define HAVE_SYS_TYPES_H 1 | 131#define HAVE_SYS_TYPES_H 1 |
130 131/* 132 * Define if you have the <sgstat.h> header file. 133 */ 134/* #undef HAVE_SGSTAT_H */ 135 136/* 137 * HAVE_PERROR is 1 if your system has the perror() call. --- 9 unchanged lines hidden (view full) --- 147/* 148 * HAVE_SHELL is 1 if your system supports a SHELL command interpreter. 149 */ 150#define HAVE_SHELL 1 151 152/* 153 * Default shell metacharacters and meta-escape character. 154 */ | 132 133/* 134 * Define if you have the <sgstat.h> header file. 135 */ 136/* #undef HAVE_SGSTAT_H */ 137 138/* 139 * HAVE_PERROR is 1 if your system has the perror() call. --- 9 unchanged lines hidden (view full) --- 149/* 150 * HAVE_SHELL is 1 if your system supports a SHELL command interpreter. 151 */ 152#define HAVE_SHELL 1 153 154/* 155 * Default shell metacharacters and meta-escape character. 156 */ |
155#define DEF_METACHARS "; \t\n'\"()<>|&^`\\" | 157#define DEF_METACHARS "; *?\t\n'\"()<>|&^`#\\" |
156#define DEF_METAESCAPE "\\" 157 | 158#define DEF_METAESCAPE "\\" 159 |
158/* | 160/* |
159 * HAVE_DUP is 1 if your system has the dup() call. 160 */ 161#define HAVE_DUP 1 162 163/* 164 * Sizes of various buffers. 165 */ 166#define CMDBUF_SIZE 512 /* Buffer for multichar commands */ 167#define UNGOT_SIZE 100 /* Max chars to unget() */ 168#define LINEBUF_SIZE 1024 /* Max size of line in input file */ 169#define OUTBUF_SIZE 1024 /* Output buffer */ 170#define PROMPT_SIZE 200 /* Max size of prompt string */ 171#define TERMBUF_SIZE 2048 /* Termcap buffer for tgetent */ 172#define TERMSBUF_SIZE 1024 /* Buffer to hold termcap strings */ 173#define TAGLINE_SIZE 512 /* Max size of line in tags file */ 174#define TABSTOP_MAX 32 /* Max number of custom tab stops */ | 161 * HAVE_DUP is 1 if your system has the dup() call. 162 */ 163#define HAVE_DUP 1 164 165/* 166 * Sizes of various buffers. 167 */ 168#define CMDBUF_SIZE 512 /* Buffer for multichar commands */ 169#define UNGOT_SIZE 100 /* Max chars to unget() */ 170#define LINEBUF_SIZE 1024 /* Max size of line in input file */ 171#define OUTBUF_SIZE 1024 /* Output buffer */ 172#define PROMPT_SIZE 200 /* Max size of prompt string */ 173#define TERMBUF_SIZE 2048 /* Termcap buffer for tgetent */ 174#define TERMSBUF_SIZE 1024 /* Buffer to hold termcap strings */ 175#define TAGLINE_SIZE 512 /* Max size of line in tags file */ 176#define TABSTOP_MAX 32 /* Max number of custom tab stops */ |
175 | 177 |
176/* Settings automatically determined by configure. */ 177 | 178/* Settings automatically determined by configure. */ 179 |
178/* Define to `long' if <sys/types.h> doesn't define. */ 179/* #undef off_t */ | |
180 | 180 |
181/* Define if you need to in order for stat and other things to work. */ 182/* #undef _POSIX_SOURCE */ | 181/* Define EDIT_PGM to your editor. */ 182#define EDIT_PGM "vi" |
183 | 183 |
184/* Define as the return type of signal handlers (int or void). */ 185#define RETSIGTYPE void 186 187/* Define if you have the ANSI C header files. */ 188#define STDC_HEADERS 1 189 190/* 191 * Regular expression library. 192 * Define exactly one of the following to be 1: 193 * HAVE_POSIX_REGCOMP: POSIX regcomp() and regex.h 194 * HAVE_PCRE: PCRE (Perl-compatible regular expression) library 195 * HAVE_RE_COMP: BSD re_comp() 196 * HAVE_REGCMP: System V regcmp() 197 * HAVE_V8_REGCOMP: Henry Spencer V8 regcomp() and regexp.h 198 * NO_REGEX: pattern matching is supported, but without metacharacters. 199 */ 200#define HAVE_POSIX_REGCOMP 1 201/* #undef HAVE_PCRE */ 202/* #undef HAVE_RE_COMP */ 203/* #undef HAVE_REGCMP */ 204/* #undef HAVE_V8_REGCOMP */ 205/* #undef NO_REGEX */ 206/* #undef HAVE_REGEXEC2 */ 207 208/* Define HAVE_VOID if your compiler supports the "void" type. */ 209#define HAVE_VOID 1 210 | |
211/* Define HAVE_CONST if your compiler supports the "const" modifier. */ 212#define HAVE_CONST 1 213 | 184/* Define HAVE_CONST if your compiler supports the "const" modifier. */ 185#define HAVE_CONST 1 186 |
214/* Define HAVE_TIME_T if your system supports the "time_t" type. */ 215#define HAVE_TIME_T 1 | 187/* Define to 1 if you have the <ctype.h> header file. */ 188#define HAVE_CTYPE_H 1 |
216 | 189 |
217/* Define HAVE_STRERROR if you have the strerror() function. */ 218#define HAVE_STRERROR 1 | 190/* Define HAVE_ERRNO if you have the errno variable. */ 191#define HAVE_ERRNO 1 |
219 | 192 |
193/* Define to 1 if you have the <errno.h> header file. */ 194#define HAVE_ERRNO_H 1 195 196/* Define to 1 if you have the <fcntl.h> header file. */ 197#define HAVE_FCNTL_H 1 198 |
|
220/* Define HAVE_FILENO if you have the fileno() macro. */ 221#define HAVE_FILENO 1 222 | 199/* Define HAVE_FILENO if you have the fileno() macro. */ 200#define HAVE_FILENO 1 201 |
223/* Define HAVE_ERRNO if you have the errno variable */ 224/* Define MUST_DEFINE_ERRNO if you have errno but it is not define 225 * in errno.h */ 226#define HAVE_ERRNO 1 227/* #undef MUST_DEFINE_ERRNO */ | 202/* Define to 1 if you have the `fsync' function. */ 203#define HAVE_FSYNC 1 |
228 | 204 |
229/* Define HAVE_SYS_ERRLIST if you have the sys_errlist[] variable */ 230#define HAVE_SYS_ERRLIST 1 | 205/* Define to 1 if you have the <inttypes.h> header file. */ 206#define HAVE_INTTYPES_H 1 |
231 | 207 |
232/* Define HAVE_OSPEED if your termcap library has the ospeed variable */ 233/* Define MUST_DEFINE_OSPEED if you have ospeed but it is not defined 234 * in termcap.h. */ 235#define HAVE_OSPEED 1 236/* #undef MUST_DEFINE_OSPEED */ | 208/* Define to 1 if you have the `gen' library (-lgen). */ 209/* #undef HAVE_LIBGEN */ |
237 | 210 |
211/* Define to 1 if you have the `intl' library (-lintl). */ 212/* #undef HAVE_LIBINTL */ 213 214/* Define to 1 if you have the `PW' library (-lPW). */ 215/* #undef HAVE_LIBPW */ 216 217/* Define to 1 if you have the <limits.h> header file. */ 218#define HAVE_LIMITS_H 1 219 |
|
238/* Define HAVE_LOCALE if you have locale.h and setlocale. */ 239#define HAVE_LOCALE 1 240 | 220/* Define HAVE_LOCALE if you have locale.h and setlocale. */ 221#define HAVE_LOCALE 1 222 |
241/* Define HAVE_TERMIOS_FUNCS if you have tcgetattr/tcsetattr */ 242#define HAVE_TERMIOS_FUNCS 1 | 223/* Define to 1 if you have the `memcpy' function. */ 224#define HAVE_MEMCPY 1 |
243 | 225 |
244/* Define HAVE_UPPER_LOWER if you have isupper, islower, toupper, tolower */ 245#define HAVE_UPPER_LOWER 1 | 226/* Define to 1 if you have the <memory.h> header file. */ 227#define HAVE_MEMORY_H 1 |
246 | 228 |
247/* Define HAVE_SIGSET_T you have the sigset_t type */ 248/* #undef HAVE_SIGSET_T */ | 229/* Define HAVE_OSPEED if your termcap library has the ospeed variable. */ 230#define HAVE_OSPEED 1 |
249 | 231 |
250/* Define HAVE_SIGEMPTYSET if you have the sigemptyset macro */ 251#define HAVE_SIGEMPTYSET 1 | 232/* PCRE (Perl-compatible regular expression) library */ 233/* #undef HAVE_PCRE */ |
252 | 234 |
253/* Define EDIT_PGM to your editor. */ 254#define EDIT_PGM "vi" | 235/* Define to 1 if you have the `popen' function. */ 236#define HAVE_POPEN 1 |
255 | 237 |
256/* Define if you have the _setjmp function. */ 257#define HAVE__SETJMP 1 | 238/* POSIX regcomp() and regex.h */ 239#define HAVE_POSIX_REGCOMP 1 |
258 | 240 |
259/* Define if you have the fsync function. */ 260#define HAVE_FSYNC 1 | 241/* System V regcmp() */ 242/* #undef HAVE_REGCMP */ |
261 | 243 |
262/* Define if you have the memcpy function. */ 263#define HAVE_MEMCPY 1 | 244/* */ 245/* #undef HAVE_REGEXEC2 */ |
264 | 246 |
265/* Define if you have the popen function. */ 266#define HAVE_POPEN 1 | 247/* BSD re_comp() */ 248/* #undef HAVE_RE_COMP */ |
267 | 249 |
268/* Define if you have the sigprocmask function. */ | 250/* Define HAVE_SIGEMPTYSET if you have the sigemptyset macro. */ 251#define HAVE_SIGEMPTYSET 1 252 253/* Define to 1 if you have the `sigprocmask' function. */ |
269#define HAVE_SIGPROCMASK 1 270 | 254#define HAVE_SIGPROCMASK 1 255 |
271/* Define if you have the sigsetmask function. */ | 256/* Define to 1 if you have the `sigsetmask' function. */ |
272#define HAVE_SIGSETMASK 1 273 | 257#define HAVE_SIGSETMASK 1 258 |
274/* Define if you have the stat function. */ | 259/* Define HAVE_SIGSET_T you have the sigset_t type. */ 260/* #undef HAVE_SIGSET_T */ 261 262/* Define to 1 if you have the `stat' function. */ |
275#define HAVE_STAT 1 276 | 263#define HAVE_STAT 1 264 |
277/* Define if you have the strchr function. */ 278#define HAVE_STRCHR 1 | 265/* Define to 1 if you have the <stdint.h> header file. */ 266#define HAVE_STDINT_H 1 |
279 | 267 |
280/* Define if you have the strstr function. */ 281#define HAVE_STRSTR 1 | 268/* Define to 1 if you have the <stdio.h> header file. */ 269#define HAVE_STDIO_H 1 |
282 | 270 |
283/* Define if you have the system function. */ 284#define HAVE_SYSTEM 1 | 271/* Define to 1 if you have the <stdlib.h> header file. */ 272#define HAVE_STDLIB_H 1 |
285 | 273 |
286/* Define if you have the <ctype.h> header file. */ 287#define HAVE_CTYPE_H 1 | 274/* Define to 1 if you have the `strchr' function. */ 275#define HAVE_STRCHR 1 |
288 | 276 |
289/* Define if you have the <errno.h> header file. */ 290#define HAVE_ERRNO_H 1 | 277/* Define HAVE_STRERROR if you have the strerror() function. */ 278#define HAVE_STRERROR 1 |
291 | 279 |
292/* Define if you have the <fcntl.h> header file. */ 293#define HAVE_FCNTL_H 1 | 280/* Define to 1 if you have the <strings.h> header file. */ 281#define HAVE_STRINGS_H 1 |
294 | 282 |
295/* Define if you have the <limits.h> header file. */ 296#define HAVE_LIMITS_H 1 | 283/* Define to 1 if you have the <string.h> header file. */ 284#define HAVE_STRING_H 1 |
297 | 285 |
298/* Define if you have the <stdio.h> header file. */ 299#define HAVE_STDIO_H 1 | 286/* Define to 1 if you have the `strstr' function. */ 287#define HAVE_STRSTR 1 |
300 | 288 |
301/* Define if you have the <stdlib.h> header file. */ 302#define HAVE_STDLIB_H 1 | 289/* Define to 1 if you have the `system' function. */ 290#define HAVE_SYSTEM 1 |
303 | 291 |
304/* Define if you have the <string.h> header file. */ 305#define HAVE_STRING_H 1 | 292/* Define HAVE_SYS_ERRLIST if you have the sys_errlist[] variable. */ 293#define HAVE_SYS_ERRLIST 1 |
306 | 294 |
307/* Define if you have the <sys/ioctl.h> header file. */ | 295/* Define to 1 if you have the <sys/ioctl.h> header file. */ |
308#define HAVE_SYS_IOCTL_H 1 309 | 296#define HAVE_SYS_IOCTL_H 1 297 |
310/* Define if you have the <sys/ptem.h> header file. */ | 298/* Define to 1 if you have the <sys/ptem.h> header file. */ |
311/* #undef HAVE_SYS_PTEM_H */ 312 | 299/* #undef HAVE_SYS_PTEM_H */ 300 |
313/* Define if you have the <sys/stream.h> header file. */ | 301/* Define to 1 if you have the <sys/stat.h> header file. */ 302#define HAVE_SYS_STAT_H 1 303 304/* Define to 1 if you have the <sys/stream.h> header file. */ |
314/* #undef HAVE_SYS_STREAM_H */ 315 | 305/* #undef HAVE_SYS_STREAM_H */ 306 |
316/* Define if you have the <termcap.h> header file. */ | 307/* Define to 1 if you have the <sys/types.h> header file. */ 308#define HAVE_SYS_TYPES_H 1 309 310/* Define to 1 if you have the <termcap.h> header file. */ |
317#define HAVE_TERMCAP_H 1 318 | 311#define HAVE_TERMCAP_H 1 312 |
319/* Define if you have the <termio.h> header file. */ 320/* #undef HAVE_TERMIO_H */ | 313/* Define HAVE_TERMIOS_FUNCS if you have tcgetattr/tcsetattr. */ 314#define HAVE_TERMIOS_FUNCS 1 |
321 | 315 |
322/* Define if you have the <termios.h> header file. */ | 316/* Define to 1 if you have the <termios.h> header file. */ |
323#define HAVE_TERMIOS_H 1 324 | 317#define HAVE_TERMIOS_H 1 318 |
325/* Define if you have the <time.h> header file. */ | 319/* Define to 1 if you have the <termio.h> header file. */ 320/* #undef HAVE_TERMIO_H */ 321 322/* Define to 1 if you have the <time.h> header file. */ |
326#define HAVE_TIME_H 1 327 | 323#define HAVE_TIME_H 1 324 |
328/* Define if you have the <unistd.h> header file. */ | 325/* Define HAVE_TIME_T if your system supports the "time_t" type. */ 326#define HAVE_TIME_T 1 327 328/* Define to 1 if you have the <unistd.h> header file. */ |
329#define HAVE_UNISTD_H 1 330 | 329#define HAVE_UNISTD_H 1 330 |
331/* Define if you have the <values.h> header file. */ | 331/* Define HAVE_UPPER_LOWER if you have isupper, islower, toupper, tolower. */ 332#define HAVE_UPPER_LOWER 1 333 334/* Henry Spencer V8 regcomp() and regexp.h */ 335/* #undef HAVE_V8_REGCOMP */ 336 337/* Define to 1 if you have the <values.h> header file. */ |
332/* #undef HAVE_VALUES_H */ 333 | 338/* #undef HAVE_VALUES_H */ 339 |
334/* Define if you have the PW library (-lPW). */ 335/* #undef HAVE_LIBPW */ | 340/* Define HAVE_VOID if your compiler supports the "void" type. */ 341#define HAVE_VOID 1 |
336 | 342 |
337/* Define if you have the gen library (-lgen). */ 338/* #undef HAVE_LIBGEN */ | 343/* Define to 1 if you have the `_setjmp' function. */ 344#define HAVE__SETJMP 1 |
339 | 345 |
340/* Define if you have the intl library (-lintl). */ 341/* #undef HAVE_LIBINTL */ | 346/* Define MUST_DEFINE_ERRNO if you have errno but it is not define in errno.h. 347 */ 348/* #undef MUST_DEFINE_ERRNO */ 349 350/* Define MUST_DEFINE_OSPEED if you have ospeed but it is not defined in 351 termcap.h. */ 352/* #undef MUST_DEFINE_OSPEED */ 353 354/* pattern matching is supported, but without metacharacters. */ 355/* #undef NO_REGEX */ 356 357/* Define to the address where bug reports for this package should be sent. */ 358#define PACKAGE_BUGREPORT "" 359 360/* Define to the full name of this package. */ 361#define PACKAGE_NAME "less" 362 363/* Define to the full name and version of this package. */ 364#define PACKAGE_STRING "less 1" 365 366/* Define to the one symbol short name of this package. */ 367#define PACKAGE_TARNAME "less" 368 369/* Define to the version of this package. */ 370#define PACKAGE_VERSION "1" 371 372/* Define as the return type of signal handlers (`int' or `void'). */ 373#define RETSIGTYPE void 374 375/* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */ 376/* #undef STAT_MACROS_BROKEN */ 377 378/* Define to 1 if you have the ANSI C header files. */ 379#define STDC_HEADERS 1 380 381/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */ 382#define TIME_WITH_SYS_TIME 1 383 384/* Number of bits in a file offset, on hosts where this is settable. */ 385/* #undef _FILE_OFFSET_BITS */ 386 387/* Define for large files, on AIX-style hosts. */ 388/* #undef _LARGE_FILES */ 389 390/* Define to empty if `const' does not conform to ANSI C. */ 391/* #undef const */ 392 393/* Define to `long' if <sys/types.h> does not define. */ 394/* #undef off_t */ 395 396/* Define to `unsigned' if <sys/types.h> does not define. */ 397/* #undef size_t */ |