home *** CD-ROM | disk | FTP | other *** search
- /* TurboText ARexx Macros for M2Sprint Modula-2 */
- /* Version 1.0, 4 April 95 by J. E. Gilpin */
- /*
- $VER: TTX_M2S 1.0 (04.04.95)
- */
-
- This archive should contain the following files:
-
- M2S_Compile.ttx-------TurboText AREXX Macro for Compiling.
- M2S_Link.ttx----------TurboText AREXX Macro for Linking.
- M2S_ErrList.ttx-------TurboText AREXX Macro for error tracing.
- M2S_CompSettings.ttx--TurboText AREXX Macro for setting compiler parameters.
- M2S_LinkSettings.ttx--TurboText AREXX Macro for setting linker parameters.
- TTX_Startup.dfn-------TurboText startup definition file.
- TTX_Startup.prf-------TurboText startup preferences file.
- TTX_Startup.ttx-------TurboText startup AREXX Macro.
- TTX.info--------------TurboText project icon (with required tool types set).
- ScreenFlags-----------Public Screens Utility by Chris Papademetrious.
-
-
- INTRODUCTION:
-
- If you use the "M2Sprint" (Copyright 1989 M2S Inc.) Modula-2 compiler,
- you've probably noticed that the M2Sprint text editor, unlike the compiler
- and linker, isn't quite compatable with newer versions of the Amiga
- operating system. Last year I decided to find a replacement for my M2Sprint
- editor. My search for a new editor ended when I discovered that the author
- of the M2Sprint editor (Martin Taillefer) is also the author of "TurboText"
- (Copyright 1990-1994 Martin Taillefer).
- I purchased "TurboText" and found it to be very similar in design and
- function to the M2Sprint editor. The latest version of TurboText
- (TurboText 2.0) is 'Amiga User Interface Style' compliant and has an
- extensive AREXX command set. With addition of a few AREXX Macros, TurboText
- can fulfill almost any text editing requirement.
- Despite an extensive search of public domain sources, I was unable to
- find the AREXX scripts necessary to create a completely integrated
- Modula-2 programming environment. As a result, I created my own scripts and
- have included them in this archive. Since it is unlikely that many people
- use both TurboText and M2Sprint, I have excessively commented the scripts
- for use as examples (possibly bad examples). Hopefully, someone else may
- find them of some use.
-
-
- SYSTEM REQUIREMENTS:
-
- 1. Amiga computer with AmigaDOS 2.0 or higher.
- 2. Hard Disk Drive
- 3. TurboText 2.0
- 4. M2Sprint Modula-2 program developement system.
-
-
- INSTALLATION:
-
- 1. Create an empty directory anywhere on a hard disk drive.
- 2. Copy all the files in this archive to the newly created directory.
- 3. Open the new directory on the WorkBench screen and select the
- TurboText Project Icon.
- 4. Select the "Information" sub-menu from the "Icons" menu on the
- WorkBench Screen.
- 5. Make the following changes in the "Information" window:
- a. Edit the name in the "Default Tool" gadget to match the pathname
- of the TTX program (TurboText startup program) on your system.
- b. Edit the paths in the "Tool Types" gadget to match the directory
- path where these scripts are located (the newly created directory).
- c. Select the SAVE gadget in the "Information" window.
- 6. Load the file "TTX_Startup.ttx" (from the newly created directory) and
- make the following changes:
- a. Edit the assignments for "M2:", "M2Data:" & "M2Sprint:" to match
- the location (path) of those directories on your system.
- b. Edit the assignment for "Turbo:" to match the location of the
- scripts included with this archive (the newly created directory).
- c. Save the edited file.
-
-
- USAGE:
-
- 1. Copy a Modula-2 source program to RAM:
-
- 2. Open the editor using the project icon provided in this archive.
-
- 3. Load the Modula-2 program into the editor.
-
- 4. Press the F6 function key to compile the program.
-
- 5. Press the F7 function key to link the program.
-
- 6. Press the F8 function key to step through any errors indicated in
- the compilation (step 4).
-
- 7. Press the F9 function key to change compiler settings.
-
- 8. Press the F10 function key to change linker settings.
-
-
- OPERATION:
-
- Since TurboText 2.0 is designed to edit multiple documents on differently
- defined Screens and Windows simultaneously, these Macros can be employed
- without altering your current TurboText settings. The included definition
- file (TTX_Startup.dfn) is the default TurboText definition with the F6-F10
- function keys redefined to call the Macros included in this archive.
- The Macro assigned to each of those function keys will be loaded from disk
- and executed each time the function key is pressed. The Macros don't open
- any AREXX communication ports, they simply execute programs (compiler,
- linker, settings etc.). That results in a lot of disk activity, but makes
- the Macros more generalized and modifiable.
- Because the Compiler and Linker settings programs were designed to open a
- window on the WorkBench Screen, the public screen utility "ScreenFlags" is
- used to fool them into opening on the TurboText screen. If more than one
- TurboText screen is open, the settings programs may open on the wrong
- screen.
- Read the comments in the Macros for more information.
-
-