version 1.1.1.1, 2011/09/16 17:47:04 |
version 1.1.1.2, 2014/04/25 13:33:46 |
|
|
/* |
/* |
* Copyright (C) 1984-2011 Mark Nudelman |
* Copyright (C) 1984-2012 Mark Nudelman |
* |
* |
* You may distribute under the terms of either the GNU General Public |
* You may distribute under the terms of either the GNU General Public |
* License or the Less License, as specified in the README file. |
* License or the Less License, as specified in the README file. |
* |
* |
* For more information about less, or for information on how to |
* For more information, see the README file. |
* contact the author, see the README file. |
|
*/ |
*/ |
|
|
|
|
|
|
/* |
/* |
* Sizes of various buffers. |
* Sizes of various buffers. |
*/ |
*/ |
|
#if 0 /* old sizes for small memory machines |
#define CMDBUF_SIZE 512 /* Buffer for multichar commands */ |
#define CMDBUF_SIZE 512 /* Buffer for multichar commands */ |
#define UNGOT_SIZE 100 /* Max chars to unget() */ |
#define UNGOT_SIZE 100 /* Max chars to unget() */ |
#define LINEBUF_SIZE 1024 /* Max size of line in input file */ |
#define LINEBUF_SIZE 1024 /* Max size of line in input file */ |
|
|
#define TERMSBUF_SIZE 1024 /* Buffer to hold termcap strings */ |
#define TERMSBUF_SIZE 1024 /* Buffer to hold termcap strings */ |
#define TAGLINE_SIZE 512 /* Max size of line in tags file */ |
#define TAGLINE_SIZE 512 /* Max size of line in tags file */ |
#define TABSTOP_MAX 32 /* Max number of custom tab stops */ |
#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 |
|
|
/* Define to `long' if <sys/types.h> doesn't define. */ |
/* Define to `long' if <sys/types.h> doesn't define. */ |
/* #define off_t long */ |
/* #define off_t long */ |