summaryrefslogtreecommitdiff
path: root/pkg/less/defines.h
blob: 5dc06828fa5d4e067c87153375c7d246974b1d70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
#include <config-posix.h>

#define BINDIR "/bin"
#define SYSDIR "/etc"

#define	SECURE		SECURE_COMPILE
#define	SHELL_ESCAPE	(!SECURE)
#define	EXAMINE		(!SECURE)
#define	TAB_COMPLETE_FILENAME	(!SECURE)
#define	CMD_HISTORY	1
#define	HILITE_SEARCH	1
#define	EDITOR		(!SECURE)
#define	TAGS		(!SECURE)
#define	USERFILE	(!SECURE)
#define	GLOB		(!SECURE)
#define	PIPEC		(!SECURE)
#define	LOGFILE		(!SECURE)
#define	GNU_OPTIONS	1
#define	ONLY_RETURN	0
#define	LESSKEYFILE		".less"
#define	LESSKEYFILE_SYS		SYSDIR "/sysless"
#define	DEF_LESSKEYINFILE	".lesskey"
#define LESSHISTFILE		".lesshst"
#define	MSDOS_COMPILER	0
#define	PATHNAME_SEP	"/"
#define TGETENT_OK  1
/* #undef HAVE_SGSTAT_H */
#define	HAVE_PERROR	1
#define	HAVE_TIME	1
#define	HAVE_SHELL	1
#define	DEF_METACHARS	"; *?\t\n'\"()<>[]|&^`#\\$%=~"
#define	DEF_METAESCAPE	"\\"
#define	HAVE_DUP	1
#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 */
#define	OUTBUF_SIZE	1024	/* Output buffer */
#define	PROMPT_SIZE	200	/* 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	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
#define EDIT_PGM "vi"
#define HAVE_CONST 1
#define HAVE_FLOAT 1
/* #undef HAVE_GNU_REGEX */
#define HAVE_LOCALE 1
#define HAVE_MEMORY_H 1
#define HAVE_OSPEED 1
/* #undef HAVE_PCRE */
#define HAVE_POSIX_REGCOMP 1
/* #undef HAVE_REGCMP */
/* #undef HAVE_REGEXEC2 */
/* #undef HAVE_RE_COMP */
/* #undef HAVE_SIGSETMASK */
#define HAVE_SIGSET_T 1
#define HAVE_STAT_INO 1
#define HAVE_SYS_ERRLIST 1
#define HAVE_SYS_IOCTL_H 1
/* #undef HAVE_SYS_STREAM_H */
#define HAVE_TERMCAP_H 1
#define HAVE_TERMIOS_FUNCS 1
/* #undef HAVE_TERMIO_H */
#define HAVE_UPPER_LOWER 1
/* #undef HAVE_V8_REGCOMP */
#define HAVE_VALUES_H 1
#define HAVE_VOID 1
/* #undef MUST_DEFINE_ERRNO */
/* #undef MUST_DEFINE_OSPEED */
/* #undef NO_REGEX */
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME "less"
#define PACKAGE_STRING "less 1"
#define PACKAGE_TARNAME "less"
#define PACKAGE_URL ""
#define PACKAGE_VERSION "1"
#define SECURE_COMPILE 0
/* #undef STAT_MACROS_BROKEN */
#define TIME_WITH_SYS_TIME 1
#ifndef _DARWIN_USE_64_BIT_INODE
# define _DARWIN_USE_64_BIT_INODE 1
#endif
/* #undef _FILE_OFFSET_BITS */
/* #undef _LARGE_FILES */
/* #undef const */
/* #undef off_t */
/* #undef size_t */