home *** CD-ROM | disk | FTP | other *** search
/ Dream 52 / Amiga_Dream_52.iso / Linux / Divers / lynx2.8.1dev.10.tar.gz / lynx2.8.1dev.10.tar / lynx2-8 / docs / README.defines < prev    next >
Text File  |  1998-02-05  |  5KB  |  114 lines

  1. This file lists preprocessor macros (symbols) which are tested in the
  2. code (typically with ifdef).
  3.  
  4. Does not include
  5. - symbols defined and documented in userdefs.h
  6. - symbols expected to be set by compiler to indicate system type or
  7.   compiler features
  8. - some symbols set and used only in connection with the ./configure
  9.   mechanism - the full and current list can be found in config.hin
  10.   (as a template) or, after running ./configure, in lynx_cfg.h.
  11. - symbols and macros defined in the source code
  12.  
  13. ***Not complete.***
  14.  
  15. A. Symbols primarily to enable compilation on specific systems
  16. ==============================================================
  17. See also under B for things needed by some systems.
  18.  
  19. # if you have an SVR4 system with the "type any key" problem, try defining
  20. #
  21. # -DSVR4_BSDSELECT
  22.  
  23. # Old Data General systems may need this in their SITE_LYDEFS
  24. # for their inet_addr(host) calls.
  25. #
  26. # -DDGUX_OLD
  27.  
  28. ---
  29. Ports have been added for Win32 (95/NT) and 386 DOS computers with a
  30. packet driver.  I created four new defines to accomplish this.
  31.     _WINDOWS Defined for Win32 specific code (Mostly TCP related)
  32.     DJGPP    Defined for 386 specific code (Mostly TCP related)
  33.     DOSPATH  Defined for any DOS'ish computer
  34.     NOSIGHUP Defined for computers not supporting sighup signal calls.
  35. -- Wayne Buttles lynx-port@fdisk.com
  36.  
  37. Added for 8+3 filesystems (DOS):
  38.     FNAMES_8_3  also defined in userdefs.h if __DJGPP__
  39.  
  40. B. Symbols to enable or disable specific features, mostly
  41. =========================================================
  42. Note that some of these may be only usable on some system types,
  43. most were originally for UNIX.
  44.  
  45. Network related, specific protocols
  46. -----------------------------------
  47. # -DSOCKS          For making a SOCKSified lynx.
  48.                    see comments in makefile.in
  49. # -DSHORTENED_RBIND  For a SOCKSified lynx with the short version of Rbind.
  50.                        see comments in makefile.in
  51. # -DNOPORT         if you must use PASV instead of PORT for FTP
  52.  
  53. Related to DirEd code - probably one usable for UNIX or similar
  54. ---------------------------------------------------------------
  55. # -DDIRED_SUPPORT  (see INSTALLATION, Section II-1c)
  56. # -DOK_GZIP        (see INSTALLATION, Section II-1c)
  57. # -DOK_OVERRIDE    (see INSTALLATION, Section II-1c)
  58. # -DOK_PERMIT      (see INSTALLATION, Section II-1c)
  59. # -DOK_TAR         (see INSTALLATION, Section II-1c)
  60. # -DOK_UUDECODE    (see INSTALLATION, Section II-1c)
  61. # -DOK_ZIP         (see INSTALLATION, Section II-1c)
  62. # -DARCHIVE_ONLY   (see INSTALLATION, Section II-1c)
  63. # -DNO_CHANGE_EXECUTE_PERMS (see INSTALLATION, Section II-1c)
  64.  
  65. Related to formatting of local directory listings
  66. -------------------------------------------------
  67. # -DLONG_LIST      (see INSTALLATION, Section II-1c)
  68. # -DNO_PARENT_DIR_REFERENCE (see INSTALLATION, Section II-1c)
  69.  
  70. Related to screen display
  71. -------------------------
  72. Using curses or ncurses library:
  73. # -DNCURSES        (see INSTALLATION, Section II-1c)
  74. # -DFANCY_CURSES   whether curses lib supports more than very basic stuff
  75.                    for UNIX handled by ./configure, for VMS defined in code
  76. # -DNO_KEYPAD (old) or HAVE_KEYPAD (new)   whether curses lib uses keypad().
  77.                    for UNIX handled by ./configure, may be set in HTUtils.h
  78. # -DCOLOR_CURSES    whether curses lib supports color (in the right way).
  79.                    for UNIX handled by ./configure
  80. # -DUNDERLINE_LINKS  Define if you want links underlined instead of bold.
  81. # -DHP_TERMINAL    For DIM workaround to REVERSE problems on HP terminals.
  82. # -DNO_SIZECHANGE (old) or HAVE_SIZECHANGE (new) whether using code to detect
  83.                    new size after size changes of the terminal (window).
  84.                    for UNIX handled by ./configure, may be set in HTUtils.h
  85. # -DUSE_SIZECHANGEHACK  enable hack to handle increasing the window size
  86.             above window size at startup
  87.  
  88. Using slang library:
  89. # -DUSE_SLANG      (see INSTALLATION, Section II-1c)
  90. # -DSLANG_MBCS_HACK prevent cutoff lines when using UTF8 console (slang only)
  91. Both:
  92. # -DREVERSE_CLEAR_SCREEN_PROBLEM
  93. #     if you have the reverse clear screen problem of some SUN4 systems, or
  94. #     to work around some other "garbage on the screen" problems
  95.  
  96. Related to *experimental* (unsupported) character style code
  97. ------------------------------------------------------------
  98. # -DUSE_COLOR_STYLE (see INSTALLATION, Section II-1c) probably needs -DNCURSES
  99. # -DUSE_HASH       (see INSTALLATION, Section II-1c)  probably needs the above
  100. # -DLINKEDSTYLES   (see INSTALLATION, Section II-1c)  probably needs the above
  101.  
  102. Other
  103. -----
  104. # -DDONT_TRACK_INTERNAL_LINKS - Handle following links to same doc differently.
  105. # -DEXP_CHARTRANS_AUTOSWITCH also let lynx switch term mode(Linux console only)
  106. # -DIGNORE_CTRL_C  Define if Control-C shouldn't exit lynx.
  107. # -DLY_FIND_LEAKS  (see INSTALLATION, Section II-1c)
  108. # -DNO_CPU_LIMIT   Disables Max CPU timeout (includes CLOCKS_PER_SECOND)
  109. # -DNSL_FORK       For fork-based name server lookups that can be 'z'apped.
  110. # -DSYSLOG_REQUESTED_URLS
  111. #     if you would like logging of client requests via syslog()
  112. # -DUSE_ZLIB       To use some functions from zlib library if you have it.
  113. # -DDECLARE_WAIS_LOGFILES   see comments in makefile.in
  114.