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 >
Wrap
Text File
|
1992-12-19
|
6KB
|
204 lines
const SMALL = 0 -- SMALL says to assume no host support.
include 'stdconst.e'
include 'colors.e' -- Mnemonic color names & default colors defined here.
define INCLUDING_FILE = 'EXTRA.E'
const -- (added because many users omit from MYCNF.)
tryinclude 'mycnf.e' -- User configuration goes here.
compile if not defined(SITE_CONFIG)
const SITE_CONFIG = 'SITECNF.E'
compile endif
compile if SITE_CONFIG
tryinclude SITE_CONFIG
compile endif
const
compile if not defined(EPATH)
compile if EPM -- EPM uses a different name, for easier coexistance
EPATH= 'epmpath'
compile else
EPATH= 'epath'
compile endif
compile endif
compile if EPM
compile if not defined(WANT_DYNAMIC_PROMPTS)
WANT_DYNAMIC_PROMPTS = 1
compile endif
compile else
WANT_DYNAMIC_PROMPTS = 0 -- Must be 0 for earlier EPM
compile endif
compile if EPM
compile if not defined(WANT_BOOKMARKS)
WANT_BOOKMARKS = 'LINK'
compile endif
compile if EPM
compile if not defined(CHECK_FOR_LEXAM)
CHECK_FOR_LEXAM = 0
compile endif
compile else
CHECK_FOR_LEXAM = 0
compile endif
compile if not defined(MOUSE_SUPPORT)
MOUSE_SUPPORT = 1
compile endif
compile else
WANT_BOOKMARKS = 0
MOUSE_SUPPORT = 0
compile endif
compile if not defined(VANILLA)
VANILLA = 0
compile endif
compile if not defined(DECIMAL)
DECIMAL = '.'
compile endif
compile if not defined(SORT_TYPE)
SORT_TYPE = 'DLL'
compile endif
compile if not defined(WANT_CHAR_OPS)
WANT_CHAR_OPS = 1
compile endif
compile if not defined(USE_APPEND)
USE_APPEND = 0
compile endif
compile if not defined(WANT_SEARCH_PATH)
WANT_SEARCH_PATH = 1 -- Different from STDCNF; assuming more room free.
compile endif
compile if not defined(WANT_GET_ENV)
WANT_GET_ENV = 1
compile endif
compile if not defined(INCLUDE_MATHLIB)
INCLUDE_MATHLIB = 0 -- Included anyway when EXTRA_EX is true.
compile endif
compile if not defined(RESTORE_MARK_AFTER_SORT)
RESTORE_MARK_AFTER_SORT = 1
compile endif
compile if not defined(WANT_DM_BUFFER)
WANT_DM_BUFFER = 0
compile endif
compile if not defined(WANT_STREAM_MODE)
WANT_STREAM_MODE = 0
compile endif
compile if not defined(ENHANCED_ENTER_KEYS)
ENHANCED_ENTER_KEYS = 0
compile endif
compile if not defined(WANT_STACK_CMDS)
WANT_STACK_CMDS = 0
compile endif
compile if not defined(WANT_CUA_MARKING)
WANT_CUA_MARKING = 0
compile endif
compile if not defined(RING_OPTIONAL)
RING_OPTIONAL = 0
compile endif
compile if not defined(BLOCK_ACTIONBAR_ACCELERATORS)
BLOCK_ACTIONBAR_ACCELERATORS = 1
compile endif
compile if not defined(SUPPORT_BOOK_ICON)
;compile if EVERSION < '5.50'
SUPPORT_BOOK_ICON = 1
;compile else
; SUPPORT_BOOK_ICON = 0 -- EPM/G has no book (yet)
;compile endif
compile endif
compile if not defined(WANT_ALL)
WANT_ALL = 0
compile endif
compile if not defined(EXTRA_EX)
EXTRA_EX = 1 -- Different than STDCNF.E; but since this *is* EXTRA.E, ...
compile endif
compile if not defined(WANT_KEYWORD_HELP)
WANT_KEYWORD_HELP = 0
compile endif
compile if not defined(MENU_LIMIT)
MENU_LIMIT = 0
compile endif
compile if not defined(SPELL_SUPPORT)
compile if EPM
SPELL_SUPPORT = 'DYNALINK' -- New default
compile else
SPELL_SUPPORT = 0
compile endif
compile endif
compile if not defined(ENHANCED_PRINT_SUPPORT)
ENHANCED_PRINT_SUPPORT = 0
compile endif
compile if not defined(WANT_EPM_SHELL) or EVERSION < '5.20'
WANT_EPM_SHELL = 0
compile endif
compile if not defined(EPM_SHELL_PROMPT)
EPM_SHELL_PROMPT = '@prompt epm: $p $g'
compile endif
compile if not defined(WANT_BRACKET_MATCHING)
WANT_BRACKET_MATCHING = 0
compile endif
compile if not defined(DEFAULT_PASTE) & EPM
DEFAULT_PASTE = 'C'
compile endif
compile if not defined(INCLUDE_MENU_SUPPORT)
INCLUDE_MENU_SUPPORT = 1
compile endif
compile if not defined(INCLUDE_WORKFRAME_SUPPORT)
INCLUDE_WORKFRAME_SUPPORT = 1
compile endif
compile if not defined(WANT_EBOOKIE)
WANT_EBOOKIE = 'DYNALINK'
compile endif
compile if not defined(WANT_APPLICATION_INI_FILE)
WANT_APPLICATION_INI_FILE = 1
compile endif
compile if not defined(NLS_LANGUAGE)
const NLS_LANGUAGE = 'ENGLISH'
compile endif
include NLS_LANGUAGE'.e'
compile if EVERSION > 5
compile if INCLUDE_MENU_SUPPORT
include 'stdmenu.e' -- Action bar menus for EPM.
compile endif
compile if WANT_BOOKMARKS
include 'bookmark.e'
compile endif
compile if MOUSE_SUPPORT
include 'mouse.e'
compile endif
include 'clipbrd.e' -- Clipboard interface and mark <--> buffer routines
include 'EPM_EA.E'
compile endif
include 'markfilt.e'
include 'charops.e' -- Mark operations for character marks.
include 'dosutil.e'
include 'math.e'
compile if SORT_TYPE
include 'sort'SORT_TYPE'.e' -- SORTE, SORTG, SORTF, SORTGW, SORTDLL, SORTDOS.E.
compile endif
compile if WANT_ALL
include 'ALL.E' -- Shows all occurrences of a string.
compile endif
compile if WANT_KEYWORD_HELP
include 'KWhelp.e'
compile endif
compile if WANT_EPM_SHELL
include 'epmshell.e'
compile endif
compile if EVERSION >= '5.50'
include 'callrexx.e'
compile endif
compile if WANT_BRACKET_MATCHING
include 'assist.e'
compile endif
compile if WANT_EBOOKIE = 1
include 'bkeys.e'
compile endif
compile if not VANILLA
compile if defined(SITE_EXTRA)
compile if SITE_EXTRA
include SITE_EXTRA
compile endif
compile endif
tryinclude 'myextra.e'
compile endif