summaryrefslogtreecommitdiff
path: root/pkg/less/defines.h
blob: a9d5d8558ac35a0a80cb035ecb86de624427acf4 (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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
#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 && HAVE_POPEN)
#define	LOGFILE		(!SECURE)
#define	GNU_OPTIONS	1
#define	ONLY_RETURN	0
#define	LESSKEYFILE		".less"
#define	LESSKEYFILE_SYS		SYSDIR "/sysless"
#define	DEF_LESSKEYINFILE	".lesskey"
#define	LESSKEYINFILE_SYS	SYSDIR "/syslesskey"
#define LESSHISTFILE		".lesshst"
#define	MSDOS_COMPILER	0
#define	PATHNAME_SEP	"/"
#define TGETENT_OK  1
#define HAVE_ANSI_PROTOS 1
#define HAVE_SYS_TYPES_H 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
#define HAVE_MEMCPY 1
#define HAVE_STRCHR 1
#define HAVE_STRSTR 1
#define HAVE_LESSKEYSRC 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 RETSIGTYPE void
#define EDIT_PGM "vi"
#define HAVE_CONST 1
#define HAVE_CTYPE_H 1
#define HAVE_ERRNO 1
#define HAVE_ERRNO_H 1
#define HAVE_FCHMOD 1
#define HAVE_FCNTL_H 1
#define HAVE_FILENO 1
#define HAVE_FSYNC 1
/* #undef HAVE_GNU_REGEX */
#define HAVE_INTTYPES_H 1
#define HAVE_LIMITS_H 1
/* #undef HAVE_LINUX_MAGIC_H */
#define HAVE_LOCALE 1
#define HAVE_NANOSLEEP 1
/* #undef HAVE_NCURSESW_TERMCAP_H */
/* #undef HAVE_NCURSES_TERMCAP_H */
#define HAVE_OSPEED 1
/* #undef HAVE_PCRE */
/* #undef HAVE_PCRE2 */
#define HAVE_POLL 1
#define HAVE_POPEN 1
#define HAVE_POSIX_REGCOMP 1
/* #undef HAVE_PROCFS */
#define HAVE_REALPATH 1
/* #undef HAVE_REGCMP */
/* #undef HAVE_REGEXEC2 */
/* #undef HAVE_RE_COMP */
#define HAVE_SIGEMPTYSET 1
#define HAVE_SIGPROCMASK 1
/* #undef HAVE_SIGSETMASK */
#define HAVE_SIGSET_T 1
#define HAVE_SNPRINTF 1
#define HAVE_STAT 1
#define HAVE_STAT_INO 1
/* #undef HAVE_STDCKDINT_H */
#define HAVE_STDINT_H 1
#define HAVE_STDIO_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRERROR 1
#define HAVE_STRINGS_H 1
#define HAVE_STRING_H 1
#define HAVE_STRSIGNAL 1
#define HAVE_SYSTEM 1
#define HAVE_SYS_ERRLIST 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_STAT_H 1
/* #undef HAVE_SYS_STREAM_H */
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_TERMCAP_H 1
#define HAVE_TERMIOS_FUNCS 1
#define HAVE_TERMIOS_H 1
/* #undef HAVE_TERMIO_H */
#define HAVE_TIME_H 1
#define HAVE_TIME_T 1
#define HAVE_TTYNAME 1
#define HAVE_UNISTD_H 1
#define HAVE_UPPER_LOWER 1
#define HAVE_USLEEP 1
/* #undef HAVE_V8_REGCOMP */
#define HAVE_VALUES_H 1
#define HAVE_VOID 1
#define HAVE_WCTYPE 1
#define HAVE_WCTYPE_H 1
#define HAVE__SETJMP 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 STDC_HEADERS 1
/* #undef _FILE_OFFSET_BITS */
/* #undef _LARGE_FILES */
/* #undef const */
/* #undef off_t */
/* #undef size_t */