About DECH - Deniil E-Compiler Handler v1.38! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Made in 2001-03-10 Intro: ~~~~~~ This program is made for you who program in Amiga-E and compile alot, which is usual, and is tired of CLI/Shell or the Workbench menu (ToolsDaemon)! With this program can you easy select one or more files that you often compile and then with just ONE mouse-click compile the active file and one more click to run it! Or, why not both compile and run with one mouse-click! News: ~~~~~ * NEW * As everybody know, E-programs have their own internal stacksize and does not care what stack DOS is setting it to. Therefor I have now finally removed the "Stack of executed programs" and replaced it with "Stack of the compiler" instead which will make also CreativE to work with DECH. * NEW * It was impossible to set the size of the output window with the 'Adjust console-window'-feature. v1.37 * Finally the ProgDir: and current dir is set to the actual directory where the project being executed exists and not always to the ProgDir: of DECH! * Now the string-requester that is used for arguments accepts an empty string. (I finally got the autodocs for ReqTools :)) * The string-requester should now open on the same pubscreen as DECH. Don't think it did that before.. v1.36 * Now you can change the order of the files in the Button-lister. * Fixed a small update bug in the lister-handling. v1.35 * Added a pubscreen selector in the Prefs/More.. -window. * Now checking pubscreen is delayed 2 seconds if "Start editor on startup" and a pubscreen is selected. This is so the pubscreen will have time to open. * Now the info-window is only opened if the mouse is above DECH main-window. * Now added a possibility to disable the RP/Rn buttons. * The windows refresh better now when using MCP's solid windowsizing. * Fixed a problem when executing programs without arguments. Usage: ~~~~~~ Please start the program before you try to understand the usage..! :-) EC: E-Compile the first file in the right list RP: Run the Program compiled with EC Cn: Compile the n:th file in the right lister of the file-selector Rn: Run the Program compiled with Cn -- ED: Select a file to open with your favorite text-EDitor V : Select a file to open with your favorite text-Viewer FS: Open/close the FileSelector C : Open/close the output that is a Console by default. (se notes below!) ? : Open/close the prefs-editor Q : Quit All this buttons can also be controlled from the keybord: EC: F10 RP: 0 Cn: Fn, i.e. F1..F9 Rn: n, i.e. the numberkeys 1..9 ED: 'e' V : 'v' FS: 'f' C : 'c' ? : '?' Q : 'q' You can press the right mouse-button or 'Help' to get a small info-window with information of what the different gadgets do, or in v1.33+ you get the list of what was supposed to be the gadgets Cn/Rn if you "Reduce gadgets" (see below). The editor- and viewer-selector: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ If you press 'ED' or 'V' you will get a little window with some numbers and a "C". With the editor also an "N". Any number will open the corresponding file in your favorite text-editor/viewer. The C stands for 'Cancel'. The N stands for 'New/empty editor'. The keys 'n', 'c' and the numbers 1..n also works here. The fileselector: ~~~~~~~~~~~~~~~~~ The left lister is where all files comes in after you have selected them with 'Add'. One file or more will also always be present in the right lister where every item is a button in the main-window or a selected if you set the "Reduced gadgets". What the buttons do: Add: Add a file to the left lister. Delete: Remove a file from the left lister. Clear: Clear all files in the left lister. Sort: Sort all files in the left lister. Load: Load the entire config with files and settings. Save: Save the above.. Quit: Quit program and copy back all files from Ram:DECH/ if you wish. OK: Exit the file-selector. >Add>: Copy a filename from the left to the right lister. >Refr>: Refresh the selected filename in the right lister with the selected filename in the left lister. >Del>: Delete the selected filename from the right lister and if the file is in Ram:DECH/ you will be questioned to copy back the file from Ram:DECH first. \/ /\: With these you can move a file up and down in the right lister. ToRam>: Copy the selected file in the right lister to "Ram:DECH/" with all it's corresponding '*local' modules! Safety: Safety-copy the selected file from Ram:DECH/ back to disk it's original place on disk without changing anything in the lister. GetRam: Copy back all files copied to Ram:DECH/ to their original places on disk and delete the files in Ram:DECH/. The prefs-window (?): ~~~~~~~~~~~~~~~~~~~~~ "Auto-run program after compiling" This will let you with a click on just EC both first compile and then also run the program. "Popup string-requester before running program" This will let you type in some arguments before a program is executed. Useful when testing CLI applications. "Auto-refresh first file" This makes the first file in the "Button"-lister be automatically changed to whatever you press or select in the left "Source-code"-lister. "Start editor on startup" with "Edit:" With this enabled DECH will start your texteditor with a selected file. The file is selected with "Edit:". This is useful if you work on a programs that crashes all the time and you would like DECH to open up this very file automatically after every restart. "Reduce gadgets to EC and RP" This will as it say reduce all Cn-/Rn-gadgets in the main- window to just EC and RP and the selection is then made in the info-window you get when you click the right mouse-button. "Disable Rn- and RP- button(s)" Use this if you often accidently presses a RP/Rn button. "Do not warn when closing console" This will just skip the requester when you close the console and have executed a program in it. *** REMEMBER!! This IS dangerous if a program is still outputting text to that console! *** "Don't touch the stdout console" This forces DECH to not use the specified "Output:". "Auto-open console on startup" Will do exacly what it says :) |More..| will open another prefs window described below. |Adjust console-window| lets you with a simple move place your console wherever on the screen you want. |Save| will save the entire config-file to ENVARC:DECH.config. |OK| will close this window. More prefs.. -window: ~~~~~~~~~~~~~~~~~~~~~ Editor: Your favorite editor with path. Has an argument-string at the right. Viewer: Your favorite viewer with path. Has an argument-string at the right. Compiler: The compiler with path and eventual arguments. Output: An output-file, console or whatever you like. You can set up to four %d's that will be the coordinates of a console-window. PubScreen: The name of a pubscreen you want DECH to open on. To get a console to open on the same screen you have to add /SCREEN YOURPUBSCREEN to the Output: line. "Get" Popup a pubscreen selector which you can use to pick a currently open pubscreen, it fixes the Output too. "Priority of editor:" This is the task-priority of the editor when you start it from DECH. "Priority of executed programs:" This is the task-priority of the programs you start from DECH. It is smart to set this <0 so that if some program would hang in a loop, it wouldn't jam the system! "Stacksize of the compiler:" The stacksize the compiler will get. Must be dividable by 4! |Save| will save the entire config-file to ENVARC:DECH.config. |OK| closes the window. Usage of the console: IMPORTANT! (to prevent crash..) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ When you use the console it is important that if you have started a program through 'RP' (or 'Rn') with the console opened and the program outputs text to the console that you must not close it or things might go very wrong!! It is better to close the console and then start your program, editor or viewer so that it will get the original 'stdout'-variable instead, unless you're just debugging a project of yours and don't want your screen full of consoles everytime you test your program :) You can, in the prefs-window, set "Don't touch the stdout console" if you start DECH from a CLI/Shell. Bugs: ~~~~~ * It's not possible to read data from the console DECH opens. Don't know why. Author: ~~~~~~~ Daniel Westerberg e-mail: deniil@algonet.se Send bug-reports and/or suggestions to me. OnyxSoft support.. ~~~~~~~~~~~~~~~~~~ If you like our products, found bugs, have complains or ideas etc. etc. Don't hesitate to contact us.. OnyxSoft productions can be found on our HomePage. Updates and new releases will be there first.. OnyxSoft e-mail : daniel@onyxsoft.nu Deniil's e-mail : deniil@algonet.se OnyxSoft HomePage : www.onyxsoft.nu/ Deniil's HomePage : www.algonet.se/~deniil/ We just love to get response from other Amiga-freaks!! As this program is made by Deniil I prefer that you mail to "deniil@algonet.se" rather than onyxsoft.. Thanx!