Program package CURKED - Editing CURVE macros PROGRAM PACKAGE CURKED Antti Virjo Central University Hospital of Tampere SF-33520 Tampere 52, Finland 01-DEC-1982 1.0 FEATURES -------- 1. By CURVE is here meant the CURVE manipulation package con- sisting of the files CURVE.SAV and CVHELP.SYS, and created by Sally Foster at Guy's Hospital, London. The package is distributed by DECUS. It has a macro utility with inbuilt editor of its own - the standard extension for CURVE macros is '.MCC'. The special CURVE macro editor is relatively primitive, on the other hand the format of the CURVE macros is such that they cannot be directly edited with an ordinary editor. For a description of this format, see file 'CURKED.FOR'. The system described here overcomes the problem by perform- ing an automatic conversion to RT/ASCII mode and back, thus allowing the use of ordinary editors. 2. Editing is possible with KED, K52, or 'ordinary' editors, e.g. EDIT, TECO, or VTECO. 3. The program does not stop for illegal macro names, but gives an error message and asks for a new name. 4. The system allows creation of new CURVE macros. 2.0 EDITORS 'EDIT', 'TECO', AND 'VTECO' ------- ------- ------- --- ------- The editors TECO, VTECO, and EDIT can be used without patching the RT monitor. In background the VTECO editor is very convenient, because it can be run concurrently with FGAMMA, and one has a real time window on the VSV-01 monitor. Although this window shows only capital letters, VTECO can be used to edit small letters by setting in VTECO the ap- propriate terminal mode flag (e.g. 4ET$$ for a printer terminal). For selection between these 3 editors, see the installation instruc- tions below. Program package CURKED - Editing CURVE macros PAGE 2 2.1 Usage: ------ As an RT command (if you are in RT) type @CEDIT. As answer to the console prompt CURVE macro to be edited (without .MCC extension)? give the name of the CURVE macro in question using at most 10 characters. The macro to be edited can reside on another disk than the system disk, so that e.g. DL1:RENFLO is a valid answer. After editing the macro in the usual way, exit from the editor in the normal way using EX$$ or $$ commands ($$ leaves the original macro unchanged), and the system returns to RT. If the macro to be edited is not found, the system asks: *** CURVE macro XXX.MCC does not exist. Do you want it to be created (N)? A positive answer (Y) creates the macro and gives control to the editor with an empty buffer. If you do not want to create the macro in question, answer with just , and the system asks for a new macro name. When editing the macro keep in mind, that the maximum number of characters on a line is 49. If this limit is violated, a descriptive warning message is given on the console terminal, and the extra characters are discarded. 2.2 Installation ------------ The following files must be on the system disk: CEDIT.COM CURKED.SAV CURKE1.SAV As with KED editor, the files CURKE1.TMP and CURKE1.COM are created each time. If the RT command SET EDIT EDIT is in effect, the usual editor 'EDIT' is invoked. This is the default mode in RT. To automatically invoke TECO, the RT command SET EDIT TECO must have been given before entering CURVE macro editing. If TECO is often used, it is advisable to include these SET commands in the startup file GMUSER.COM, so that the EDIT/TECO editing mode is preserved also when booting the system. VTECO, in turn, is invoked if the TECO editing mode is in effect, and the file VTECO:SAV is renamed to TECO.SAV and included on the system disk. Program package CURKED - Editing CURVE macros PAGE 3 3.0 EDITOR 'KED' OR 'K52' ------ ----- -- ----- 3.1 Usage: ------ As an RT command type @CKED and continue as above with the 'ordinary' editors. After editing the macro in the usual way, exit from KED using the EXIT or QUIT commands (QUIT leaves the original macro unchanged), and the system returns to RT. 3.2 Installation ------------ The following files must be on the system disk: CKED.COM CURKED.SAV CURKE1.SAV The files CURKE1.TMP and CURKE1.COM are created each time, if they do not exist on the system disk. If you want to use K52 instead of KED, you should change in KED.COM the line 'RU KED' to 'RU K52' and maybe rename the command file KED.COM to K52.COM. 4.0 COMPILING THE NECESSARY PROGRAMS FROM SOURCES --------- --- --------- -------- ---- ------- To compile the programs CURKED.SAV or CURKE1.SAV from sources, assign the source disk to INP, the output disk to OUP (INP and OUP can be the same), and start the command files CURKED.COM or CURKE1.COM by typing @INP:CURKED or @INP:CURKE1 Before this process be sure, that the disk INP contains the following files: CURKED.COM CURKED.FOR CURKE1.COM CURKE1.FOR ANS.OBJ RADCO.OBJ Program package CURKED - Editing CURVE macros PAGE 4 4.1 Contents of the distribution kit -------- -- --- ------------ --- The kit includes the following files: GCKCOP.COM !Copies all files for GAMKED and CURKED ! from INP: to OUP: CURKED.DOC !This file CURKED.RNO !RUNOFF source file CURKED.CRN !RUNOFF command file CURKED.FOR CURKED.COM CURKED.SAV CURKE1.SAV CURKE1.FOR CURKE1.COM ANS.FOR ANS.OBJ RADCO.FOR RADCO.OBJ CEDIT.COM CKED.COM VTECO.SAV !TECO for VSV-01 video display STECO.SAV !TECO for VTV-01 storage scope display VTECO.DOC !Documentation for VTECO and STECO CURVE.SAV CVHELP.SYS !The CURVE package VTECO.SAV and STECO.SAV are unsupported software from the Gamma-11 V2.4 distribution disk. They should work also with Gamma-11 V3.1 and RT-11 V4.0 (at least VTECO does). All those above files not written by the author originate from Tho- raxcenter, Erasmus University, Rotterdam, Holland, and have been in- cluded in programs distributed by DECUS.