1 |
|
/* |
2 |
< |
* Copyright (C) 1984-2009 Mark Nudelman |
2 |
> |
* Copyright (C) 1984-2012 Mark Nudelman |
3 |
|
* |
4 |
|
* You may distribute under the terms of either the GNU General Public |
5 |
|
* License or the Less License, as specified in the README file. |
6 |
|
* |
7 |
< |
* For more information about less, or for information on how to |
8 |
< |
* contact the author, see the README file. |
7 |
> |
* For more information, see the README file. |
8 |
|
*/ |
9 |
|
|
10 |
|
|
185 |
|
/* |
186 |
|
* Sizes of various buffers. |
187 |
|
*/ |
188 |
+ |
#if 0 /* old sizes for small memory machines |
189 |
|
#define CMDBUF_SIZE 512 /* Buffer for multichar commands */ |
190 |
|
#define UNGOT_SIZE 100 /* Max chars to unget() */ |
191 |
|
#define LINEBUF_SIZE 1024 /* Max size of line in input file */ |
195 |
|
#define TERMSBUF_SIZE 1024 /* Buffer to hold termcap strings */ |
196 |
|
#define TAGLINE_SIZE 512 /* Max size of line in tags file */ |
197 |
|
#define TABSTOP_MAX 32 /* Max number of custom tab stops */ |
198 |
+ |
#else /* more reasonable sizes for modern machines */ |
199 |
+ |
#define CMDBUF_SIZE 2048 /* Buffer for multichar commands */ |
200 |
+ |
#define UNGOT_SIZE 200 /* Max chars to unget() */ |
201 |
+ |
#define LINEBUF_SIZE 1024 /* Initial max size of line in input file */ |
202 |
+ |
#define OUTBUF_SIZE 1024 /* Output buffer */ |
203 |
+ |
#define PROMPT_SIZE 2048 /* Max size of prompt string */ |
204 |
+ |
#define TERMBUF_SIZE 2048 /* Termcap buffer for tgetent */ |
205 |
+ |
#define TERMSBUF_SIZE 1024 /* Buffer to hold termcap strings */ |
206 |
+ |
#define TAGLINE_SIZE 1024 /* Max size of line in tags file */ |
207 |
+ |
#define TABSTOP_MAX 128 /* Max number of custom tab stops */ |
208 |
+ |
#endif |
209 |
|
|
210 |
|
/* Define to `long' if <sys/types.h> doesn't define. */ |
211 |
|
#if MSDOS_COMPILER==BORLANDC |
332 |
|
|
333 |
|
/* Define if you have the <fcntl.h> header file. */ |
334 |
|
#define HAVE_FCNTL_H 1 |
335 |
+ |
|
336 |
+ |
/* Define HAVE_FLOAT if your compiler supports the "double" type. */ |
337 |
+ |
#define HAVE_FLOAT 1 |
338 |
|
|
339 |
|
/* Define if you have the <limits.h> header file. */ |
340 |
|
#define HAVE_LIMITS_H 1 |