home *** CD-ROM | disk | FTP | other *** search
/ rtsi.com / 2014.01.www.rtsi.com.tar / www.rtsi.com / OS9 / OSK / CMDS / less_332.lzh / less_332 / defines.h.in < prev    next >
Text File  |  1998-03-03  |  8KB  |  314 lines

  1. /* defines.h.in.  Generated automatically from configure.in by autoheader.  */
  2. /* Unix definition file for less.  -*- C -*-
  3.  *
  4.  * This file has 3 sections:
  5.  * User preferences.
  6.  * Settings always true on Unix.
  7.  * Settings automatically determined by configure.
  8.  *
  9.  * * * * * *  WARNING  * * * * * *
  10.  * If you edit defines.h by hand, do "touch stamp-h" before you run make
  11.  * so config.status doesn't overwrite your changes.
  12.  */
  13.  
  14. /* User preferences.  */
  15.  
  16. /*
  17.  * SECURE is 1 if you wish to disable a bunch of features in order to
  18.  * be safe to run by unprivileged users.
  19.  */
  20. #define    SECURE        0
  21.  
  22. /*
  23.  * SHELL_ESCAPE is 1 if you wish to allow shell escapes.
  24.  * (This is possible only if your system supplies the system() function.)
  25.  */
  26. #define    SHELL_ESCAPE    (!SECURE)
  27.  
  28. /*
  29.  * EXAMINE is 1 if you wish to allow examining files by name from within less.
  30.  */
  31. #define    EXAMINE        (!SECURE)
  32.  
  33. /*
  34.  * TAB_COMPLETE_FILENAME is 1 if you wish to allow the TAB key
  35.  * to complete filenames at prompts.
  36.  */
  37. #define    TAB_COMPLETE_FILENAME    (!SECURE)
  38.  
  39. /*
  40.  * CMD_HISTORY is 1 if you wish to allow keys to cycle through
  41.  * previous commands at prompts.
  42.  */
  43. #define    CMD_HISTORY    1
  44.  
  45. /*
  46.  * HILITE_SEARCH is 1 if you wish to have search targets to be 
  47.  * displayed in standout mode.
  48.  */
  49. #define    HILITE_SEARCH    1
  50.  
  51. /*
  52.  * EDITOR is 1 if you wish to allow editor invocation (the "v" command).
  53.  * (This is possible only if your system supplies the system() function.)
  54.  * EDIT_PGM is the name of the (default) editor to be invoked.
  55.  */
  56. #define    EDITOR        (!SECURE)
  57. #define    EDIT_PGM    "vi"
  58.  
  59. /*
  60.  * TAGS is 1 if you wish to support tag files.
  61.  */
  62. #define    TAGS        (!SECURE)
  63.  
  64. /*
  65.  * USERFILE is 1 if you wish to allow a .less file to specify 
  66.  * user-defined key bindings.
  67.  */
  68. #define    USERFILE    (!SECURE)
  69.  
  70. /*
  71.  * GLOB is 1 if you wish to have shell metacharacters expanded in filenames.
  72.  * This will generally work if your system provides the "popen" function
  73.  * and the "echo" shell command.
  74.  */
  75. #define    GLOB        (!SECURE)
  76.  
  77. /*
  78.  * PIPEC is 1 if you wish to have the "|" command
  79.  * which allows the user to pipe data into a shell command.
  80.  */
  81. #define    PIPEC        (!SECURE)
  82.  
  83. /*
  84.  * LOGFILE is 1 if you wish to allow the -l option (to create log files).
  85.  */
  86. #define    LOGFILE        (!SECURE)
  87.  
  88. /*
  89.  * GNU_OPTIONS is 1 if you wish to support the GNU-style command
  90.  * line options --help and --version.
  91.  */
  92. #define    GNU_OPTIONS    1
  93.  
  94. /*
  95.  * ONLY_RETURN is 1 if you want RETURN to be the only input which
  96.  * will continue past an error message.
  97.  * Otherwise, any key will continue past an error message.
  98.  */
  99. #define    ONLY_RETURN    0
  100.  
  101. /*
  102.  * LESSKEYFILE is the filename of the default lesskey output file 
  103.  * (in the HOME directory).
  104.  * DEF_LESSKEYINFILE is the filename of the default lesskey input 
  105.  * (in the HOME directory).
  106.  */
  107. #define    LESSKEYFILE        ".less"
  108. #define    DEF_LESSKEYINFILE    ".lesskey"
  109.  
  110.  
  111. /* Settings always true on Unix.  */
  112.  
  113. /*
  114.  * Define MSDOS_COMPILER if compiling under Microsoft C.
  115.  */
  116. #define    MSDOS_COMPILER    0
  117.  
  118. /*
  119.  * Pathname separator character.
  120.  */
  121. #define    PATHNAME_SEP    "/"
  122.  
  123. /*
  124.  * HAVE_SYS_TYPES_H is 1 if your system has <sys/types.h>.
  125.  */
  126. #define HAVE_SYS_TYPES_H    1
  127.  
  128. /*
  129.  * Define if you have the <sgstat.h> header file.
  130.  */
  131. #undef HAVE_SGSTAT_H
  132.  
  133. /*
  134.  * HAVE_PERROR is 1 if your system has the perror() call.
  135.  * (Actually, if it has sys_errlist, sys_nerr and errno.)
  136.  */
  137. #define    HAVE_PERROR    1
  138.  
  139. /*
  140.  * HAVE_TIME is 1 if your system has the time() call.
  141.  */
  142. #define    HAVE_TIME    1
  143.  
  144. /*
  145.  * HAVE_SHELL is 1 if your system supports a SHELL command interpreter.
  146.  */
  147. #define    HAVE_SHELL    1
  148.  
  149. /*
  150.  * Default shell metacharacters and meta-escape character.
  151.  */
  152. #define    DEF_METACHARS    "; \t\n'\"()<>|&^`\\"
  153. #define    DEF_METAESCAPE    "\\"
  154.  
  155. /* 
  156.  * HAVE_DUP is 1 if your system has the dup() call.
  157.  */
  158. #define    HAVE_DUP    1
  159.  
  160. /*
  161.  * Sizes of various buffers.
  162.  */
  163. #define    CMDBUF_SIZE    512    /* Buffer for multichar commands */
  164. #define    UNGOT_SIZE    100    /* Max chars to unget() */
  165. #define    LINEBUF_SIZE    1024    /* Max size of line in input file */
  166. #define    OUTBUF_SIZE    1024    /* Output buffer */
  167. #define    PROMPT_SIZE    200    /* Max size of prompt string */
  168. #define    TERMBUF_SIZE    2048    /* Termcap buffer for tgetent */
  169. #define    TERMSBUF_SIZE    1024    /* Buffer to hold termcap strings */
  170. #define    TAGLINE_SIZE    512    /* Max size of line in tags file */
  171.  
  172. /* Settings automatically determined by configure.  */
  173.  
  174. /* Define to `long' if <sys/types.h> doesn't define.  */
  175. #undef off_t
  176.  
  177. /* Define if you need to in order for stat and other things to work.  */
  178. #undef _POSIX_SOURCE
  179.  
  180. /* Define as the return type of signal handlers (int or void).  */
  181. #undef RETSIGTYPE
  182.  
  183. /* Define if you have the ANSI C header files.  */
  184. #undef STDC_HEADERS
  185.  
  186. /*
  187.  * Regular expression library.
  188.  * Define exactly one of the following to be 1:
  189.  * HAVE_POSIX_REGCOMP: POSIX regcomp() and regex.h
  190.  * HAVE_RE_COMP: BSD re_comp()
  191.  * HAVE_REGCMP: System V regcmp()
  192.  * HAVE_V8_REGCOMP: Henry Spencer V8 regcomp() and regexp.h
  193.  * NO_REGEX: pattern matching is supported, but without metacharacters.
  194.  */
  195. #undef HAVE_POSIX_REGCOMP
  196. #undef HAVE_RE_COMP
  197. #undef HAVE_REGCMP
  198. #undef HAVE_V8_REGCOMP
  199. #undef NO_REGEX
  200.  
  201. /* Define HAVE_VOID if your compiler supports the "void" type. */
  202. #undef HAVE_VOID
  203.  
  204. /* Define HAVE_CONST if your compiler supports the "const" modifier. */
  205. #undef HAVE_CONST
  206.  
  207. /* Define HAVE_TIME_T if your system supports the "time_t" type. */
  208. #undef HAVE_TIME_T
  209.  
  210. /* Define HAVE_STRERROR if you have the strerror() function. */
  211. #undef HAVE_STRERROR
  212.  
  213. /* Define HAVE_FILENO if you have the fileno() macro. */
  214. #undef HAVE_FILENO
  215.  
  216. /* Define HAVE_ERRNO if you have the errno variable */
  217. /* Define MUST_DEFINE_ERRNO if you have errno but it is not define 
  218.  * in errno.h */
  219. #undef HAVE_ERRNO
  220. #undef MUST_DEFINE_ERRNO
  221.  
  222. /* Define HAVE_SYS_ERRLIST if you have the sys_errlist[] variable */
  223. #undef HAVE_SYS_ERRLIST
  224.  
  225. /* Define HAVE_OSPEED if your termcap library has the ospeed variable */
  226. /* Define MUST_DEFINE_OSPEED if you have ospeed but it is not defined
  227.  * in termcap.h. */
  228. #undef HAVE_OSPEED
  229. #undef MUST_DEFINE_OSPEED
  230.  
  231. /* Define HAVE_LOCALE if you have locale.h and setlocale. */
  232. #undef HAVE_LOCALE
  233.  
  234. /* Define HAVE_TERMIOS_FUNCS if you have tcgetattr/tcsetattr */
  235. #undef HAVE_TERMIOS_FUNCS
  236.  
  237. /* Define HAVE_UPPER_LOWER if you have isupper, islower, toupper, tolower */
  238. #undef HAVE_UPPER_LOWER
  239.  
  240. /* Define if you have the _setjmp function.  */
  241. #undef HAVE__SETJMP
  242.  
  243. /* Define if you have the memcpy function.  */
  244. #undef HAVE_MEMCPY
  245.  
  246. /* Define if you have the popen function.  */
  247. #undef HAVE_POPEN
  248.  
  249. /* Define if you have the sigsetmask function.  */
  250. #undef HAVE_SIGSETMASK
  251.  
  252. /* Define if you have the stat function.  */
  253. #undef HAVE_STAT
  254.  
  255. /* Define if you have the strchr function.  */
  256. #undef HAVE_STRCHR
  257.  
  258. /* Define if you have the system function.  */
  259. #undef HAVE_SYSTEM
  260.  
  261. /* Define if you have the <ctype.h> header file.  */
  262. #undef HAVE_CTYPE_H
  263.  
  264. /* Define if you have the <errno.h> header file.  */
  265. #undef HAVE_ERRNO_H
  266.  
  267. /* Define if you have the <fcntl.h> header file.  */
  268. #undef HAVE_FCNTL_H
  269.  
  270. /* Define if you have the <limits.h> header file.  */
  271. #undef HAVE_LIMITS_H
  272.  
  273. /* Define if you have the <stdio.h> header file.  */
  274. #undef HAVE_STDIO_H
  275.  
  276. /* Define if you have the <string.h> header file.  */
  277. #undef HAVE_STRING_H
  278.  
  279. /* Define if you have the <sys/ioctl.h> header file.  */
  280. #undef HAVE_SYS_IOCTL_H
  281.  
  282. /* Define if you have the <sys/ptem.h> header file.  */
  283. #undef HAVE_SYS_PTEM_H
  284.  
  285. /* Define if you have the <sys/stream.h> header file.  */
  286. #undef HAVE_SYS_STREAM_H
  287.  
  288. /* Define if you have the <termcap.h> header file.  */
  289. #undef HAVE_TERMCAP_H
  290.  
  291. /* Define if you have the <termio.h> header file.  */
  292. #undef HAVE_TERMIO_H
  293.  
  294. /* Define if you have the <termios.h> header file.  */
  295. #undef HAVE_TERMIOS_H
  296.  
  297. /* Define if you have the <time.h> header file.  */
  298. #undef HAVE_TIME_H
  299.  
  300. /* Define if you have the <unistd.h> header file.  */
  301. #undef HAVE_UNISTD_H
  302.  
  303. /* Define if you have the <values.h> header file.  */
  304. #undef HAVE_VALUES_H
  305.  
  306. /* Define if you have the PW library (-lPW).  */
  307. #undef HAVE_LIBPW
  308.  
  309. /* Define if you have the gen library (-lgen).  */
  310. #undef HAVE_LIBGEN
  311.  
  312. /* Define if you have the intl library (-lintl).  */
  313. #undef HAVE_LIBINTL
  314.