linux-qubasis
linux oasis port as a qubes template
git clone https://9o.is/git/linux-qubasis.git
defines.h
(4310B)
1 #define SYSDIR "/etc"
2
3 #define SECURE SECURE_COMPILE
4 #define SHELL_ESCAPE (!SECURE)
5 #define EXAMINE (!SECURE)
6 #define TAB_COMPLETE_FILENAME (!SECURE)
7 #define CMD_HISTORY 1
8 #define HILITE_SEARCH 1
9 #define EDITOR (!SECURE)
10 #define TAGS (!SECURE)
11 #define USERFILE (!SECURE)
12 #define GLOB (!SECURE)
13 #define PIPEC (!SECURE && HAVE_POPEN)
14 #define LOGFILE (!SECURE)
15 #define GNU_OPTIONS 1
16 #define ONLY_RETURN 0
17 #define LESSKEYFILE ".less"
18 #define LESSKEYFILE_SYS SYSDIR "/sysless"
19 #define DEF_LESSKEYINFILE ".lesskey"
20 #define LESSKEYINFILE_SYS SYSDIR "/syslesskey"
21 #define LESSHISTFILE ".lesshst"
22 #define MSDOS_COMPILER 0
23 #define PATHNAME_SEP "/"
24 #define TGETENT_OK 1
25 #define HAVE_ANSI_PROTOS 1
26 #define HAVE_SYS_TYPES_H 1
27 /* #undef HAVE_SGSTAT_H */
28 #define HAVE_PERROR 1
29 #define HAVE_TIME 1
30 #define HAVE_SHELL 1
31 #define DEF_METACHARS "; *?\t\n'\"()<>[]|&^`#\\$%=~{},"
32 #define DEF_METAESCAPE "\\"
33 #define HAVE_DUP 1
34 #define HAVE_MEMCPY 1
35 #define HAVE_STRCHR 1
36 #define HAVE_STRSTR 1
37 #define HAVE_LESSKEYSRC 1
38 #if 0 /* old sizes for small memory machines */
39 #define CMDBUF_SIZE 512 /* Buffer for multichar commands */
40 #define UNGOT_SIZE 100 /* Max chars to unget() */
41 #define LINEBUF_SIZE 1024 /* Max size of line in input file */
42 #define OUTBUF_SIZE 1024 /* Output buffer */
43 #define PROMPT_SIZE 200 /* Max size of prompt string */
44 #define TERMBUF_SIZE 2048 /* Termcap buffer for tgetent */
45 #define TERMSBUF_SIZE 1024 /* Buffer to hold termcap strings */
46 #define TAGLINE_SIZE 512 /* Max size of line in tags file */
47 #define TABSTOP_MAX 32 /* Max number of custom tab stops */
48 #else /* more reasonable sizes for modern machines */
49 #define CMDBUF_SIZE 2048 /* Buffer for multichar commands */
50 #define UNGOT_SIZE 200 /* Max chars to unget() */
51 #define LINEBUF_SIZE 1024 /* Initial max size of line in input file */
52 #define OUTBUF_SIZE 1024 /* Output buffer */
53 #define PROMPT_SIZE 2048 /* Max size of prompt string */
54 #define TERMBUF_SIZE 2048 /* Termcap buffer for tgetent */
55 #define TERMSBUF_SIZE 1024 /* Buffer to hold termcap strings */
56 #define TAGLINE_SIZE 1024 /* Max size of line in tags file */
57 #define TABSTOP_MAX 128 /* Max number of custom tab stops */
58 #endif
59 #define RETSIGTYPE void
60 #define EDIT_PGM "vi"
61 #define HAVE_CONST 1
62 #define HAVE_CTYPE_H 1
63 #define HAVE_ERRNO 1
64 #define HAVE_ERRNO_H 1
65 #define HAVE_FCHMOD 1
66 #define HAVE_FCNTL_H 1
67 #define HAVE_FILENO 1
68 #define HAVE_FSYNC 1
69 /* #undef HAVE_GNU_REGEX */
70 #define HAVE_INTTYPES_H 1
71 #define HAVE_LIMITS_H 1
72 /* #undef HAVE_LINUX_MAGIC_H */
73 #define HAVE_LOCALE 1
74 #define HAVE_NANOSLEEP 1
75 /* #undef HAVE_NCURSESW_TERMCAP_H */
76 /* #undef HAVE_NCURSES_TERMCAP_H */
77 #define HAVE_OSPEED 1
78 /* #undef HAVE_PCRE */
79 /* #undef HAVE_PCRE2 */
80 #define HAVE_POLL 1
81 #define HAVE_POPEN 1
82 #define HAVE_POSIX_REGCOMP 1
83 /* #undef HAVE_PROCFS */
84 #define HAVE_REALPATH 1
85 /* #undef HAVE_REGCMP */
86 /* #undef HAVE_REGEXEC2 */
87 /* #undef HAVE_RE_COMP */
88 #define HAVE_SIGEMPTYSET 1
89 #define HAVE_SIGPROCMASK 1
90 /* #undef HAVE_SIGSETMASK */
91 #define HAVE_SIGSET_T 1
92 #define HAVE_SNPRINTF 1
93 #define HAVE_STAT 1
94 #define HAVE_STAT_INO 1
95 /* #undef HAVE_STDCKDINT_H */
96 #define HAVE_STDINT_H 1
97 #define HAVE_STDIO_H 1
98 #define HAVE_STDLIB_H 1
99 #define HAVE_STRERROR 1
100 #define HAVE_STRINGS_H 1
101 #define HAVE_STRING_H 1
102 #define HAVE_STRSIGNAL 1
103 #define HAVE_SYSTEM 1
104 #define HAVE_SYS_ERRLIST 1
105 #define HAVE_SYS_IOCTL_H 1
106 #define HAVE_SYS_STAT_H 1
107 /* #undef HAVE_SYS_STREAM_H */
108 #define HAVE_SYS_TYPES_H 1
109 #define HAVE_SYS_WAIT_H 1
110 #define HAVE_TERMCAP_H 1
111 #define HAVE_TERMIOS_FUNCS 1
112 #define HAVE_TERMIOS_H 1
113 /* #undef HAVE_TERMIO_H */
114 #define HAVE_TIME_H 1
115 #define HAVE_TIME_T 1
116 #define HAVE_TTYNAME 1
117 #define HAVE_UNISTD_H 1
118 #define HAVE_UPPER_LOWER 1
119 #define HAVE_USLEEP 1
120 /* #undef HAVE_V8_REGCOMP */
121 #define HAVE_VALUES_H 1
122 #define HAVE_VOID 1
123 #define HAVE_WCTYPE 1
124 #define HAVE_WCTYPE_H 1
125 #define HAVE__SETJMP 1
126 /* #undef MUST_DEFINE_ERRNO */
127 /* #undef MUST_DEFINE_OSPEED */
128 /* #undef NO_REGEX */
129 #define PACKAGE_BUGREPORT ""
130 #define PACKAGE_NAME "less"
131 #define PACKAGE_STRING "less 1"
132 #define PACKAGE_TARNAME "less"
133 #define PACKAGE_URL ""
134 #define PACKAGE_VERSION "1"
135 #define SECURE_COMPILE 0
136 /* #undef STAT_MACROS_BROKEN */
137 #define STDC_HEADERS 1
138 /* #undef _FILE_OFFSET_BITS */
139 /* #undef _LARGE_FILES */
140 /* #undef const */
141 /* #undef off_t */
142 /* #undef size_t */
143 #define LINENUM_POOL 1024
144