home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / c / library / os2 / less / defines.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-06-27  |  3.1 KB  |  129 lines

  1. /* Definition file for less */
  2. /* Generated Thu Jun 27 14:10:12 MET DST 1991 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. #if VOID
  15. #define    VOID_POINTER    void *
  16. #else
  17. #define    VOID_POINTER    char *
  18. #endif
  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        1
  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    0
  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    0
  63.  
  64. /*
  65.  * REGCMP is 1 if your system has the regcmp() function.
  66.  * This is normally the case for System 5.
  67.  * RECOMP is 1 if your system has the re_comp() function.
  68.  * This is normally the case for BSD.
  69.  * If neither is 1, pattern matching is supported, but without metacharacters.
  70.  */
  71. #define    REGCMP          0
  72. #define    RECOMP          0
  73. #define    REGCOMP         1
  74.  
  75. /*
  76.  * SHELL_ESCAPE is 1 if you wish to allow shell escapes.
  77.  * (This is possible only if your system supplies the system() function.)
  78.  */
  79. #define    SHELL_ESCAPE    1
  80.  
  81. /*
  82.  * EDITOR is 1 if you wish to allow editor invocation (the "v" command).
  83.  * (This is possible only if your system supplies the system() function.)
  84.  * EDIT_PGM is the name of the (default) editor to be invoked.
  85.  */
  86. #define    EDITOR        1
  87. #define    EDIT_PGM    "e"
  88.  
  89. /*
  90.  * TAGS is 1 if you wish to support tag files.
  91.  */
  92. #define    TAGS        1
  93.  
  94. /*
  95.  * USERFILE is 1 if you wish to allow a .less file to specify
  96.  * user-defined key bindings.
  97.  */
  98. #define    USERFILE    1
  99.  
  100. /*
  101.  * GLOB is 1 if you wish to have shell metacharacters expanded in filenames.
  102.  * This will generally work if your system provides the "popen" function
  103.  * and the "echo" shell command.
  104.  */
  105. #define    GLOB        1
  106.  
  107. /*
  108.  * PIPEC is 1 if you wish to have the "|" command
  109.  * which allows the user to pipe data into a shell command.
  110.  */
  111. #define    PIPEC        1
  112.  
  113. /*
  114.  * LOGFILE is 1 if you wish to allow the -l option (to create log files).
  115.  */
  116. #define    LOGFILE        1
  117.  
  118. /*
  119.  * ONLY_RETURN is 1 if you want RETURN to be the only input which
  120.  * will continue past an error message.
  121.  * Otherwise, any key will continue past an error message.
  122.  */
  123. #define    ONLY_RETURN    0
  124.  
  125. /*
  126.  * HELPFILE is the full pathname of the help file.
  127.  */
  128. #define    HELPFILE    "less.hlp"
  129.