home *** CD-ROM | disk | FTP | other *** search
/ The Pier Shareware 6 / The_Pier_Shareware_Number_6_(The_Pier_Exchange)_(1995).iso / 036 / less232.zip / DEFINES.OS2 < prev    next >
Text File  |  1994-09-24  |  5KB  |  198 lines

  1. /* OS/2 definition file for less.  */
  2. /*
  3.  * This file has 2 sections:
  4.  * User preferences.
  5.  * Settings always true for the emx compiler for OS/2 systems. 
  6.  */
  7.  
  8. #define OS2 1
  9.  
  10. /* User preferences.  */
  11.  
  12. /*
  13.  * SHELL_ESCAPE is 1 if you wish to allow shell escapes.
  14.  * (This is possible only if your system supplies the system() function.)
  15.  */
  16. #define    SHELL_ESCAPE    1
  17.  
  18. /*
  19.  * TAB_COMPLETE_FILENAME is 1 if you wish to allow the TAB key
  20.  * to complete filenames at prompts.
  21.  */
  22. #define    TAB_COMPLETE_FILENAME    1
  23.  
  24. /*
  25.  * CMD_HISTORY is 1 if you wish to allow keys to cycle through
  26.  * previous commands at prompts.
  27.  */
  28. #define    CMD_HISTORY    1
  29.  
  30. /*
  31.  * HILITE_SEARCH is 1 if you wish to have search targets to be 
  32.  * displayed in standout mode.
  33.  */
  34. #define    HILITE_SEARCH    1
  35.  
  36. /*
  37.  * EDITOR is 1 if you wish to allow editor invocation (the "v" command).
  38.  * (This is possible only if your system supplies the system() function.)
  39.  * EDIT_PGM is the name of the (default) editor to be invoked.
  40.  */
  41. #define    EDITOR        1
  42. #define    EDIT_PGM    "me"
  43.  
  44. /*
  45.  * TAGS is 1 if you wish to support tag files.
  46.  */
  47. #define    TAGS        1
  48.  
  49. /*
  50.  * USERFILE is 1 if you wish to allow a .less file to specify 
  51.  * user-defined key bindings.
  52.  */
  53. #define    USERFILE    1
  54.  
  55. /*
  56.  * GLOB is 1 if you wish to have shell metacharacters expanded in filenames.
  57.  * This will generally work if your system provides the "popen" function
  58.  * and the "echo" shell command.
  59.  */
  60. #define    GLOB        1
  61.  
  62. /*
  63.  * PIPEC is 1 if you wish to have the "|" command
  64.  * which allows the user to pipe data into a shell command.
  65.  */
  66. #define    PIPEC        1
  67.  
  68. /*
  69.  * LOGFILE is 1 if you wish to allow the -l option (to create log files).
  70.  */
  71. #define    LOGFILE        1
  72.  
  73. /*
  74.  * ONLY_RETURN is 1 if you want RETURN to be the only input which
  75.  * will continue past an error message.
  76.  * Otherwise, any key will continue past an error message.
  77.  */
  78. #define    ONLY_RETURN    0
  79.  
  80. /*
  81.  * LESSKEYFILE is the filename of the default lesskey file 
  82.  * (in the HOME directory).
  83.  */
  84. #define    LESSKEYFILE    "less.ini"
  85.  
  86. /*
  87.  * HELPFILE is the full pathname of the help file.
  88.  */
  89. #define    HELPFILE    "less.hlp"
  90.  
  91. /* Settings always true for the emx compiler for OS/2 systems.  */
  92.  
  93. #define HAVE_STDIO_H    1
  94.  
  95. /*
  96.  * HAVE_SYS_TYPES_H is 1 if your system has <sys/types.h>.
  97.  */
  98. #define HAVE_SYS_TYPES_H    1
  99.  
  100. /*
  101.  * HAVE_STAT is 1 if your system has the stat() call.
  102.  */
  103. #define    HAVE_STAT        1
  104.  
  105. /*
  106.  * HAVE_PERROR is 1 if your system has the perror() call.
  107.  * (Actually, if it has sys_errlist, sys_nerr and errno.)
  108.  */
  109. #define    HAVE_PERROR        1
  110.  
  111. /*
  112.  * HAVE_TIME is 1 if your system has the time() call.
  113.  */
  114. #define    HAVE_TIME    1
  115.  
  116. /*
  117.  * HAVE_SHELL is 1 if your system supports a SHELL command interpreter.
  118.  */
  119. #define    HAVE_SHELL    0
  120.  
  121. /* Define to `long' if <sys/types.h> doesn't define.  */
  122. /* #define    off_t    long */
  123.  
  124. /* Define as the return type of signal handlers (int or void).  */
  125. #define RETSIGTYPE    void
  126.  
  127. /* Define if you have the ANSI C header files.  */
  128. #define STDC_HEADERS    1
  129.  
  130. /*
  131.  * Regular expression library.
  132.  * Define exactly one of the following to be 1:
  133.  * HAVE_POSIX_REGCOMP: POSIX regcomp() and regex.h
  134.  * HAVE_RE_COMP: BSD re_comp()
  135.  * HAVE_REGCMP: System V regcmp()
  136.  * HAVE_V8_REGCOMP: Henry Spencer V8 regcomp() and regexp.h
  137.  * NO_REGEX: pattern matching is supported, but without metacharacters.
  138.  */
  139. /* #undef HAVE_POSIX_REGCOMP */
  140. /* #undef HAVE_RE_COMP */
  141. /* #undef HAVE_REGCMP */
  142. #define HAVE_V8_REGCOMP 1
  143. /* #undef NO_REGEX */
  144.  
  145. /* Define HAVE_VOID if your compiler supports the "void" type. */
  146. #define HAVE_VOID 1
  147.  
  148. /* Define HAVE_STRERROR if you have the strerror() function. */
  149. #define HAVE_STRERROR 1
  150.  
  151. /* Define HAVE_ERRNO if you have the errno variable */
  152. #define HAVE_ERRNO 1
  153.  
  154. /* Define HAVE_SYS_ERRLIST if you have the sys_errlist[] variable */
  155. #define HAVE_SYS_ERRLIST 1
  156.  
  157. /* Define HAVE_LOCALE you have locale.h and setlocale. */
  158. #define HAVE_LOCALE 0
  159.  
  160. /* Define HAVE_TERMIOS_FUNCS if you have tcgetattr/tcsetattr */
  161. #define HAVE_TERMIOS_FUNCS 0
  162.  
  163. /* Define if you have _setjmp.  */
  164. #define HAVE__SETJMP    0
  165.  
  166. /* Define if you have memcpy.  */
  167. #define HAVE_MEMCPY 1
  168.  
  169. /* Define if you have sigsetmask.  */
  170. #define HAVE_SIGSETMASK    0
  171.  
  172. /* Define if you have system.  */
  173. #define HAVE_SYSTEM    1
  174.  
  175. /* Define if you have the <fcntl.h> header file.  */
  176. #define HAVE_FCNTL_H 1
  177.  
  178. /* Define if you have the <sys/ptem.h> header file.  */
  179. #define HAVE_SYS_PTEM_H    0
  180.  
  181. /* Define if you have the <sys/stream.h> header file.  */
  182. #define HAVE_SYS_STREAM_H    0
  183.  
  184. /* Define if you have the <termcap.h> header file.  */
  185. #define HAVE_TERMCAP_H 1
  186.  
  187. /* Define if you have the <termio.h> header file.  */
  188. #define HAVE_TERMIO_H    0
  189.  
  190. /* Define if you have the <termios.h> header file.  */
  191. #define HAVE_TERMIOS_H 0
  192.  
  193. /* Define if you have the <time.h> header file.  */
  194. #define HAVE_TIME_H 1
  195.  
  196. /* Define if you have the <unistd.h> header file.  */
  197. #define HAVE_UNISTD_H 1
  198.