home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / MISC / GNU / LES177AS.ZIP / DEFINES.H < prev    next >
Encoding:
C/C++ Source or Header  |  1991-09-12  |  3.2 KB  |  142 lines

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