home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / greed223.zip / TemplEd.HLP (.txt) < prev   
OS/2 Help File  |  1997-11-30  |  48KB  |  281 lines

  1.  
  2. ΓòÉΓòÉΓòÉ 1. Introduction ΓòÉΓòÉΓòÉ
  3.  
  4.  
  5. Template Editor for General Rexx Extended Editor (Greed) - is a universal 
  6. editor to edit zero terminated character strings in the INI-format files. 
  7.  
  8. Note:  It's no editor for the not printable characters! 
  9. Template Editor is the part of Greed however it is an independent module and it 
  10. can work out of the main program too. 
  11.  
  12. Copyright 
  13. Disclaimer 
  14. Thanks 
  15. Author 
  16. Motto 
  17.  
  18.  
  19. ΓòÉΓòÉΓòÉ 2. Standard buttons. ΓòÉΓòÉΓòÉ
  20.  
  21.  
  22.           In most of Template Editors's windows you'll find the keys (Push 
  23.           Buttons) which have same meaning everywhere: 
  24.  
  25.               Undo - all changes are suspended. 
  26.               Default - the affected options are set to their standard values. 
  27.               Help - the context sensitive help will be displayed. 
  28.               OK - all changes will be saved and the window closed. 
  29.               Save - all changes will be saved but the window will be not 
  30.                closed. 
  31.  
  32.           All other buttons, if present,  have their own description in the 
  33.           context sensitive help windows. 
  34.  
  35.  
  36. ΓòÉΓòÉΓòÉ 3. Greed Templates Controller. ΓòÉΓòÉΓòÉ
  37.  
  38.  
  39.           Greed Templates Controller is an Add-On product for GREED. You can 
  40.           use it to work with the templates that are written into either your 
  41.           own templates files or standard GREED-templates files, but they are 
  42.           out of reach the main menu option Rexx 
  43.           It is a container with a tree-view of template applications. You can 
  44.           copy the template's code into the clipboard either via the pop-up 
  45.           menu or via the double mouse click (button 1) on the function name. 
  46.           This kind of work allows you to use Greed Templates Controller for 
  47.           all possible editors which can paste from the clipboard. 
  48.           See help of Greed Templates Controller for more information. 
  49.  
  50.  
  51. ΓòÉΓòÉΓòÉ 4. Browser. ΓòÉΓòÉΓòÉ
  52.  
  53.  
  54.           PM Browser is a program to view all sorts of files in both: 
  55.  
  56.               text mode or 
  57.               hexadecimal mode. 
  58.  
  59.           You can't directly edit the already viewed file, although you can 
  60.           call the OS/2 system editor to do that. 
  61.           In the hexadecimal mode, the hex digit will be showed verticaly below 
  62.           the character line: 
  63.  
  64.               zone in the first line after and 
  65.               numeric in the second line. 
  66.  
  67.           See help of PM Browser for more information. 
  68.  
  69.  
  70. ΓòÉΓòÉΓòÉ 5. Open edit file. ΓòÉΓòÉΓòÉ
  71.  
  72.  
  73.           To open an existing file for edit, use menu option Open from the main 
  74.           option File. You get the standard OS/2 dialog box to open a file. You 
  75.           can select the drive, the directory and file you want to open. 
  76.           Use the OK button to confirm or Cancel to suspend your choice. 
  77.  
  78.  
  79. ΓòÉΓòÉΓòÉ 6. Merge. ΓòÉΓòÉΓòÉ
  80.  
  81.  
  82. This option help you to append Applications from other FNC-file into your 
  83. current FNC-file. 
  84. You get the standard OS/2 dialog box to open a file. You can select the drive, 
  85. the directory and file you want to merge. 
  86. After you confirm the merge file you get the extra window with the list of all 
  87. its Application names. You can select Applications to merge per mouse click on 
  88. the Application name in the first List box. 
  89. The click on the Name in the second List box deselect this Application. 
  90. If you confirm your choice with the OK-key, the Applcations will be inserted 
  91. into the current FNC-file. 
  92.  
  93.  
  94. ΓòÉΓòÉΓòÉ 7. Import (@,%,$). ΓòÉΓòÉΓòÉ
  95.  
  96.  
  97. You can edit the Template File as ordinary text file using anyone text editor. 
  98. To create your code templates on this way you must only simply separate the 
  99. Application, Key and Value records. 
  100. There are three key characters you should use to separate this templates 
  101. elements: 
  102.  
  103.      @ - as Applications separator. 
  104.      % - as Key separator. 
  105.      $ - as Value (code section) separator. 
  106.  
  107.  The separators must be the first characters of this elements. The Application 
  108.  and the Key can only be one record. Their length can't exceed 255 characters. 
  109.  For the code section use the separator character only once at the beginning of 
  110.  text. 
  111.  A sample for adding a Rexx API section in the Greed Templates is shown as 
  112.  follows: 
  113.  
  114.       @RexxAPI 
  115.       %RxFuncAdd 
  116.       $/*----------(Register new Rexx functions)-----------*/ 
  117.       rc = RxFuncAdd(function_name, dll_module, procedure) 
  118.       If rc > 0 Then 
  119.        Say 'Error:' function_name 'not for REXX available' 
  120.       %RxFuncDrop 
  121.       $/*------------(Deregister Rexx Function)------------*/ 
  122.       rc = RxFuncDrop(function_name) 
  123.       If rc > 0 Then 
  124.        Say 'Error:' function_name 'not deregistered' 
  125.       %RxFuncQuery 
  126.       $/*----------(Availability of the Function)----------*/ 
  127.       rc = RxFuncQuery(function_name) 
  128.       If rc > 0 Then 
  129.        Say function_name 'not for REXX registered' 
  130.  
  131.  Note:  You can create multiple Applications with the @ character. 
  132.  This menu option help you to transfer so formated text into your *.FNC-file. 
  133.  You get an Open Import File Dialog box. The standard extension for the importe 
  134.  file is *.EXT . After the file was imported the new file get the extention 
  135.  *.FNC and the same name as the .EXT-file. ╨ü╨æA 
  136.  
  137.  
  138. ΓòÉΓòÉΓòÉ 8. Save as. ΓòÉΓòÉΓòÉ
  139.  
  140.  
  141. To save an even edited file under new name you get the standard OS/2 dialog box 
  142. to save a file. 
  143. Select the drive, path and write new name you like. 
  144. If you confirm your choice with the OK-key, the new file will be saved. 
  145.  
  146.  
  147. ΓòÉΓòÉΓòÉ 9. Delete. ΓòÉΓòÉΓòÉ
  148.  
  149.  
  150. With the option Delete from the menu option File you can delete the file being 
  151. actually edited. 
  152. You will be prompted to confirm the delete request: 
  153.  
  154.      Select OK-key to delete or 
  155.  
  156.      Cancel-key to cancel delete request. 
  157.  
  158.  
  159. ΓòÉΓòÉΓòÉ 10. Clipboard. ΓòÉΓòÉΓòÉ
  160.  
  161.  
  162.           You can use the Clipbord in the same manner as used by other editors: 
  163.  
  164.                Cut 
  165.                Copy 
  166.                Paste. 
  167.  
  168.           Additionally you have a tiny Clipboard editor which helps you to edit 
  169.           the contents of the clipboard separately. 
  170.           In this editor you can: 
  171.  
  172.                Paste from clipboard to multiply its contents, 
  173.                Undo the last change, 
  174.                Delete the Clipboards contents and 
  175.                Save the edited text back. 
  176.  
  177.  
  178. ΓòÉΓòÉΓòÉ 11. Clear text. ΓòÉΓòÉΓòÉ
  179.  
  180.  
  181. They are an option that allow you to clear the total text you are editing: 
  182.  
  183.      Clear all - to delete the entire text in the Value window. 
  184.  
  185.  Note:  If you have cleared the total text and saved your file - the empty 
  186.  value will be saved. 
  187.  
  188.  
  189. ΓòÉΓòÉΓòÉ 12. Change font. ΓòÉΓòÉΓòÉ
  190.  
  191.  
  192. You can change the font settings using the systems font palette but you can 
  193. also use internal Template Editor possibilities too. 
  194. You can select new fonts for the Application. Key and Value windows separately. 
  195. To change a font select the desired font name and font size on the Font page of 
  196. the Change Font Dialog Boxes. 
  197. The changes can immediately be seen in the pages test field and in Template 
  198. Editor's edit window. 
  199.  
  200.  
  201. ΓòÉΓòÉΓòÉ 13. Last change. ΓòÉΓòÉΓòÉ
  202.  
  203.  
  204. Template Editor's last change at 18.May.97 
  205. Current Version: 1.06 
  206.  
  207.  
  208. ΓòÉΓòÉΓòÉ 14. Thanks ΓòÉΓòÉΓòÉ
  209.  
  210.            Especially great thanks to Heribert Josef Gruenbauer 
  211.           (76155.3335@compuserve.com), for many new ideas, improvement 
  212.           suggestions (some of these you can see already in this release) and 
  213.           encouragement to further developement of Greed. Moreover, he is the 
  214.           author of the new Greed Icons, all Bitmaps and the main co-author of 
  215.           this information file. 
  216.           David L. White for his help in testing this product. He had new ideas 
  217.           and did some improvement suggestions and the correction of many 
  218.           texts. Moreover, he is the author of the HTML Code templates. That is 
  219.           a part of this packaging (html.fnc). 
  220.           Peter MacCarthy-Morrogh for correction of this help and info files 
  221.           and for his help in testing this product. 
  222.           Uwe Aust for his help in testing this product. 
  223.           To all the following GREED users thanks for draw my attention to some 
  224.           bugs and problems, for some im provement suggestions and requests and 
  225.           for praising of my job. I hope, with this version, to fulfil the most 
  226.           of these requests. 
  227.  
  228.                     - Tobias Herp         100073.3563@compuserve.com
  229.                     - Peter Adeberg        101456.3332@compuserve.com
  230.                     - Gerald Goertzel       70740.503@compuserve.com
  231.                     - Gottfried Enderer      Gottfried.Enderer@lessons.sesom.de
  232.  
  233.  
  234. ΓòÉΓòÉΓòÉ 15. Motto ΓòÉΓòÉΓòÉ
  235.  
  236. No windows, No gates, No bill!
  237.  
  238.  
  239. ΓòÉΓòÉΓòÉ 16. Author ΓòÉΓòÉΓòÉ
  240.  
  241.                     Janosch R. Kowalczyk
  242.                     Oberwaldstrasse 42
  243.                     D-63538 Grosskrotzenburg
  244.                     GERMANY
  245.  
  246.                     Telephone:  0049 6186 201676
  247.                     CompuServe:  Janosch
  248.                     Internet:   Janosch@compuserve.com
  249.  
  250.                     Please send your improvement suggestions
  251.                     and your bug reports via email.
  252.  
  253.  
  254. ΓòÉΓòÉΓòÉ 17. Disclaimer ΓòÉΓòÉΓòÉ
  255.  
  256.            This package is provided as is, without any guarantees or warrantees 
  257.           whatsoever. The author is not liable or responsible for any loss or 
  258.           damage of any kind whatsoever, including, but not limited to, losses 
  259.           of a financial, physical, emotional, marital, social, or mental 
  260.           nature that may result from the use or the purported use of anything 
  261.           in this package, for any purpose whatsoever. 
  262.  
  263.           Thanks to Michael Schillingford for this wording. 
  264.  
  265.  
  266. ΓòÉΓòÉΓòÉ 18. Copyright ΓòÉΓòÉΓòÉ
  267.  
  268.  
  269.           (C) Copyright 1995, 1997 by Janosch R. Kowalczyk. All rights reserved 
  270.           Template Controller (GreedX) is a universal source code controller 
  271.           from Janosch R. Kowalczyk. 
  272.           This version of Templates Controller is free of charge -> but it 
  273.           isn't FREEWARE. You are allowed to use this program as an "evaluation 
  274.           copy" for private puposes only. With this present version you are not 
  275.           able to change any of the contents except the contents of the *.FNC 
  276.           files. 
  277.           If you like to use this application for education or commercial 
  278.           purposes, contact the  Author for license agreement and pricing. 
  279.           Please send all bug reports and improvement suggestions to the author 
  280.           . See Author for details. 
  281.           Disclaimer