home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-387-Vol-3of3.iso / e / epmmac2.zip / EXTRA.E < prev    next >
Text File  |  1992-12-19  |  6KB  |  204 lines

  1. const SMALL = 0            -- SMALL says to assume no host support.
  2. include    'stdconst.e'
  3.  
  4. include    'colors.e'      -- Mnemonic color names & default colors defined here.
  5.  
  6. define INCLUDING_FILE = 'EXTRA.E'
  7. const                      -- (added because many users omit from MYCNF.)
  8. tryinclude 'mycnf.e'       -- User configuration goes here.
  9.  compile if not defined(SITE_CONFIG)
  10.     const SITE_CONFIG = 'SITECNF.E'
  11.  compile endif
  12.  compile if SITE_CONFIG
  13.     tryinclude SITE_CONFIG
  14.  compile endif
  15.  
  16. const
  17. compile if not defined(EPATH)
  18.   compile if EPM    -- EPM uses a different name, for easier coexistance
  19.    EPATH= 'epmpath'
  20.   compile else
  21.    EPATH= 'epath'
  22.   compile endif
  23. compile endif
  24. compile if EPM
  25.  compile if not defined(WANT_DYNAMIC_PROMPTS)
  26.    WANT_DYNAMIC_PROMPTS = 1
  27.  compile endif
  28. compile else
  29.    WANT_DYNAMIC_PROMPTS = 0  -- Must be 0 for earlier EPM
  30. compile endif
  31. compile if EPM
  32.  compile if not defined(WANT_BOOKMARKS)
  33.    WANT_BOOKMARKS = 'LINK'
  34.  compile endif
  35. compile if EPM
  36.  compile if not defined(CHECK_FOR_LEXAM)
  37.    CHECK_FOR_LEXAM = 0
  38.  compile endif
  39. compile else
  40.    CHECK_FOR_LEXAM = 0
  41. compile endif
  42.  compile if not defined(MOUSE_SUPPORT)
  43.    MOUSE_SUPPORT = 1
  44.  compile endif
  45. compile else
  46.    WANT_BOOKMARKS = 0
  47.    MOUSE_SUPPORT = 0
  48. compile endif
  49. compile if not defined(VANILLA)
  50.    VANILLA = 0
  51. compile endif
  52.  
  53. compile if not defined(DECIMAL)
  54.    DECIMAL = '.'
  55. compile endif
  56. compile if not defined(SORT_TYPE)
  57.   SORT_TYPE = 'DLL'
  58. compile endif
  59. compile if not defined(WANT_CHAR_OPS)
  60.    WANT_CHAR_OPS = 1
  61. compile endif
  62. compile if not defined(USE_APPEND)
  63.    USE_APPEND = 0
  64. compile endif
  65. compile if not defined(WANT_SEARCH_PATH)
  66.    WANT_SEARCH_PATH = 1                  -- Different from STDCNF; assuming more room free.
  67. compile endif
  68. compile if not defined(WANT_GET_ENV)
  69.    WANT_GET_ENV = 1
  70. compile endif
  71. compile if not defined(INCLUDE_MATHLIB)
  72.    INCLUDE_MATHLIB = 0                   -- Included anyway when EXTRA_EX is true.
  73. compile endif
  74. compile if not defined(RESTORE_MARK_AFTER_SORT)
  75.    RESTORE_MARK_AFTER_SORT = 1
  76. compile endif
  77. compile if not defined(WANT_DM_BUFFER)
  78.    WANT_DM_BUFFER = 0
  79. compile endif
  80. compile if not defined(WANT_STREAM_MODE)
  81.    WANT_STREAM_MODE = 0
  82. compile endif
  83. compile if not defined(ENHANCED_ENTER_KEYS)
  84.    ENHANCED_ENTER_KEYS = 0
  85. compile endif
  86. compile if not defined(WANT_STACK_CMDS)
  87.    WANT_STACK_CMDS = 0
  88. compile endif
  89. compile if not defined(WANT_CUA_MARKING)
  90.    WANT_CUA_MARKING = 0
  91. compile endif
  92. compile if not defined(RING_OPTIONAL)
  93.    RING_OPTIONAL = 0
  94. compile endif
  95. compile if not defined(BLOCK_ACTIONBAR_ACCELERATORS)
  96.    BLOCK_ACTIONBAR_ACCELERATORS = 1
  97. compile endif
  98. compile if not defined(SUPPORT_BOOK_ICON)
  99. ;compile if EVERSION < '5.50'
  100.    SUPPORT_BOOK_ICON = 1
  101. ;compile else
  102. ;  SUPPORT_BOOK_ICON = 0  -- EPM/G has no book (yet)
  103. ;compile endif
  104. compile endif
  105. compile if not defined(WANT_ALL)
  106.    WANT_ALL = 0
  107. compile endif
  108. compile if not defined(EXTRA_EX)
  109.    EXTRA_EX = 1                    -- Different than STDCNF.E; but since this *is* EXTRA.E, ...
  110. compile endif
  111. compile if not defined(WANT_KEYWORD_HELP)
  112.    WANT_KEYWORD_HELP = 0
  113. compile endif
  114. compile if not defined(MENU_LIMIT)
  115.    MENU_LIMIT = 0
  116. compile endif
  117. compile if not defined(SPELL_SUPPORT)
  118.  compile if EPM
  119.    SPELL_SUPPORT = 'DYNALINK'          -- New default
  120.  compile else
  121.    SPELL_SUPPORT = 0
  122.  compile endif
  123. compile endif
  124. compile if not defined(ENHANCED_PRINT_SUPPORT)
  125.    ENHANCED_PRINT_SUPPORT = 0
  126. compile endif
  127. compile if not defined(WANT_EPM_SHELL) or EVERSION < '5.20'
  128.    WANT_EPM_SHELL = 0
  129. compile endif
  130. compile if not defined(EPM_SHELL_PROMPT)
  131.    EPM_SHELL_PROMPT = '@prompt epm: $p $g'
  132. compile endif
  133. compile if not defined(WANT_BRACKET_MATCHING)
  134.    WANT_BRACKET_MATCHING = 0
  135. compile endif
  136. compile if not defined(DEFAULT_PASTE) & EPM
  137.    DEFAULT_PASTE = 'C'
  138. compile endif
  139. compile if not defined(INCLUDE_MENU_SUPPORT)
  140.    INCLUDE_MENU_SUPPORT = 1
  141. compile endif
  142. compile if not defined(INCLUDE_WORKFRAME_SUPPORT)
  143.    INCLUDE_WORKFRAME_SUPPORT = 1
  144. compile endif
  145. compile if not defined(WANT_EBOOKIE)
  146.    WANT_EBOOKIE = 'DYNALINK'
  147. compile endif
  148. compile if not defined(WANT_APPLICATION_INI_FILE)
  149.    WANT_APPLICATION_INI_FILE = 1
  150. compile endif
  151. compile if not defined(NLS_LANGUAGE)
  152.   const NLS_LANGUAGE = 'ENGLISH'
  153. compile endif
  154.    include NLS_LANGUAGE'.e'
  155.  
  156. compile if EVERSION > 5
  157.  compile if INCLUDE_MENU_SUPPORT
  158.    include    'stdmenu.e'     -- Action bar menus for EPM.
  159.  compile endif
  160.  compile if WANT_BOOKMARKS
  161.    include 'bookmark.e'
  162.  compile endif
  163.  compile if MOUSE_SUPPORT
  164.    include 'mouse.e'
  165.  compile endif
  166.    include 'clipbrd.e'     -- Clipboard interface and mark <--> buffer routines
  167.    include 'EPM_EA.E'
  168. compile endif
  169.    include  'markfilt.e'
  170.    include  'charops.e'     -- Mark operations for character marks.
  171.    include  'dosutil.e'
  172.    include  'math.e'
  173. compile if SORT_TYPE
  174.    include 'sort'SORT_TYPE'.e' -- SORTE, SORTG, SORTF, SORTGW, SORTDLL, SORTDOS.E.
  175. compile endif
  176. compile if WANT_ALL
  177.    include 'ALL.E'         -- Shows all occurrences of a string.
  178. compile endif
  179. compile if WANT_KEYWORD_HELP
  180.   include 'KWhelp.e'
  181. compile endif
  182. compile if WANT_EPM_SHELL
  183.   include 'epmshell.e'
  184. compile endif
  185. compile if EVERSION >= '5.50'
  186.   include 'callrexx.e'
  187. compile endif
  188. compile if WANT_BRACKET_MATCHING
  189.   include 'assist.e'
  190. compile endif
  191. compile if WANT_EBOOKIE = 1
  192.   include 'bkeys.e'
  193. compile endif
  194.  
  195. compile if not VANILLA
  196.  compile if defined(SITE_EXTRA)
  197.     compile if SITE_EXTRA
  198.        include SITE_EXTRA
  199.     compile endif
  200.  compile endif
  201. tryinclude 'myextra.e'
  202. compile endif
  203.  
  204.