]> diplodocus.org Git - nmh/blob - docs/historical/mh-6.8.5/miscellany/less-177/defines.h
ap: Fix write past end of addrs[] array.
[nmh] / docs / historical / mh-6.8.5 / miscellany / less-177 / defines.h
1 /* Definition file for less */
2 /* Generated Sun Aug 16 09:47:26 PDT 1992 by linstall. */
3
4 /*
5 * Define XENIX if running under XENIX 3.0.
6 */
7 #define XENIX 0
8
9 /*
10 * VOID is 1 if your C compiler supports the "void" type,
11 * 0 if it does not.
12 */
13 #define VOID 1
14
15 /*
16 * VOID_POINTER is the definition of a pointer to any object.
17 */
18 #define VOID_POINTER void *
19
20 /*
21 * offset_t is the type which lseek() returns.
22 * It is also the type of lseek()'s second argument.
23 */
24 #define offset_t long
25
26 /*
27 * STAT is 1 if your system has the stat() call.
28 */
29 #define STAT 1
30
31 /*
32 * PERROR is 1 if your system has the perror() call.
33 * (Actually, if it has sys_errlist, sys_nerr and errno.)
34 */
35 #define PERROR 1
36
37 /*
38 * GET_TIME is 1 if your system has the time() call.
39 */
40 #define GET_TIME 1
41
42 /*
43 * TERMIO is 1 if your system has /usr/include/termio.h.
44 * This is normally the case for System 5.
45 * If TERMIO is 0 your system must have /usr/include/sgtty.h.
46 * This is normally the case for BSD.
47 */
48 #define TERMIO 0
49
50 /*
51 * HAS__SETJMP is 1 if your system has the _setjmp() call.
52 * This is normally the case only for BSD 4.2 and up,
53 * not for BSD 4.1 or System 5.
54 */
55 #define HAS__SETJMP 1
56
57 /*
58 * SIGSETMASK is 1 if your system has the sigsetmask() call.
59 * This is normally the case only for BSD 4.2,
60 * not for BSD 4.1 or System 5.
61 */
62 #define SIGSETMASK 1
63
64 /*
65 * NEED_PTEM_H is 1 if your system needs sys/ptem.h to declare struct winsize.
66 * This is normally the case only for SCOs System V.
67 */
68 #define NEED_PTEM_H 0
69
70 /*
71 * REGCMP is 1 if your system has the regcmp() function.
72 * This is normally the case for System 5.
73 * RECOMP is 1 if your system has the re_comp() function.
74 * This is normally the case for BSD.
75 * If neither is 1, pattern matching is supported, but without metacharacters.
76 */
77 #define REGCMP 0
78 #define RECOMP 1
79
80 /*
81 * SHELL_ESCAPE is 1 if you wish to allow shell escapes.
82 * (This is possible only if your system supplies the system() function.)
83 */
84 #define SHELL_ESCAPE 1
85
86 /*
87 * EDITOR is 1 if you wish to allow editor invocation (the "v" command).
88 * (This is possible only if your system supplies the system() function.)
89 * EDIT_PGM is the name of the (default) editor to be invoked.
90 */
91 #define EDITOR 1
92 #define EDIT_PGM "vi"
93
94 /*
95 * TAGS is 1 if you wish to support tag files.
96 */
97 #define TAGS 1
98
99 /*
100 * USERFILE is 1 if you wish to allow a .less file to specify
101 * user-defined key bindings.
102 */
103 #define USERFILE 1
104
105 /*
106 * GLOB is 1 if you wish to have shell metacharacters expanded in filenames.
107 * This will generally work if your system provides the "popen" function
108 * and the "echo" shell command.
109 */
110 #define GLOB 1
111
112 /*
113 * PIPEC is 1 if you wish to have the "|" command
114 * which allows the user to pipe data into a shell command.
115 */
116 #define PIPEC 1
117
118 /*
119 * LOGFILE is 1 if you wish to allow the -l option (to create log files).
120 */
121 #define LOGFILE 1
122
123 /*
124 * ONLY_RETURN is 1 if you want RETURN to be the only input which
125 * will continue past an error message.
126 * Otherwise, any key will continue past an error message.
127 */
128 #define ONLY_RETURN 0
129
130 /*
131 * HELPFILE is the full pathname of the help file.
132 */
133 #define HELPFILE "/usr/local/bin/less.hlp"
134