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