=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/less/Attic/defines.h.in,v retrieving revision 1.1.1.3 retrieving revision 1.1.1.4 diff -c -r1.1.1.3 -r1.1.1.4 *** src/usr.bin/less/Attic/defines.h.in 2011/09/16 17:47:04 1.1.1.3 --- src/usr.bin/less/Attic/defines.h.in 2014/04/25 13:33:45 1.1.1.4 *************** *** 182,187 **** --- 182,188 ---- /* * Sizes of various buffers. */ + #if 0 /* old sizes for small memory machines */ #define CMDBUF_SIZE 512 /* Buffer for multichar commands */ #define UNGOT_SIZE 100 /* Max chars to unget() */ #define LINEBUF_SIZE 1024 /* Max size of line in input file */ *************** *** 191,196 **** --- 192,208 ---- #define TERMSBUF_SIZE 1024 /* Buffer to hold termcap strings */ #define TAGLINE_SIZE 512 /* Max size of line in tags file */ #define TABSTOP_MAX 32 /* Max number of custom tab stops */ + #else /* more reasonable sizes for modern machines */ + #define CMDBUF_SIZE 2048 /* Buffer for multichar commands */ + #define UNGOT_SIZE 200 /* Max chars to unget() */ + #define LINEBUF_SIZE 1024 /* Initial max size of line in input file */ + #define OUTBUF_SIZE 1024 /* Output buffer */ + #define PROMPT_SIZE 2048 /* Max size of prompt string */ + #define TERMBUF_SIZE 2048 /* Termcap buffer for tgetent */ + #define TERMSBUF_SIZE 1024 /* Buffer to hold termcap strings */ + #define TAGLINE_SIZE 1024 /* Max size of line in tags file */ + #define TABSTOP_MAX 128 /* Max number of custom tab stops */ + #endif /* Settings automatically determined by configure. */ *************** *** 225,241 **** /* Define to 1 if you have the `fsync' function. */ #undef HAVE_FSYNC /* Define to 1 if you have the header file. */ #undef HAVE_INTTYPES_H - - /* Define to 1 if you have the `gen' library (-lgen). */ - #undef HAVE_LIBGEN - - /* Define to 1 if you have the `intl' library (-lintl). */ - #undef HAVE_LIBINTL - - /* Define to 1 if you have the `PW' library (-lPW). */ - #undef HAVE_LIBPW /* Define to 1 if you have the header file. */ #undef HAVE_LIMITS_H --- 237,247 ---- /* Define to 1 if you have the `fsync' function. */ #undef HAVE_FSYNC + /* GNU regex library */ + #undef HAVE_GNU_REGEX + /* Define to 1 if you have the header file. */ #undef HAVE_INTTYPES_H /* Define to 1 if you have the header file. */ #undef HAVE_LIMITS_H