EXTENSIONS TO EVE and EVEplus Allen A. Watson President, Watson Consulting, Inc. 3 River Street Extention, Apt. 30 Little Ferry, NY 07643 (201) 641-2468 Date: December 3, 1987 SUMMARY This submission contains a full distribution of EVEplus, including extensive extensions to EVEplus written mostly by me. (Mostly, because I incorporated procedures by other people that I've run across, with and without modifications.) Highlights: Expanded windowing package, including commands Split Window, Delete Window, Next Window, Only Window, NoOnly Window, Expand Window. A primitive DIRED a la EMACS. Other EMACS lookalike commands: Occurs, Flush, Keep, and a ring of (5) marks. Complete interface to VMS Mail within EVEplus. EDT-like keypad definitions. Complete help for all commands defined available from Do "Help". Command procedures written with EVE commands. Ability to change default device and directory for file I/O. Auto-generated list of defined keys; also, Locate Key command. Cursor movement by sentence and paragraph. Extended Sort command can sort a buffer or a selected region. Interface to Denison University Spelling checker; spell check a buffer. CONTENTS OF THIS SUBMISSION This submission consists of a main directory and two subdirectories. The main directory is [WATSON]. In all about 5700 blocks. It contains: AAAREADME.TXT -- this file EVEKEYS.TEX -- LaTeX source file for a keypad diagram for my EVEplus, including definitions of many control keys. EVEPLUS.TPU$SECTION -- compiled section file with all my extensions and key definitions. EVEPLUSHELP.HLB -- Supplementary help library for EVEplus and my EVEplus extensions. EVEPLUS_1.TEX -- LaTeX source file of documentation on the EVEplus commands that are assigned to keys, particularly the numeric keypad and VT200 grey keys. EVEPLUS_MORE.TEX -- LaTeX source file of documentation on EVEplus commands not assigned to keys, or added to EVEplus after the first document was written. EVE_EXTEND.TEX -- LaTeX source file for a talk given at this symposium on how and why to extend EVE; hints on doing TPU compiles; brief description of each source file in my extensions; hints on using EVEplus in Mail and VAXnotes. TPUINI.TPU -- A sample TPU initialization file that defines two margin-setting procedures and a special procedure that I bind to Control-Z to prevent accidental exiting by offering a choice of Exit, Quit, Attach, or Cancel. It also redefines EVE's word separators to include the slash mark and redefines the default margins for new buffers. Finally it sets EAG Windows and Markers on and does special key definitions I like that are not part of the basic EVEplus. If you don't have LaTeX or the correct laser fonts for printing .DVI files, sorry! I didn't have time to develop a LaTeX Source to Runoff Source conversion program! Most of the material in the documentation, although not all, is duplicated in the EVEPLUSHELP.HLB file. [WATSON.EVEPLUS] -- This directory contains all the TPU source code of the original EVEplus distribution (as obtained from a Decus tape about 2 years ago), along with the command procedures for building original EVEplus. Things here should be pretty much as they came from the Digital sources of EVEplus, although I may have made some minor alterations. When building *my* EVEplus, define logical TPU$EVEPLUS to point here. [WATSON.EXTENSIONS] -- This directory contains the TPU sources for all my extensions to EVEplus. In addition, any original EVEplus procedures I altered were copied here and then edited; the same holds for any portions of baseline EVE I altered by copying code from SYS$LIBRARY:EVESECINI.TPU. When rebuilding EVEplus, define logical TPU$LOCAL to point here. [WATSON.EXTENSIONS.SETH] -- This directory contains yet more extensions and alterations. Seth Silverstein, a programmer at Goldman Sachs, brought this with him from another site where somebody else had been extending EVEplus. I've stolen several of the procedures (EAG Markers, Spell, Directory, Dired to name a few) but have not had time to look at all of them; browse. HOW TO REBUILD MY EVEPLUS You can use the section file I've provided just by using a /section qualifier to an EDIT/TPU command, e.g. EDIT/TPU/SECTION=device:[WATSON]EVEPLUS or by defining the logical TPUSECINI to point to the section file. Place EVEPLUSHELP.HLB in your SYS$HELP directory. If you add your own procedures to EVEplus, put the help modules into this library. You will need to extract the entire module under the topic "EVE", edit in your new entry as a level "2" entry, and then replace the entire thing. If you want to recompile EVEplus because you have altered some of the TPU source modules, make the modifications in the [.EXTENSIONS] directory and then: -- Define logical TPU$EVEPLUS to point to the directory containing the files you see in [WATSON.EVEPLUS]. -- Define logical TPU$LOCAL to point to the directory containing the files you see in [WATSON.EXTENSIONS]. (These logicals are needed only for recompiling.) -- In [.EXTENSIONS], edit the file EVEPLUS_SYSTEM.TPU, near the end, to SAVE the section file in the directory you want it to be in. If you have created a new .TPU module in the [.EXTENSIONS] directory you must also add an "include_file" command in this file just before the "include_file" for the define_keys.tpu procedure. Your new procedure will then automatically be read in, compiled, and included in EVEplus. To change key definitions or add new ones, edit DEFINE_KEYS.TPU in this directory. If you want help to be available via the Help Key, make sure the Help Text in your key definition matches exactly the topic name in the Help Library. -- Run "@EVE_BUILD.COM". That should do it. P.S. In the [.EXTENSIONS] directory you will find some documentation files with extensions like .RNO and .ROF which are earlier versions of the EVEplus-extended documents. (The .rof files are Runoff files for the Bonner Lab Version of runoff; they'd need some editing to make it through DSR.) These are about 16 months old and so are outdated, but if you don't have LaTeX it might be a place to start to get some sort of documentation. Also take a look in the [.EVEPLUS] directory for .RNO or .MEM files that document the original EVEplus.