home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 18 REXX / 18-REXX.zip / INIT_A.ZIP / INIT.GML < prev    next >
Text File  |  1991-10-18  |  8KB  |  300 lines

  1. <!DOCTYPE DM SYSTEM >
  2.  
  3. <!-- VARIABLE CLASS DECLARATION -->
  4. <varclass name = selcls
  5.     type = 'numeric 1'>
  6. <varclass name = text
  7.     type = 'char 60'>
  8. </varclass>
  9.  
  10. <!-- VARIABLE DECLARATION -->
  11. <varlist>
  12. <vardcl name=begin
  13.       varclass = selcls>
  14. <vardcl name=comm
  15.       varclass = selcls>
  16. <vardcl name=dbm
  17.       varclass = selcls>
  18. <vardcl name=qm
  19.       varclass = selcls>
  20. <vardcl name=edit
  21.       varclass = selcls>
  22. <vardcl name=elap
  23.       varclass = text>
  24. <vardcl name=file
  25.       varclass = selcls>
  26. <vardcl name=dosa
  27.       varclass = selcls>
  28. <vardcl name=comma
  29.       varclass = selcls>
  30. <vardcl name=dbma
  31.       varclass = selcls>
  32. <vardcl name=qma
  33.       varclass = selcls>
  34. <vardcl name=edita
  35.       varclass = selcls>
  36. <vardcl name=filea
  37.       varclass = selcls>
  38. </varlist
  39.  
  40. <!-- panel definition for INIT -->
  41. <panel name = init
  42.        depth = 15
  43.        keylist = init
  44.        help=inithlp
  45.        width = 60  >
  46.        Option Initiation
  47.  
  48. <!-- ACTION BAR DEFINITION -->
  49. <ab>
  50.  
  51. <!-- action bar choice FILE -->
  52. <abc> Initialize
  53. <pdc help=hbegin
  54.      > Begin
  55.     <action run=init>
  56. <pdc help=hdos
  57.      availvar=dosa
  58.      >ReIPL for DOS
  59.     <action run=dos>
  60.  
  61. <!-- action bar choice EXIT -->
  62. <abc>Exit
  63. <pdc >Exit   F3
  64.      <action run=end>
  65. <pdc >Resume
  66.      <action run=resume>
  67.  
  68. <!-- action bar choice HELP -->
  69. <abc>Help
  70. <pdc >Extended Help
  71.      <action run=help>
  72. </ab>
  73.  
  74.  
  75. <!-- Client area for INIT -->
  76.  
  77. <dtacol pmtwidth=0 >
  78.  
  79. <dtafld datavar=elap
  80.         entwidth=60
  81.         usage=out>
  82.  
  83. </dtacol>
  84.  
  85.  <divider>
  86.  
  87.  
  88. <dtacol pmtwidth=28
  89.       selwidth=30>
  90.  
  91. <selfld pmtloc=before  type=multi>   Check ALL items to be started
  92. <choice name=comm1
  93.         checkvar = comm
  94.         availvar = comma
  95.         help=hcomm
  96.         >     <m>Communications Manager
  97.         <action setvar=comm value=1>
  98. <choice name=dbm1
  99.         checkvar = dbm
  100.         availvar = dbma
  101.         help=hdbm
  102.         >     <m>Database Manager
  103.         <action setvar=dbm value=1>
  104. <choice name=file1
  105.         checkvar = file
  106.         availvar = filea
  107.         help=hfm
  108.         >     <m>File Manager
  109.         <action setvar=file value=1>
  110. <choice name=qm1
  111.         checkvar = qm
  112.         availvar = qma
  113.         help=hqm
  114.         >     <m>Query Manager
  115.         <ACTION SETVAR=QM VALUE=1>
  116. <choice name=edit1
  117.         checkvar = edit
  118.         availvar = edita
  119.         help=hed
  120.         >     <m>Editor
  121.         <action setvar=edit value=1>
  122. </selfld>
  123. </dtacol>
  124.  
  125.  <divider>
  126.  
  127.  
  128. <!-- Push Buttons for INIT -->
  129.  
  130. <dtacol selwidth=10>
  131. <selfld dir=horiz type=action>
  132.  <choice  name=begin1
  133.           checkvar = begin
  134.           help=hbegin
  135.           >Begin
  136.     <action run=init>
  137.  <choice  name=dos1
  138.           availvar=dosa
  139.           help=hdos
  140.           > Dos
  141.     <action run=dos>
  142.  <choice> Help
  143.     <action run=help>
  144. </selfld>
  145. </dtacol>
  146. </panel>
  147.  
  148.  
  149.  
  150. <!-- ***************** H E L P   P A N E L S ****************** -->
  151.  
  152. <help name=inithlp> Option Initialization
  153.     <itop roots='start starting'>Starting OS/2 Managers
  154.     <area>
  155.     <info>
  156.     <p> This panel will display a list of check boxes.  These check boxes
  157.         will be selectable for each OS/2 EE manager the system finds
  158.         installed on your system.  If a manager is not found, its choice
  159.         will be grayed and not selectable.
  160.     <p> The system will remember your choices from the last time you
  161.         used the Option Initialization procedure.  These choices will be
  162.         displayed as prechecked.
  163.     <p> If you have installed the dual boot feature, the DOS pushbutton
  164.         and action bar pulldown choice will also be selectable.  In order
  165.         to use the dual boot capability select DOS.  The first time you
  166.         do this a message popup will appear instructing you to acknowledge
  167.         the popup and select DOS again.  If you do this your machine will
  168.         REBOOT immediately. NOTE: The normal message from the BOOT command
  169.         will be suppressed!
  170.     <p> Across the top of the screen the system will display the current
  171.         date.  This display includes the current Julian day followed by
  172.         the number of days remaining in the year i.e. 1/364 for the first
  173.         of January.
  174.  
  175.     </info>
  176.     </area>
  177. </help>
  178. <help name=hcomm> Communications Manager
  179.     <itop roots='comm manager start starting'>Starting Communications Manager
  180.     <area>
  181.     <info>
  182.     <p> By selecting this choice the OS/2 Communications Manager will
  183.         be automatically started.  It will use the default
  184.         configuration file.
  185.     <p> Remember you may only have one instance of Communications
  186.         Manager running a a time within your machine.
  187.     </info>
  188.     </area>
  189. </help>
  190.  
  191. <help name=hdbm> Database Manager
  192.     <itop roots='data database manager start starting'>Starting Database Manager
  193.     <area>
  194.     <info>
  195.     <p> By selecting this choice the OS/2 Database Manager will
  196.         be automatically started.
  197.     <p> This is the database manager ONLY.  This will allow you
  198.         to logon to the database and run programs which use dabase
  199.         manager services.
  200.     <p> This choice will not start the OS/2 Query Manager
  201.     </info>
  202.     </area>
  203. </help>
  204.  
  205. <help name=hfm> File Manager
  206.     <itop roots='file filer manager start starting'>Starting File Manager
  207.     <area>
  208.     <info>
  209.     <p> By selecting this choice the OS/2 File Manager will
  210.         be automatically started.
  211.     </info>
  212.     </area>
  213. </help>
  214.  
  215. <HELP NAME=HQM> Query Manager
  216.     <itop roots='data database manager query start starting'>Starting Query Manager
  217.     <area>
  218.     <info>
  219.     <p> By selecting this choice both the OS/2 Database Manager and
  220.         the OS/2 Query Manager will be automatically started.
  221.     <p> This will allow you to logon to the database and run
  222.         programs which use dabase manager services.  It will also
  223.         bring up the OS/2 Query Manager for interactive use.
  224.     </info>
  225.     </area>
  226. </help>
  227. <help name=hed> Editor
  228.     <itop roots='edit editor start starting'>Starting Your Editor
  229.     <area>
  230.     <info>
  231.     <p> By selecting this choice an Editor session will
  232.         be automatically started.
  233.     <p> The editor which will be started is the one whose FULL path
  234.         name you specified on the command line which started the
  235.         Option initialization procedure.
  236.     <p> If you did not specify any Editor on the command line the
  237.         system will attempt to start the OS/2 system editor from its
  238.         default instalation directory on drive C:
  239.     </info>
  240.     </area>
  241. </help>
  242.  
  243. <!-- Command help -->
  244.  
  245. <help name=hbegin> BEGIN Command
  246.     <icmd>BEGIN
  247.     <area>
  248.     <info>
  249.     <p> When you activate this choice all the applications which
  250.         you checked in the list will be started.  If you did not
  251.         check any choices none will be started.  After each
  252.         application has been invoked the Option Initialization screen
  253.         will automatically be closed.
  254.     </info>
  255.     </area>
  256. </help>
  257. <help name=hdos> DOS Command
  258.     <icmd>DOS
  259.     <area>
  260.     <info>
  261.     <p> When you activate this choice all the applications which
  262.         you checked in the list will be started.  If you did not
  263.         check any choices none will be started.  After each
  264.         application has been invoked the Option Initialization screen
  265.         will automatically be closed.
  266.     </info>
  267.     </area>
  268. </help>
  269.  
  270.  
  271. <!-- KEY LIST TABLE -->
  272.  
  273. <keyl name=init>
  274.   <keyi key=f3 cmd=end>
  275. </keyl>
  276.  
  277.  
  278. <!-- MESSAGE TABLE -->
  279.  
  280. <msgmbr name=inta00>
  281.         <msg suffix=1 msgtype=warning help=dos >
  282.         Choose OK then press DOS again to REBOOT.  ALL
  283.         data not already saved will be LOST!
  284.         </msg>
  285. </msgmbr>
  286.  
  287.  
  288. <!-- VALID COMMAND TABLE -->
  289.  
  290. <cmdtbl applid=ipl
  291.       <cmd name=end>
  292.           <cmdact action=passthru>
  293.       <cmd name=dos>
  294.           <cmdact action=passthru>
  295.       <cmd name=init>
  296.           <cmdact action=passthru>
  297.       <cmd name=resume>
  298.           <cmdact action=passthru>
  299. </cmdtbl>
  300.