1 /* Definition file for less */
2 /* Generated Sun Aug 16 09:47:26 PDT 1992 by linstall. */
5 * Define XENIX if running under XENIX 3.0.
10 * VOID is 1 if your C compiler supports the "void" type,
16 * VOID_POINTER is the definition of a pointer to any object.
18 #define VOID_POINTER void *
21 * offset_t is the type which lseek() returns.
22 * It is also the type of lseek()'s second argument.
27 * STAT is 1 if your system has the stat() call.
32 * PERROR is 1 if your system has the perror() call.
33 * (Actually, if it has sys_errlist, sys_nerr and errno.)
38 * GET_TIME is 1 if your system has the time() call.
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.
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.
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.
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.
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.
81 * SHELL_ESCAPE is 1 if you wish to allow shell escapes.
82 * (This is possible only if your system supplies the system() function.)
84 #define SHELL_ESCAPE 1
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.
95 * TAGS is 1 if you wish to support tag files.
100 * USERFILE is 1 if you wish to allow a .less file to specify
101 * user-defined key bindings.
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.
113 * PIPEC is 1 if you wish to have the "|" command
114 * which allows the user to pipe data into a shell command.
119 * LOGFILE is 1 if you wish to allow the -l option (to create log files).
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.
128 #define ONLY_RETURN 0
131 * HELPFILE is the full pathname of the help file.
133 #define HELPFILE "/usr/local/bin/less.hlp"