home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: InfoMgt / InfoMgt.zip / os2mb108.zip / mbase.sgs < prev    next >
Text File  |  1997-06-11  |  14KB  |  188 lines

  1. d.***************************************************************
  2. .* Filename: MBASE.SGS                                         *
  3. .*                                                             *
  4. .* This file is parsed by sguide.exe to generate panels for    *
  5. .* the Guidance on MaxBase Use WarpGuide.                      *
  6. .*                                                             *
  7. .***************************************************************
  8. .* TRANSLATOR DIRECTIONS:                                      *
  9. .*                                                             *
  10. .* If the words do not fit in the panel, a scroll bar will     *
  11. .* be dynamically created on the right side of the panel.      *
  12. .* To eliminate the scroll bars adjust the low-res-size,       *
  13. .* med-res-size, and high-res-size of the <sguide> tag.        *
  14. .* To test the size of the translated panels.  Put the         *
  15. .* the printer.sgs file in the os2\help directory and type     *
  16. .* "sguide system" from a OS/2 window command line.            *
  17. ****************************************************************
  18. <sguide notebook low-res-size=(.9,.9) med-res-size=(.9,.9) high-res-size=(.9,.9)>
  19. <title>Guidance on Using MaxBase 1.0
  20. .*******Intro Panel *****
  21. <panel name=main disable-previous next=Requirements
  22.        enable-done hide-undo hide-help
  23.        image-lib=os2imgs.dll image-id=1000>
  24. <title>Hello!
  25. <p>Welcome to the <b>MaxBase SmartGuide</b>!
  26. <p>First off, please check to have the following items in your MaxBase folder 
  27. on the WPS:</p>
  28. <ul>
  29. <li> "Open local DB" (Main MaxBase icon).
  30. <li> "Share DB on the network" (To let other users access your DBs).
  31. <li> "Access a remote DB" (To access other MaxBase DBs on the network).
  32. <li> "db_store" (Where you should store your DBs).
  33. <li> "Docs" (The files you should read - start with readme.1st).
  34. <li> "New DB" (A template to create new DBs - drag and drop it on the db_store folder).
  35. <li> "Get the latest 1.02 Java Runtime!" (An URL object to retrieve up-to-date versions of the Java runtime).
  36. </ul>
  37. <p>
  38. If you don't have one or more elements, it means that the installer couldn't do its job properly. Please contact MaxBase author (see BUGS! section) specifying your setup and other relevant info (use of WPS utilities, etc).
  39. </p>
  40. </panel>
  41. .***** MaxBase Requirements Panel *****
  42. <panel name=Requirements next=MaxBase
  43.        previous=main
  44.        enable-done hide-undo hide-help
  45.        image-lib=os2imgs.dll image-id=1001>
  46. <title>Requirements
  47. <p><b>Things to have and to do to use MaxBase.</b>
  48. </p>
  49. <ul>
  50. <li>You should have a recent OS/2 Java rel 1.0.2 (type "java -version" on an OS/2 shell to see what is the one you got). <b>MaxBase won't run on Java 1.0.1!</b>
  51. <li>You should have installed MaxBase in an HPFS drive, because you need long file names.
  52. <li><b>You should reboot your computer after installation before using MaxBase for the first time.</b>
  53. <li>You should have Rexx support installed in order for the installation program to do its job.
  54. </ul>
  55. <p><b>
  56. Warning: to launch the following program you need to have the EPM Enhanced Editor installed (comes with every Warp package).
  57. (close it when you have finished)</b></p>
  58. <al center>
  59. <li action="start epm 'shell java -version'">~Check your Java runtime revision now!
  60. </al>
  61. </panel>
  62. .***** MaxBase Panel **************************************************
  63. <panel name=MaxBase next=plugins
  64.        previous=Requirements
  65.        enable-done hide-undo hide-help
  66.        image-lib=os2imgs.dll image-id=1002>
  67. <title>MaxBase
  68. <p><b>How to use MaxBase.</b></p>
  69. <p>MaxBase ("Open Local DB", or "java MaxBase" from the command line) is the program used to:
  70. <ul>
  71. <li>Create your databases (from the Tools..DB Related..Create DB menu).
  72. <li>Delete and pack them (packing means reindexing them).
  73. <li>Export your DBs in DBIII format, and import DBIII databases.
  74. <li>Add/delete fields, change field names, indexing and length (from the Tools..Field Related menu).
  75. <li>Work with your data.
  76. </ul>
  77. <al=left>
  78. <p>Let's expand this latest point.</p>
  79. <p>To work with your data, you can go to the record panel and add/modify/delete records, order the db on a field, set a filter and so on. <b>Note that when you add one or more records, you must hit the 'refresh' button to see them</b>. When you exit from MaxBase, the current settings (window size/position, properties, filter, used index) will be saved <b>on the directory you have started MaxBase from.</b></p>
  80. <p>If you have installed plugin support, in the main panel you will also see the buttons to launch the plugins (See the plugins page for details).</p>
  81. </al>
  82. <p>Available shortcuts from within MaxBase:
  83. <ul>
  84. <li>Advance to the next entry field: <b>PAGE DOWN</b>.
  85. <li>Return to the previous entry field: <b>PAGE UP</b>.
  86. <li>Advance to the next page (when there are more than 5 fields): <b>CTRL+PAGE DOWN</b>.
  87. <li>Return to the previous page (when there are more than 5 fields): <b>CTRL+PAGE UP</b>.
  88. <li>Confirm add/modify of a record, use the new filter: <b>CTRL+END</b>.
  89. <li>Same as before, but with the a 'cancel' meaning: <b>CTRL+HOME</b>.
  90. <li>Modify a record: <b>select it and double-click on it</b>.
  91. <li>The <b>CTRL+A</b> keys bring you directly into the 'add record' layout. Note that when you start inserting records, the default action after insertion is to insert another record. You need to hit "cancel" to return to the default browse view; this was done to help the people who have to insert a lot of records at once.
  92. <li>The <b>CTRL+B</b> keys when used during record adding / modifying or filtering, delete the field value under cursor.
  93. <li>The <b>ALT+C</b>  keys when used during record adding or modifying, copy the record which was last stored into disk into the current fields (only the fields in the page you're in when you press ALT+C).
  94. <li>The <b>CTRL+C</b> keys when used during record adding or modifying, copy the record which was last stored into disk into the current fields (all the fields  of the page you're in but the one you're on with the cursor).
  95. <li>The <b>CTRL+D</b> keys bring you directly into the 'delete records' layout.
  96. <li>The <b>CTRL+F</b> keys bring you directly into the 'filter' layout.
  97. <li>The <b>CTRL+O</b> keys bring you directly into the 'order' layout.
  98. <li>The <b>CTRL+V</b> keys when used during record adding or modifying, copy the record which was last stored into disk into the current fields (only the field you're on with the cursor).
  99.  
  100.  
  101. </ul>
  102. <p>Why such funky key combinations? Because There is no standard TAB in Java for example. Yes I know you're using OS/2 and your TAB key is just fine, but this program can be used also on NT, Unix etc.</p>
  103. <p><b>Warning: you should reboot your computer after installation before using MaxBase for the first time.</b>
  104. If you did that, and you want to play with MaxBase now, hit the "start MaxBase now" button.</b></p>
  105. <al left>
  106. <li action="start java MaxBase">~Start MaxBase now
  107. </al>
  108. </panel>
  109. .***** Plugins Panel **************************************************
  110. <panel name=plugins next=WPSInteract
  111.        previous=MaxBase
  112.        enable-done hide-undo hide-help
  113.        image-lib=os2imgs.dll image-id=1003>
  114. <title>Plugins
  115. <p><b>How to expand MaxBase capabilities.</b></p>
  116. <p>MaxBase can be expanded by means of PLUGINS, small NetRexx (or Java) programs that let you do things on selected records. But how do they work?</p>
  117. <p>When MaxBase starts up, it looks (among the other things) <b>in the directory it was launched from</b>, for the file <b>plugin.ini</b>. If it is present, you should have one or more <b>couple</b> of lines in it, the first being the name of the plugin, the second being the program to launch when the button is pressed. After the plugin has initialized itself, it receives from MaxBase information about records selected, and therefore it can do whatever it wants on them (locally, NOT on the real DB data), like printing them, using the information to draw a graph, etc.</p>
  118. <p>The included plugins are <b>txtimg</b> (a plugin which will show images and associated text, see the imgs.dat database for an example) and <b>printrec</b> (a plugin which will print record data).</p>
  119. <ul>
  120. <li>If you are interested in creating plugins, please refer to README.PLUGINS in the Docs folder.</p>
  121. <li>If you have InfoZip's unzip push the "unzip plugins" button to activate them. The next time you will open MaxBase from the main MaxBase directory two new buttons will show up in the main panel. 
  122. </ul>
  123. <al left>
  124. <li action="start unzip plugins.zip">~Unzip plugins
  125. <li action="start java MaxBase imgs.dat">~Start MaxBase with plugins
  126. </al>
  127. </panel>
  128. .***** Interacting with the WPS Panel *****
  129. <panel name=WPSInteract next=bugs
  130.        previous=plugins
  131.        enable-done hide-undo hide-help
  132.        image-lib=os2imgs.dll image-id=1004>
  133. <title>WPS and MaxBase
  134. <p><b>How to get the most from your MaxBase under OS/2.</b></p>
  135. <p>MaxBase integrates nicely with OS/2 WorkPlace Shell, even though it doesn't interact with SOM/DSOM. The installation program created some objects in your WPS, and they have been created this way in order to let you use MaxBase in a document-centric fashion.</p>
  136. <p>Drag a <b>"new db"</b> from its template to the <b>db_store</b> shadow folder (the original is located in the main MaxBase directory) to create a new database, customize its name, and then double click on it. Now go to <b>tools..Field Related..Change field</b> name and change the field name. Add other fields, then start adding records. Yes, it is that easy!</p>
  137. <p>When you right click on a .DAT file (the default association for MaxBase DBs) and left-click on 'open as..' you will see at least two options:</p>
  138. <ul>
  139. <li>Open local DB. If you select this (it should be the default action, BTW) the database will be opened locally and you can start working on it directly.
  140. <li>Share DB on the network. When you select this, you will be prompted for a <b>port</b> (use different ports for different DBs! I use port 6789 for tests) and then RXDBServer will start serving remote requests and logging info into log.txt in the db directory.
  141. </ul>
  142. <p><b>I strongly recommend you to use this document-centric way of operating, because it is very powerful. Since MaxBase looks in the directory from where it is launched (and when you double-click on a DB MaxBase is launched from that DB directory) you can (and should, to get the maximum out of MaxBase) have customized .INIs, menus and plugins for every DB.</b> Also, when you exit from MaxBase, the program will automatically save in the current directory the settings in use (window position, active query, how many records to display at once, what index was used last time), so this will add more power to the document-centric way of using MaxBase: it will be like having "customized views" for every DB.</p>
  143. <p><b>NOTES:</b></p>
  144. <ul>
  145. <li> Yes, you can customize MaxBase menus: just copy the maxbase.mnu file which is in the main MaxBase directory into a DB directory, and edit the strings found there. As an example, I have created a maxbase.ita (also in the main MaxBase directory) which makes MaxBase use all italian names and strings. <b>If you customize MaxBase for your language, please let me have that translation, I will add it to the MaxBase distribution package!</b> Note to the note: If you use a dash (-) as a button label, <b>that button will be disabled.</b> (And if the button gives access to a panel, that whole panel will be inaccessible too - useful to protect the DB from "malicious" users)
  146. <li>Your computer can act as a server both on a LAN or on a WAN like the internet. The only requirement is that the network should use the TCP/IP protocol.
  147. <li>You can share as many DBs as you want, only set them at different ports (eg ports 7000, 7001, etc).
  148. <li>Several users, including yourself, can be logged at once into a DB which is shared on the network.
  149. <li><b>There is, on many implementations of the 1.0.2 Java, a bug which makes decimal IP (eg. 10.0.0.1) address resolution fail; please use only alpha-numeric IPs (eg. www.funky.com), or hardwire into your HOSTS file (from the TCP/IP configuration object) the information about who-is-who</b>.
  150. </ul>
  151. </panel>
  152. .***** bugs Panel *****
  153. <panel name=bugs
  154.        previous=WPSInteract next=credits
  155.        enable-done hide-undo hide-help
  156.        image-lib=os2imgs.dll image-id=1005>
  157. <title>Bugs!
  158. <p><b>Things to know when using MaxBase.</b>
  159. </p>
  160. <ul>
  161. <li><b>There is, on many implementations of the 1.0.2 Java, a bug which makes decimal IP (eg. 10.0.0.1) address resolution fail; please use only alpha-numeric IPs (eg. www.funky.com), or hardwire into your HOSTS file (from the TCP/IP configuration object) the info about who-is-who</b>.
  162. <li>The networking extensions have been tested, but not THAT much.
  163. <li>Please report any errors to me, maxmars@pianeta.it.
  164. </ul>
  165. <al center>
  166. <li action="start explore.exe mailto:maxmars@pianeta.it">Mail the author (via ~Web Explorer)
  167. <li action="start netscape.exe mailto:maxmars@pianeta.it?SUBJECT=Bug!">Mail the author (via ~Netscape/2)
  168. </al>
  169. </panel>
  170. .***** Credits Panel *****
  171. <panel name=credits
  172.        previous=bugs disable-next
  173.        enable-done hide-undo hide-help
  174.        image-lib=os2imgs.dll image-id=1006>
  175. <title>Credits
  176. <p><b>I would really like to thank the following people: [listed in alphabetical order]</b>
  177. </p>
  178. <ul>
  179. <li>Giuseppe Aprile, for his .dbf to .dat (and viceversa) functions.
  180. <li>Penny Eads, for being a very precious source of comments and critics.
  181. <li>Andrew Lucas (saCUL) for his many tests while on IRC and a lot of relaxing chatting :-).
  182. <li>Andrea Resmini, for his great MaxBase artworks!
  183. <li>All the people who have contributed to the birth and the developing of MaxBase!
  184. <li>Every application is done <b>for</b> the users. Many thanks to everyone who uses it!
  185. </ul>
  186. </panel>
  187. </sguide>
  188.