.Left Margin 6 .Right Margin 72 .Date .Autoparagraph .No Autosubtitle .Disable Hyphenation .FIRST TITLE .Title EDT as a Programming Tool - DECUS Spring 1984 .Subtitle Kevin Mallory - Texas Instruments Inc. .Header Level 1 Description of Submission .NOTE CAUTIONS EDIT.COM and CMSEDIT.COM require 2 logical names to be definied. .List .List Element;EDTINI - shoule point to the EDTINI.EDT file .List Element;EDT__INILIB - should point to the directory containing the INI files. .List Element;EDT__TEMPLATES - should point to the directory containing the template files. (This can be the same directory) .End List .end NOTE .Header Level 2 EDITOR enhancements .List .List Element;Last file edited memory .List Element;Template support for non-existant files .List Element;File type specific EDTINI.EDT files .List Element;CMS support if CMS library defined .List Element;Ability to OVERRIDE any Key defined by the "DEFAULT" EDTINI files. .End List .Header Level 3 Last File edited memory In order to save vast amounts of typing, EDIT.COM defines a symbol $EDIT that contains the name of the last file that was edited. .Header Level 3 Template support for non-existant files In an attempt to standardize source code EDIT.COM will allow you to INCLUDE a standard coding template for the file type that you are editing, only if the file does not exist. The logical EDIT__USE__TEMPLATES can be defined to true/false depending on the users preference for the addition of the template. .Header Level 3 File type specific EDTINI files EDTINI files have been generated to include several standard keys, such as gold e for EXIT and gold q for quit, as well as keys for several standard file types. While using EDIT.COM type Gold Control H (GOLD BACKSPACE) to get a help screen explaining the key structure for the edtini file in use. The edtini files are located in EDT__INILIB:''file__type'INI.EDT. .Header Level 3 CMS support if CMS Library defined If a cms library has been defined by the user (denoted by cms$lib being defined) then EDIT.COM will search the CMS library for the file that was requested to be edited. If this file exists in the CMS library then it will prompt the user to determine if the file should be reserved from the CMS library first. The default edit type is controlled by a logical name DEFAULT__EDIT__TYPE. EDIT.COM will always confirm the edit type. .NOTE Edit.com prompts for Comments to CMS for reservations and replacements. Default is ''USERNAME' ''action__performed' on ''date' ''changes' .END NOTE .Header Level 3 OVERRIDING the DEFAULT key definitions The EDTINI.EDT file attempts to include the file EDTINI__LOCAL__OPTIONS into a buffer and EXECUTE it as a macro. Should you wish to override any key definitions done by these macros all you need to is create a file containing those definitions and define the logical name! To aviod reciving a FILE NOT FOUND error message from EDT when EDTINI__LOCAL__OPTIONS is not defined, or you do not wish to override any key definitions create an empty file DUMMY.EDT and define the logical name to point to it. .Header Level 2 Contents of the submission .literal Directory V4UD:[MALLORY.DECUS] AAAREADME.RNO;4 CMSEDIT.COM;1 COMHELP.TXT;1 COMINI.EDT;1 COMTEMPLT.DAT;1 EDIT.COM;2 EDTHELP.TXT;1 EDTINI.EDT;49 FORHELP.TXT;1 FORINI.EDT;1 FORTEMPLT.DAT;1 LOCAL.EDT;1 MARHELP.TXT;1 MARINI.EDT;1 MARTEMPLT.DAT;1 MSGTEMPLT.DAT;1 RNOHELP.TXT;1 RNOINI.EDT;1 RNOTEMPLT.DAT;1 TXTINI.EDT;1 Total of 20 files. .end literal .Header Level 2 Description of files .List " " .tab stops 33 .List Element;AAAREADME.RNO -This file .List Element;CMSEDIT.COM -Editor command file with support for CMS .List Element;COMHELP.TXT -Help Text for COMINI.EDT .List Element;COMINI.EDT -Additional support for .COM files .List Element;COMTEMPLT.DAT -DCL Command file coding template .List Element;EDIT.COM -Editor command file without CMS support .List Element;EDTHELP.TXT -"DEFAULT" help file. .List Element;EDTINI.EDT -Driver EDTINI.EDT file .List Element;FORHELP.EXT -Help Text for FORINI.EDT .List Element;FORINI.EDT -Additional support for .FOR files .List Element;FORTEMPLT.DAT -FORTRAN source coding template .List Element;LOCAL.EDT -Example of EDTINI_LOCAL_OPTIONS .List Element;MARHELP.TXT -Help Text for MARINI.EDT .List Element;MARINI.EDT -Additional Support for .MAR files .List Element;MARTEMPLT.DAT -MACRO source coding template .List Element;MSGTEMPLT.DAT -MSG file coding template .List Element;RNOHELP.TXT -Help Text for RNOINI.EDT .List Element;RNOINI.EDT -Additional support for .RNO files .List Element;RNOTEMPLT.DAT -RUNOFF source coding template .List Element;TXTINI.EDT -Additional support for .TXT files .End List