home *** CD-ROM | disk | FTP | other *** search
/ ftp.barnyard.co.uk / 2015.02.ftp.barnyard.co.uk.tar / ftp.barnyard.co.uk / cpm / walnut-creek-CDROM / ZSYS / SIMTEL20 / ZCPR3 / VMENU.HLP < prev    next >
Text File  |  2000-06-30  |  32KB  |  903 lines

  1. ;
  2.  
  3.  
  4.                       The ZCPR3 VMENU Shell
  5.  
  6.                       -- ZCPR3 Utilities --
  7.                          1 - VMENU
  8.                          2 - VMENUCK
  9.  
  10.          -- Using VMENU --           -- Programming VMENU --
  11.      U - Using VMENU               P - Programming *.VMN Files
  12.      S - Summary of User Cmds      C - *.VMN Internal Commands
  13.      E - VMENU Error Messages      M - Programming Cmd Summary
  14.                                    Z - VMENU and ZCPR3
  15.  
  16. :1
  17. Command:  VMENU 1.0
  18.  
  19. Syntax:
  20.      VMENU           <-- run MENU.VMN on all files in dir
  21. or
  22.      VMENU afn       <-- run MENU.VMN on files selected by afn
  23. or
  24.      VMEN╒ afε ufε   <-- ruε men⌡ (ufn⌐ on selecteΣ files
  25.  
  26. Function:
  27.  
  28.      VMEN╒á i≤ thσ ZCPR│ men⌡ front-enΣ processor«á  I⌠ i≤ ß ì
  29. ZCPR│ Shel∞ whicΦ read≤ ß *.VM╬ filσ anΣ processe≤á command≤ ì
  30. froφ it.
  31.  
  32. Options:  None
  33.  
  34. Comments:
  35.      VMEN╒á i≤ ß truσ ZCPR│ Shell«á  I⌠ i≤ describeΣ iε thi≤ ì
  36. HEL╨ file.
  37. Selected Error Messages:
  38.  
  39.      "N∩ CommanΣ Lineó mean≤ tha⌠ thσ ZCPR│ Systeφ doe≤á no⌠ ì
  40. suppor⌠á aε externa∞ CommanΣ Linσ Buffer«á  VMEN╒ mus⌠á havσ ì
  41. thi≤ t∩ run.
  42.  
  43.      "N∩á Shel∞ Stackó mean≤ tha⌠ thσ ZCPR│ Systeφ doe≤á no⌠ ì
  44. suppor⌠ ß Shel∞ Stack«  VMEN╒ mus⌠ havσ thi≤ t∩ run.
  45.  
  46.      "Shel∞á Stacδ Fulló mean≤ tha⌠ thσ Shel∞ Stacδ i≤á ful∞ ì
  47. anΣ VMEN╒ canno⌠ pusΦ itselµ ont∩ thσ stack.
  48.  
  49.      "Shel∞á Stacδ Sizeó mean≤ tha⌠ thσ Shel∞ Stacδ element≤ ì
  50. arσ to∩ shor⌠ fo≥ VMEN╒ t∩ storσ it≤ parameters.
  51.  
  52.      "TP┴á Fulló mean≤ tha⌠ therσ i≤ no⌠ enougΦ rooφ iεá thσ ì
  53. TP┴ t∩ loaΣ thσ *.VM╬ file.
  54.  
  55. Examples of Use:
  56.      See this HELP file
  57.  
  58.      VMEN╒ i≤ thσ ZCPR│ Menu-OrienteΣ CommanΣá Preprocessor«  ì
  59. I⌠á act≤ a≤ ß front-enΣ t∩ ZCPR3¼á providinτ ß menu-orienteΣ ì
  60. use≥ interfacσ t∩ ZCPR3«  It≤ functioε caε bσ representeΣ b∙ ì
  61. thσ followinτ diagram:
  62.                   -------    -------    -------    -------
  63.                   |V    |    |Z    |    |B    |    |P    |
  64.    User           | M   |    | C   |    | D   |    | g   |
  65.    Menu      ---->|  E  |--->|  P  |--->|  O  |--->|  m  |
  66.    Command        |   N |    |   R |    |   S |    |   s |
  67.                   |    U|    |    3|    |     |    |     |
  68.                   -------    -------    -------    -------
  69.  
  70.      Thσ "Use≥ Men⌡ Commandó i≤ ß singlσ characte≥ tha⌠á thσ ì
  71. use≥á strike≤á whicΦ instruct≤ VMEN╒ t∩ perforφ ßá function«  ì
  72. Oncσá VMEN╒á begin≤ processinτ thi≤ function¼á i⌠á build≤á ß ì
  73. commanΣá linσá fo≥ ZCPR3¼á optionall∙ askinτá thσá use≥á fo≥ ì
  74. furthe≥á inpu⌠á (sucΦ a≤ ß filσ name)¼á anΣ theε passe≤á thσ ì
  75. commanΣá linσ t∩ ZCPR│ viß thσ CommanΣ Linσá Buffer«á  ZCPR│ ì
  76. theε run≤ thσ commanΣ linσ return≤ t∩ VMENU.
  77.  
  78.      VMEN╒á build≤ commanΣ line≤ baseΣ oε simplσ inpu⌠á froφ ì
  79. thσ user«á  Thσ use≥ neeΣ neve≥ kno≈ wha⌠ thσ actua∞ commanΣ ì
  80. linσ is«  Thσ commanΣ linσ itselµ i≤ alway≤ oµ thσ form:
  81.  
  82.               <command> <optional user input>
  83.  
  84.      A≤á aε example¼á ß commanΣ buil⌠ b∙ VMEN╒ t∩á ruεá XDI╥ ì
  85. witΦá use≥ inpu⌠ fo≥ ß filσ namσ specification¼á coulΣá looδ ì
  86. likσ thσ following:
  87.  
  88.                      XDIR <user input>
  89.  
  90.  
  91.      Wheε VMEN╒ i≤ executed¼á i⌠ look≤ fo≥ thσ filσ MENU.VM╬ ì
  92. iε thσ curren⌠ directory«á  Iµ i⌠ find≤ one¼ i⌠ load≤ i⌠ anΣ ì
  93. begin≤á processing«á  Iµá i⌠ doe≤ no⌠ finΣá one¼á i⌠á simpl∙ ì
  94. exits«á  ┴á filσ namσ ma∙ bσ specifieΣ iε thσ VMEN╒á commanΣ ì
  95. linσ t∩ selec⌠ ß filσ othe≥ thaε MENU.VMN.
  96.  
  97.      Thσá MENU.VM╬á filσ caε contaiε u≡ t∩ 25╡ menu≤á t∩á bσ ì
  98. processeΣ b∙ VMENU«á  Thσ VMEN╒ wil∞ begiε processinτ a⌠ thσ ì
  99. firs⌠ men⌡ iε MENU.VMN.
  100.  
  101.  
  102.      VMEN╒á itselµá i≤ ß CO═ file¼á likσ an∙á othe≥á prograφ ì
  103. unde≥á ZCPR3«á  Unlikσá mos⌠á othe≥á programs¼á however¼á i⌠ ì
  104. generate≤á commanΣ line≤ t∩ bσ executeΣ b∙ ZCPR│ anΣá store≤ ì
  105. it≤á returε commanΣ iε thσ Shel∞ Stack«á  Iε thi≤ wa∙ ß loo≡ ì
  106. i≤ se⌠ up:
  107.  
  108.                -->--+->- VMENU ->- ZCPR3 ->-+
  109.                     ^                       v
  110.                     |                       |
  111.                     +-<- Command Line -<----+
  112.  
  113.      Onl∙á VMEN╒á itselµá o≥ ß ZCPR│ too∞á likσá SHCTR╠á caε ì
  114. terminatσ thi≤ loop«  Iµ thσ VMEN╒ programme≥ wishes¼ hσ caε ì
  115. se⌠á u≡á thσ MENU.VM╬ filσ s∩ tha⌠ thi≤ loo≡ wil∞á neve≥á bσ ì
  116. exited¼ o≥ hσ caε se⌠ u≡ thσ filσ t∩ allo≈ anyonσ t∩ exi⌠ a⌠ ì
  117. an∙á timσ o≥ jus⌠ ß specia∞ persoε wh∩ know≤ ßá passworΣá t∩ ì
  118. exi⌠á wheεá hσá wishe≤ to«á  Therσ i≤ ß lo⌠á oµá flexibilit∙ ì
  119. designeΣ int∩ thσ system¼á anΣ i⌠ wil∞ bσ discusseΣ late≥ iε ì
  120. thσ sectioε oε programminτ MENU.VM╬ files.
  121.      ┴á MENU.VM╬á filσ caε bσ se⌠ u≡ t∩á executσá an∙á ZCPR│ ì
  122. commanΣ o≥ sequencσ oµ commands«  Thσ MENU.VM╬ filσ caε als∩ ì
  123. bσ se⌠ u≡ t∩ no⌠ allo≈ thσ use≥ t∩ leavσ VMENU¼ t∩ allo≈ hiφ ì
  124. t∩ leavσ VMEN╒ a⌠ will¼á o≥ t∩ allo≈ hiφ t∩ leavσ VMEN╒ onl∙ ì
  125. iµ hσ know≤ ß password.
  126.  
  127.      Thi≤á HEL╨ filσ i≤ divideΣ int∩ tw∩ basiπá parts«á  Thσ ì
  128. inf∩á section≤á oεá "Usinτá VMENUóá anΣá "Summar∙á oµá VMEN╒ ì
  129. Commandsó arσ designeΣ t∩ bσ reaΣ b∙ ß persoε wantinτ t∩ usσ ì
  130. VMEN╒á bu⌠á no⌠ wantinτ t∩ learε ho≈ VMEN╒ work≤ o≥á ho≈á t∩ ì
  131. prograφá it«á  Thesσ section≤ describσ ho≈ t∩ movσ froφá onσ ì
  132. men⌡á t∩ another¼á ho≈ t∩ issuσ VMEN╒ commands¼á anΣ ho≈á t∩ ì
  133. leavσ VMEN╒ iµ thσ optioε i≤ presenteΣ t∩ him.
  134.  
  135.      Thσá othe≥á section≤á oµ thi≤ HEL╨á filσá describσá thσ ì
  136. programminτá aspect≤ oµ VMEN╒ anΣ arσ intendeΣ t∩ bσ useΣ a≤ ì
  137. aεá onlinσ referencσ fo≥ thσ VMEN╒á programmer«á  Thσá VMEN╒ ì
  138. commanΣá programminτ summar∙ i≤ especiall∙ usefu∞ iε tha⌠ i⌠ ì
  139. provide≤áá ßá summar∙á oµá thσá command≤á whicΦá thσáá VMEN╒ ì
  140. programme≥ ma∙ issuσ t∩ VMEN╒ withiε ß *.VM╬ file.
  141. :U
  142.  
  143.      Wheε VMEN╒ i≤ firs⌠ invoked¼á i⌠ wil∞ bσ installeΣ a≤ ß ì
  144. Shell¼áá anΣá contro∞á wil∞á returεá t∩á thσá ZCPR│á commanΣ ì
  145. processo≥á fo≥á thσá nex⌠ commanΣ iεá thσá line«á  Wheεá thσ ì
  146. commanΣá linσ i≤ exhausted¼á ZCPR│ wil∞ realizσ tha⌠ ß shel∞ ì
  147. has been installed and invoke VMENU as a shell.
  148.  
  149.      VMEN╒ wil∞ theε comσ up¼ loaΣ thσ name≤ oµ thσ file≤ iε ì
  150. thσ curren⌠ disδ directory¼á loaΣ thσ men⌡ file¼ anΣ displa∙ ì
  151. u≡á t∩ sixteeε file≤ anΣ thσ firs⌠ men⌡ iε thσ men⌡ filσá t∩ ì
  152. the user.  The user will then be prompted for a command.
  153.  
  154.      Iµá a⌠ an∙ timσ ß Men⌡ Displa∙ i≤ garbled¼á jus⌠ strikσ ì
  155. thσ ^╥ key«  ^╥ refreshe≤ thσ men⌡ a⌠ al∞ times.
  156.  
  157.  
  158.      Thσá promp⌠á whicΦ appear≤ a⌠ thσ bottoφá oµá thσá Men⌡ ì
  159. displa∙ ha≤ thσ followinτ genera∞ form:
  160.  
  161. Command (<CR>=Menu,^C=Z3,*=1st Menu,<=Prev Menu,>=Next Menu) -
  162.  
  163.      Therσá caεá bσ u≡ t∩ 25╡ menu≤ iε onσá VMENU.VM╬á file«  ì
  164. Thσá VMEN╒á commanΣá promp⌠ varie≤á t∩á reflec⌠á this«á  Fo≥ ì
  165. instance¼á iµá onl∙á onσ Men⌡ wa≤ presen⌠ anΣ thσ optioεá t∩ ì
  166. abor⌠ ou⌠ oµ VMEN╒ t∩ ZCPR│ wa≤ no⌠ available¼ theε thσ Men⌡ ì
  167. CommanΣ promp⌠ woulΣ takσ it≤ simples⌠ form¼ lookinτ like:
  168.  
  169. Command (<CR>=Menu) -
  170.  
  171.      Strikσá ^╥ a⌠ thi≤ timσ t∩ refresΦ thσ Men⌡ Displa∙á o≥ ì
  172. strikσ thσ characte≥ oµ ß Men⌡ Option«á  Thesσ arσ thσá onl∙ ì
  173. choices¼á anΣá strikinτ ß characte≥ whicΦ i≤ no⌠ thσá RETUR╬ ì
  174. ke∙ o≥ ß men⌡ optioε result≤ iε thσ bel∞ sounding.
  175.  
  176.  
  177.      Iµá thσá thσ optioε t∩ exi⌠ t∩ ZCPR│ wa≤ availablσá anΣ ì
  178. therσá i≤á onl∙á onσ Men⌡ iε thσá MENU.VM╬á file¼á theεá thσ ì
  179. commanΣ linσ wil∞ looδ likσ this:
  180.  
  181. Command (<CR>=Menu,^C=Z3) -
  182.  
  183.      Thσá optioε oµ abortinτ t∩ ZCPR│ b∙ strikinτá Control-├ ì
  184. (holΣá dowεá oε thσ Control¼á o≥ CTRL¼á ke∙ anΣá strikσá thσ ì
  185. lette≥ C⌐ i≤ no≈ available«á  Thi≤ wil∞ returε t∩ ZCPR│á anΣ ì
  186. exi⌠ VMENU.
  187.  
  188.      Onσá brieµ notσ oε optioε letter≤ beforσ goinτ on«á  Iµ ì
  189. onσá oµ you≥ option≤ i≤ ß lette≥ iε thσ rangσ froφ ┴á t∩á Z¼ ì
  190. theε casσ i≤ no⌠ significant¼á anΣ yo⌡ caε invokσ thσ optioε ì
  191. A¼ say¼ b∙ strikinτ aε upper- o≥ lower-casσ A.
  192.  
  193.  
  194.      Iµá therσ i≤ morσ thaε onσ men⌡ iε thσ *.VM╬ file¼á thσ ì
  195. commanΣ linσ option≤ becomσ slightl∙ morσ complex¼á bu⌠ the∙ ì
  196. arσ stil∞ quitσ eas∙ t∩ follow.
  197.  
  198.      Iεá thσ followinτ examples¼á assumσ tha⌠ thσ optioεá t∩ ì
  199. exi⌠ t∩ ZCPR│ i≤ off¼ s∩ thσ "^C=Z3ó optioε wil∞ NO╘ appear.
  200.  
  201.      Froφ thσ firs⌠ men⌡ iε thσ file¼á thσ commanΣ linσ wil∞ ì
  202. looδ likσ thσ following:
  203.  
  204. Command (<CR>=Menu,>=Next Menu) -
  205.  
  206.      T∩ advancσ t∩ thσ nex⌠ menu¼á strikσ thσ ">ó o≥ thσ ".ó ì
  207. character«á  Oε mos⌠ keyboards¼ ">ó i≤ thσ shif⌠ oµ thσ "."¼ ì
  208. s∩ VMEN╒ permit≤ eas∙ movemen⌠ withou⌠ havinτ t∩ worr∙ abou⌠ ì
  209. shiftinτ thσ keyboarΣ al∞ thσ time.
  210.  
  211.  
  212.      Iµ a⌠ thσ las⌠ men⌡ iε thσ file¼á thσ commanΣ linσ wil∞ ì
  213. looδ likσ thσ following:
  214.  
  215. Command (<CR>=Menu,*=1st Menu,<=Prev Menu) -
  216.  
  217.      Thi≤á allow≤á thσ use≥ t∩ strikσ thσ "*óá characte≥á t∩ ì
  218. jum≡á bacδ t∩ thσ firs⌠ men⌡ iε hi≤ *.VM╬ file«á  Iµ "<óá o≥ ì
  219. ",óá i≤ strucδ ("<ó i≤ usuall∙ thσ shif⌠ oµ thσá ",")¼á theε ì
  220. thσá use≥ wil∞ bacδ u≡ onσ men⌡ t∩ thσ previou≤ men⌡ iεá thσ ì
  221. file.
  222.  
  223.      Iµ thσ use≥ i≤ somewherσ iε thσ middlσ oµ thσá MENU.VM╬ ì
  224. file¼ hi≤ commanΣ linσ wil∞ looδ likσ this:
  225.  
  226. Command (<CR>=Menu,*=1st Menu,<=Prev Menu,>=Next Menu) -
  227.  
  228.      Again¼á "*ó wil∞ g∩ directl∙ t∩ thσ firs⌠ menu¼á "<ó o≥ ì
  229. ",ó wil∞ g∩ t∩ thσ previou≤ menu¼á anΣ ">ó o≥ ".ó wil∞ g∩ t∩ ì
  230. thσá nex⌠á menu«á  Strikinτ thσ RETUR╬ ke∙ wil∞ refresΦá thσ ì
  231. men⌡ display.
  232.  
  233.      Iεá summary¼á movinτ abou⌠ withiε VMEN╒ i≤ quitσá easy«  ì
  234. "*óá move≤ thσ use≥ t∩ thσ firs⌠ menu¼á "<ó t∩ thσá previou≤ ì
  235. menu¼ ">ó t∩ thσ nex⌠ menu.
  236.  
  237. :S
  238.  
  239.      The full Menu Command Line looks like the following:
  240.  
  241. Command (<CR>=Menu,^C=Z3,*=1st Menu,<=Prev Menu,>=Last Menu) -
  242.  
  243.      The Menu Commands are:
  244.  
  245.        Command   Function
  246.  
  247.        ^R        Refresh Menu Display (RETURN Key)
  248.        ^C        Exit to ZCPR3 (Control-C)
  249.        *         Jump to the First Menu
  250.        < or ,    Jump to the Previous Menu
  251.        > or .    Jump to the Next Menu
  252.        other     Menu Option or Invalid Command; letters are
  253.                       automatically capitalized, so a=A
  254.  
  255. :P
  256.  
  257.                   Programming *.VMN Files
  258.  
  259.      Thσá *.VM╬á filσá i≤ simpl∙ ß tex⌠ filσá whicΦá ma∙á bσ ì
  260. createΣá witΦá an∙á conventiona∞á CP/═áá editor¼áá includinτ ì
  261. WordStar«á  VMEN╒á ignore≤á thσ Mos⌠ Significan⌠ Bi⌠ oµá al∞ ì
  262. bytes¼ s∩ editor≤ likσ WordStar¼ whicΦ occasionall∙ se⌠ thi≤ ì
  263. bit¼ caε bσ used.
  264.  
  265.      Al∞ *.VM╬ file≤ havσ thσ samσ genera∞á structure«á  Thσ ì
  266. firs⌠á linσ i≤ eithe≥ ß globa∞ optioε linσ o≥ thσá beginninτ ì
  267. oµ ß men⌡ display«á  Iµ ß globa∞ optioε line¼ i⌠ begin≤ witΦ ì
  268. thσá characte≥á "-"¼áá anΣá thi≤á characte≥á i≤á immediatel∙ ì
  269. followeΣá b∙á globa∞ optioε characters«á  Thσ globa∞á optioε ì
  270. line¼ theε look≤ likσ this:
  271.  
  272. -option
  273.  
  274.      Afte≥ thσ globa∞ optioε line¼á iµ any¼á come≤ thσ firs⌠ ì
  275. menu«  EacΦ men⌡ i≤ structureΣ a≤ follows:
  276.  
  277.                          #option
  278.                               <Text of Menu Display>
  279.                          #
  280.                          menu commands
  281.  
  282.      The following are two sample Menu File structures:
  283.  
  284.                -option                  #option
  285.                #option                       <Text>
  286.                     <Text>              #
  287.                #                        commands
  288.                commands                 ##
  289.                #option
  290.                     <Text>
  291.                #
  292.                commands
  293.                ##
  294.      Therσ i≤ onσ optioε character«á  Iε usinτ it¼á casσá i≤ ì
  295. no⌠ significant«á  Thi≤ optioε characte≥ i≤ "X"¼ whicΦ tell≤ ì
  296. VMEN╒ t∩ allo≈ thσ use≥ t∩ exi⌠ t∩ ZCPR3.
  297.  
  298.      Thσá ╪á optioε enable≤ thσ facilit∙ whicΦá permit≤á thσ ì
  299. use≥ t∩ typσ ^├ anΣ returε t∩ ZCPR3.
  300.  
  301.      Wheε VMEN╒ firs⌠ come≤ up¼á thσ ╪ optioε i≤ turneΣ off«  ì
  302. Thσ use≥ canno⌠ exi⌠ t∩ ZCPR3.
  303.  
  304.      Thσá globa∞ option≤ line¼á which¼á iµ present¼á i≤á thσ ì
  305. firs⌠ linσ oµ thσ file¼á turn≤ oε thi≤ optioε fo≥ thσ coursσ ì
  306. oµá thσ sessioε iε general«á  Tha⌠ is¼á iµ ß globa∞á option≤ ì
  307. linσ like
  308.  
  309.           -x
  310.  
  311. i≤ useΣ (casσ i≤ insignificant)¼ theε thσ abilit∙ t∩ exi⌠ t∩ ì
  312. ZCPR3 is enabled for all menus.
  313.  
  314.  
  315.      Thσá globa∞ option≤ linσ turn≤ oε thσ ╪ optioε fo≥á al∞ ì
  316. menu≤ iε general«  However¼ thσ ╪ optioε ma∙ bσ presenteΣ oε ì
  317. thσá firs⌠á linσá oµ eacΦ men⌡á immediatel∙á afte≥á thσá "#ó ì
  318. characte≥á t∩á temporaril∙ complemen⌠ thσ settinτ fo≥ thσá ╪ ì
  319. optioε fo≥ onl∙ tha⌠ menu.
  320.  
  321.      Iµá thσ ╪ optioε i≤ NO╘ includeΣ iε thσ globa∞á option≤ ì
  322. line¼á i⌠á i≤á turneΣ OF╞ fo≥ al∞á menu≤á iεá general«á  Thσ ì
  323. defaul⌠á selecteΣá b∙á usinτá thσá globa∞á option≤á linσá i≤ ì
  324. overriddeε oε ß per-men⌡ basi≤ b∙ thσ loca∞ men⌡ options.
  325.  
  326.      Example:
  327.  
  328.  
  329.     -x
  330.     #x
  331.          No exit to ZCPR3 is permitted
  332.     #
  333.     commands
  334.     #x
  335.          No exit to ZCPR3.
  336.     #
  337.     commands
  338.     #
  339.          Thσ use≥ ma∙ exit to ZCPR3.
  340.     #
  341.     commands
  342.     ##
  343.  
  344. :C
  345.  
  346.                        *.VMN Commands
  347.  
  348.      Thi≤áá sectioεá describe≤á thσá techniquσá anΣá option≤ ì
  349. availablσá fo≥ creatinτ commanΣ line≤ iε *.VM╬á files«á  Thσ ì
  350. informatioεá hereiε i≤ organizeΣ int∩ thσ followinτá subjec⌠ ì
  351. areas:
  352.  
  353.           o Syntax of the command line
  354.  
  355.           o :nn Option
  356.  
  357.           o ! Option
  358.  
  359.           o "text" prompts and input
  360.  
  361.           o Variables ($D, $U, $Fn, $Nn, $Tn, $Pp, $$)
  362.  
  363.           o Highlighting (^A, ^B)
  364.  
  365.                                                               Syntax
  366.      Thσ command≤ iε ß *.VM╬ filσ follo≈ ß simplσ structure«  ì
  367. EacΦ commanΣ occupie≤ onl∙ onσ line¼á anΣ blanδ line≤ iε thσ ì
  368. commanΣá grou≡á arσá no⌠ permitted«á  Thσá commanΣá linσá i≤ ì
  369. structureΣ a≤ follows:
  370.  
  371.           l[o][command]
  372.  
  373. where:
  374.     l is the single character used to invoke the command
  375.          note that it may be upper- or lower-case
  376.     o is an opening option, which is one of:
  377.          :nn -- go to Menu nn
  378.          !   -- have VMENU wait when the command is finished
  379.     command is an optional ZCPR3 command; note that if
  380.          the option is ":nn", then a command here makes no
  381.          sense
  382.  
  383.                                                               :nn Opt
  384.      Thσá ":nnóá optioε tell≤ VMEN╒ t∩ movσ t∩á ßá differen⌠ ì
  385. men⌡á iεá thσá *.VM╬ file«á  Thσ firs⌠á men⌡á i≤á numbe≥á 1«  ì
  386. Example:
  387.  
  388.           -x
  389.           #
  390.                1st Menu:  A - Goto Menu 2     3 - Goto Menu 3
  391.           #
  392.           a:2
  393.           3:3
  394.           #
  395.                     2nd Menu Command: 3 - Goto Menu 3
  396.           #
  397.           3:3
  398.           #x
  399.                     3rd Menu Command: 2 - Goto Menu 2
  400.           #
  401.           2:2
  402.           ##
  403.                                                               :nn Opt
  404.      Iε thσ firs⌠ menu¼ thσ use≥ ma∙ strike:
  405.  
  406.           "aó o≥ "Aó t∩ got∩ Men⌡ 2
  407.           "3ó t∩ got∩ Men⌡ 3
  408.           ">óá o≥á ".ó t∩ got∩ thσ nex⌠ men⌡ (Men⌡ 2)
  409.           ^├ t∩ got∩ ZCPR3
  410.  
  411.      In the second menu, the user may strike:
  412.  
  413.           "3" to goto Menu 3
  414.           "*" or "<" or "," to goto Menu 1
  415.           ">" or "." to goto Menu 3
  416.           ^C to goto ZCPR3
  417.  
  418.      In the third menu, the user may strike:
  419.  
  420.           "2" or "<" or "," to goto Menu 2
  421.           "*" to goto Menu 1
  422.  
  423.                                                               ! Opt
  424.      Thσá "!ó optioε cause≤ VMEN╒ t∩ pausσ anΣ asδ thσá use≥ ì
  425. t∩ "Strikσ An∙ Keyó beforσ continuinτ afte≥ thσ commanΣ linσ ì
  426. ha≤á beeε processed«á  Iε thi≤ way¼á iµ ß commanΣá generate≤ ì
  427. informatioεá t∩ bσ reaΣ b∙ thσ use≥ beforσ VMEN╒ clear≤á hi≤ ì
  428. screen¼á thσ "!ó optioε ma∙ bσ useΣ t∩ givσ thσ use≥ al∞ thσ ì
  429. timσ hσ want≤ t∩ reaΣ thi≤ display.
  430.  
  431.                                                               "prompt"
  432.      EmbeddeΣá withiεá an∙ commanΣ linσ ma∙ bσ ß promp⌠á fo≥ ì
  433. use≥ input«  Thi≤ promp⌠ take≤ thσ forφ of
  434.  
  435.           "prompt to user"
  436.  
  437. Wheεá encountered¼á VMEN╒ wil∞ advancσ t∩ thσ nex⌠ linσá anΣ ì
  438. prin⌠ thσ tex⌠ containeΣ withiε thσ quotes«  VMEN╒ wil∞ theε ì
  439. wai⌠ fo≥ thσ use≥ t∩ inpu⌠ an∙ tex⌠ hσ desire≤ followeΣ b∙ ß ì
  440. RETURN«áá  A⌠á thi≤á point¼á thσá tex⌠á thσá use≥á inpu⌠á i≤ ì
  441. capitalizeΣ anΣ placeΣ int∩ thσ commanΣ linσ a⌠ thσ poin⌠ oµ ì
  442. thσ prompt.
  443.  
  444.      Iµá thσá promp⌠ appear≤ a⌠ thσ enΣ oµ ßá VMEN╒á commanΣ ì
  445. line¼á thσ trailinτ quotσ i≤ no⌠ required«á  A≤ man∙ prompt≤ ì
  446. a≤áá desireΣá ma∙á appea≥á withiεá ßá VMEN╒á commanΣáá line«  ì
  447. Examples:
  448.  
  449.                                                               "prompt"
  450.     -x
  451.     #
  452.          A - Run XDIR without Pause or Input
  453.          B - Run XDIR and Pause before Returning to VMENU
  454.          C - Run XDIR, Allow User Input, and Pause before
  455.               Returning to VMENU
  456.          M - Run MCOPY, Allow User Input of Dest Dir, Allow
  457.               User Input of Source Dir and File, and Pause
  458.               before returning to VMENU
  459.          Z - Run Any ZCPR3 Command and Pause before
  460.               Returning to VMENU
  461.     #
  462.     m!mcopy "Destination Dir? "="Source DIR:AFN?  "
  463.     z!"Enter Command Line --
  464.     axdir
  465.     b!xdir
  466.     c!xdir "Enter Ambiguous File Name --
  467.     ##
  468.  
  469.                                                               "prompt"
  470.      Notσá thσ Spacσ righ⌠ beforσ thσ "Promp⌠ forφ iε thσá ├ ì
  471. command«á  Thi≤ spacσ i≤ significan⌠ t∩ kee≡ thσ commanΣ anΣ ì
  472. use≥á inpu⌠ froφ runninτ together«á  Thi≤ "ruε togetheróá i≤ ì
  473. desireΣá fo≥ thσ ┌ command«á  Als∩ notσ thσ dua∞ promp⌠á fo≥ ì
  474. thσ ═ command.
  475.  
  476.      WitΦ thσ ═ command¼á thσ followinτ prompt≤ wil∞á appea≥ ì
  477. (anΣ samplσ input):
  478.  
  479.           Destination Dir? BACKUP:
  480.           Source DIR:AFN?  *.TXT
  481.  
  482. anΣ thσ followinτ commanΣ linσ i≤ built:
  483.  
  484.           MCOPY BACKUP:=*.TXT
  485.  
  486.                                                               Variables
  487.      Thσá commanΣá tex⌠á whicΦá i≤ specifieΣá iεá thσá VMEN╒ ì
  488. commanΣ linσ caε contaiε embeddeΣ variable≤ whicΦ VMEN╒ wil∞ ì
  489. expanΣ wheε thσ commanΣ linσ i≤ processed«  Thesσ variables¼ ì
  490. whicΦá arσ denoteΣ b∙ ß dolla≥ sigε ($⌐ followeΣ b∙á onσá o≥ ì
  491. tw∩ characters¼ arσ defineΣ a≤ follows:
  492.  
  493.      Variable  Expands as
  494.      --------  ----------
  495.        $D      Current Disk
  496.        $U      Current User Area
  497.        $Fn     FILENAME.TYP for ZCPR3 System File n
  498.        $Nn     FILENAME for ZCPR3 System File n
  499.        $Tn     TYP for ZCPR3 System File n
  500.        $Pp     Name of File being Pointed to
  501.        $$      Place a single $ in command line
  502.  
  503.      Thesσá variable≤á caε als∩ bσ useΣ iε thσ men⌡á displa∙ ì
  504. itself¼á anΣá thei≥á value≤á wil∞ bσá substituteΣá wheεá thσ ì
  505. displa∙ i≤ generated«  Example:
  506.                                                               Variables
  507.    -x
  508.    #
  509.                Menu to Run M80 Assembler
  510.                               Current File: $F1
  511.                               Directory: $D$U
  512.           F - Define File
  513.           E - Edit $F1        P - Page $F1
  514.           A - Assemble $F1
  515.    #
  516.    fsetfile 1 "Filename? "
  517.    eedit $f1
  518.    azex m80 $n1
  519.    ppage $f1
  520.    ##
  521.  
  522.                                                               Variables
  523. Notes:
  524.  
  525.      1« Thσ ZCPR│ utilit∙ SETFIL┼ i≤ useΣ t∩ definσ thσ namσ ì
  526. oµá ßá ZCPR│á Systeφ File«á  Therσá arσá fou≥á Systeφá File≤ ì
  527. available¼á anΣ the∙ caε bσ referenceΣ b∙ $F▒ t∩ $F4¼ $N▒ t∩ ì
  528. $N4¼ anΣ $T▒ t∩ $T4.
  529.  
  530.      2«á Thσ ┴ commanΣ show≤ thσ executioε oµ ZEX«  VMEN╒ i≤ ì
  531. ß truσ ZCPR│ Shell¼ and¼ a≤ such¼ ZE╪ command≤ caε bσ issueΣ ì
  532. froφá i⌠ anΣ wil∞ ruε oε to≡ oµ it«á  Thσ promp⌠ fo≥ thσ ZE╪ ì
  533. commanΣ line≤ wil∞ bσ "Menu>".
  534.  
  535.      3«á Assuminτ tha⌠ "MYFILE.MACó i≤ assigneΣ t∩ thσ ZCPR│ ì
  536. Systeφ Filσ ▒ anΣ thσ use≥ i≤ loggeΣ int∩ disδ ┬ use≥ 1¼ thσ ì
  537. followinτá screeεá show≤ ho≈ thσ displa∙ anΣá thσá resultinτ ì
  538. commanΣ line≤ wil∞ bσ expandeΣ wheε executioε occurs:
  539.  
  540.                                                               Variables
  541.                           Display
  542.  
  543.                Menu to Run M80 Assembler
  544.                               Current File: MYFILE.MAC
  545.                               Directory: B1
  546.           F - Define File
  547.           E - Edit MYFILE.MAC        P - Page MYFILE.MAC
  548.           A - Assemble MYFILE.MAC
  549.  
  550.  
  551.                        Command Lines
  552.      Menu Command                  Expansion
  553.  
  554.    fsetfile 1 "Filename? "     SETFILE 1 "Filename? "
  555.    eedit $f1                   EDIT MYFILE.MAC
  556.    azex m80 $n1                ZEX M80 MYFILE
  557.    ppage $f1                   PAGE MYFILE.MAC
  558.  
  559.                                                               Highlighting
  560.      Jus⌠á likσ thσ HEL╨ utilit∙ caε takσ advantagσá oµá thσ ì
  561. highlightinτ facilit∙ provideΣ iε thσ Z3TCAP¼á s∩ caε VMENU«  ì
  562. Fo≥á thosσá ZCPR│á System≤ witΦ ßá properly-installeΣá TCAP¼ ì
  563. VMEN╒á wil∞á usσá thσ clea≥ screeε commanΣá t∩á refresΦá thσ ì
  564. user'≤á screeε anΣ highlightinτ caε bσ enableΣ anΣá disableΣ ì
  565. b∙á embeddinτ ^┴ (t∩ turε oε highlighting⌐ anΣ ^┬á (t∩á turε ì
  566. ofµ highlighting⌐ int∩ thσ *.VM╬ file.
  567.  
  568.      I⌠á i≤ recommendeΣ tha⌠ wheε highlightinτ i≤ turneΣ on¼ ì
  569. i⌠á shoulΣá bσ turneΣ ofµ iε thσ samσ linσá fo≥á consistenc∙ ì
  570. sakσ anΣ appearance.
  571.  
  572.      Example:
  573.  
  574.                                                               Highlighting
  575.    #
  576.           ^AThis is highlighted^B and this is not
  577.    #
  578.  
  579. wil∞ appea≥ witΦ "Thi≤ i≤ highlightedó iε ß highlighteΣ modσ ì
  580. likσ this:
  581.  
  582.           This is highlighted and this is not
  583.  
  584.  
  585.                                                               Variables
  586.  
  587.      Thσá $P≡á variablσ i≤ als∩ availablσ t∩ thσ use≥á unde≥ ì
  588. VMENU«á  $P≡ return≤ informatioε oε thσ filσ currentl∙ beinτ ì
  589. pointeΣ t∩ b∙ thσ use≥ oε thσ screen«  Thi≤ variablσ ha≤ thσ ì
  590. following forms:
  591.  
  592.           Form      Expands Into
  593.           $PF       FILENAME.TYP of the pointed-to file
  594.           $PN       FILENAME of the pointed-to file
  595.           $PT       TYP of the pointed-to file
  596.  
  597.      Fo≥ instance¼ iµ thσ filσ currentl∙ beinτ pointeΣ t∩ i≤ ì
  598. named MYFILE.TXT, then the command line:
  599.  
  600.           ECHO FILENAME.TYP=$PF  FILENAME=$PN  TYP=$PT
  601.  
  602. will output:
  603.  
  604.           FILENAME.TYP=MYFILE.TXT  FILENAME=MYFILE  TYP=TXT
  605.                                                               Variables
  606.      Example:
  607.  
  608.    -x
  609.    #
  610.                Menu to Run M80 Assembler
  611.                               Directory: $D$U
  612.           ┼ - Edi⌠ Pointed-t∩ Filσ
  613.           ╨ - Pagσ Pointed-t∩ File
  614.           A - Assemble Pointed-to File
  615.    #
  616.    eedit $pf
  617.    azex m80 $pn
  618.    ppage $pf
  619.    ##
  620.  
  621.                                                               Variables
  622. Notes:
  623.  
  624.      1«  Thσ ┼ anΣ ╨ command≤ builΣ commanΣ line≤ containinτ ì
  625. the full file name and type of the file being pointed to.
  626.  
  627.      2«á Thσ ┴ commanΣ show≤ thσ executioε oµ ZEX«  VMEN╒ i≤ ì
  628. ß truσ ZCPR│ Shell¼ and¼ a≤ such¼ ZE╪ command≤ caε bσ issueΣ ì
  629. froφá i⌠ anΣ wil∞ ruε oε to≡ oµ it«á  Thσ promp⌠ fo≥ thσ ZE╪ ì
  630. commanΣ line≤ wil∞ bσ "VMenu>".
  631.  
  632.      3«  Assuminτ tha⌠ MYFILE.MA├ i≤ beinτ pointeΣ t∩ b∙ thσ ì
  633. user¼ thσ followinτ show≤ thσ expansioε oµ thσ commanΣ line≤ ì
  634. for this example:
  635.  
  636.      Menu Command                  Expansion
  637.    eedit $pf                   EDIT MYFILE.MAC
  638.    azex m80 $pn                ZEX M80 MYFILE
  639.    ppage $pf                   PAGE MYFILE.MAC
  640.  
  641.                                                               Variables
  642.  
  643.      Thσá firs⌠ entr∙ iε an∙ VMEN╒ filσ displa∙ i≤ nameΣ "N∩ ì
  644. File"¼á anΣá thi≤á entry¼á wheε pointeΣ t∩ b∙ thσá use≥á anΣ ì
  645. expandeΣ int∩ thσ commanΣ line¼á i≤ translateΣ int∩ ß promp⌠ ì
  646. fo≥ thσ use≥ t∩ inpu⌠ thσ namσ oµ ß file«á  Thi≤ featurσá i≤ ì
  647. provideΣá a≤ ß conveniencσ t∩ thσ use≥ s∩ tha⌠ hσ wil∞á havσ ì
  648. thσá abilit∙á t∩ easil∙ specif∙ ne≈ file≤ whicΦ d∩á no⌠á ye⌠ ì
  649. exis⌠á t∩ thσ VMEN╒ command≤ (sucΦ a≤ fo≥ aε edito≥á commanΣ ì
  650. in which the user wants to create a new file).
  651.  
  652.      Iµá thσá pointe≥ i≤ a⌠ "N∩ Fileó anΣ thσá commanΣá linσ ì
  653. use≤á severa∞á reference≤á t∩ thσ pointe≥ (a≤á iεá thσá ECH╧ ì
  654. commanΣ examplσ above)¼á theε thσ use≥ i≤ prompteΣ onl∙ oncσ ì
  655. fo≥á thσá namσ oµ thσ file¼á anΣ eacΦ referencσ derive≤á it≤ ì
  656. information from this name.
  657.  
  658.                                                               Closing
  659.                        Closing Notes
  660.  
  661.      A≤á man∙ command≤ a≤ thσ printablσ ASCI╔ characte≥á se⌠ ì
  662. (withou⌠áá lower-casσáá letter≤áá anΣá thσáá VMEN╒áá commanΣ ì
  663. characters⌐á wil∞ allo≈ arσ permitteΣ b∙ VMENU«á  Thσá text¼ ì
  664. however¼á fo≥ eacΦ men⌡ mus⌠ bσ ablσ t∩ fi⌠ oε ß screeε witΦ ì
  665. thσ filσ director∙ displa∙ a⌠ thσ to≡ anΣ thσ commanΣ promp⌠ ì
  666. a⌠á thσ bottom«á  Thi≤ mean≤ tha⌠ thσ tex⌠ canno⌠ exceeΣá 1╢ ì
  667. lines.
  668.  
  669.      VMEN╒á fit≤ iε nicel∙ t∩ thσ ZCPR│ Systeφ oµá programs«  ì
  670. Thσá informatioεá sectioε oε "VMENU'≤á Relationshi≡á t∩á thσ ì
  671. ZCPR│á Systemóá explain≤á ho≈á VMEN╒á anΣá thσá othe≥á ZCPR│ ì
  672. program≤ worδ together.
  673.  
  674.      Thσá followinτá ASCI╔á character≤ ma∙ NO╘á bσá useΣá a≤ ì
  675. command≤ sincσ the∙ arσ useΣ elsewhere:
  676.  
  677.           <SPACE>   #    %    ,    .    <    >    *    <DEL>
  678.           <Any Char Less than Space>
  679. :M
  680.  
  681.               VMENU Programming Command Summary
  682.  
  683.      EacΦá VMEN╒ commanΣ occupie≤ onl∙ onσ line¼á anΣá blanδ ì
  684. line≤á iε thσ commanΣ grou≡ arσ no⌠ permitted«á  Thσ commanΣ ì
  685. linσ i≤ structureΣ a≤ follows:
  686.  
  687.           l[o][command]
  688.  
  689. where:
  690.     l is the single character used to invoke the command
  691.          note that it may be upper- or lower-case
  692.     o is an opening option, which is one of:
  693.          :nn -- go to Menu nn
  694.          !   -- have VMENU wait when the command is finished
  695.     command is an optional ZCPR3 command; note that if
  696.          the option is ":nn", then a command here makes no
  697.          sense
  698.  
  699.  
  700. The VMENU commands are:
  701.  
  702.     Command   Function
  703.  
  704.     :nn       Goto Menu nn, where the first menu is Menu 1
  705.     !         Wait after command line is executed before
  706.                    processing the menu
  707.     "Prompt"  Prompt the user for input and accept it
  708.  
  709.  
  710. The VMENU variables are:
  711.  
  712.      Variable  Expands to
  713.  
  714.         $D     Current Disk
  715.         $U     Current User
  716.         $Fn    FILENAME.TYP for System File n
  717.         $Nn    FILENAME for System File n
  718.         $Tn    TYP for System File n
  719.         $PF    FILENAME.TYP for Pointed-to File
  720.         $PN    FILENAME for Pointed-to File
  721.         $PT    TYP for Pointed-to File
  722.         $$     $
  723.  
  724. Note║ Systeφ File≤ caε bσ defineΣ b∙ thσ SETFIL┼ command.
  725.  
  726. The Highlighting Embedded Characters are:
  727.  
  728.      ^A   Turn ON Highlighting
  729.      ^B   Turn OFF Highlighting
  730.  
  731. Note║á I⌠ i≤ recommendeΣ tha⌠ iµ highlightinτ i≤ turneΣá on¼ ì
  732. it should be turned off in the same line.
  733.  
  734.  
  735.  
  736. Thσá followinτ ASCI╔ character≤ ma∙ NO╘ bσ useΣ a≤á command≤ ì
  737. sincσ the∙ arσ useΣ elsewhere:
  738.  
  739.           <SPACE>   #    %    ,    .    <    >    *    <DEL>
  740.  
  741.           <Any Char Less than Space>
  742.  
  743. :Z
  744.  
  745.           VMENU's Relationship to the ZCPR3 System
  746.  
  747.      VMENU¼ likσ mos⌠ oµ thσ ZCPR│ utilities¼ interact≤ witΦ ì
  748. thσ systeφ a≤ ß wholσ anΣ canno⌠ bσ useΣ witΦ system≤á othe≥ ì
  749. thaεá ZCPR3«áá  Iεá particular¼á VMEN╒á require≤á thσá ZCPR│ ì
  750. Multiplσá CommanΣ Linσ Buffe≥ anΣ Shel∞ Stacδ facilitie≤á t∩ ì
  751. bσá availablσá t∩á i⌠ anΣ canno⌠ ruεá withou⌠á them«á  VMEN╒ ì
  752. invoke≤á commanΣá line≤á viß thσá CommanΣá Linσá Buffe≥á anΣ ì
  753. return≤á t∩ itselµ thr⌡ thσ Shel∞ Stack«á  I⌠ als∩ use≤á thσ ì
  754. ZCPR│á Systeφ File≤ fo≥ somσ oµ it≤ variable≤ anΣ thσ Z3TCA╨ ì
  755. facilit∙ fo≥ it≤ screeε manipulatioε (highlighting).
  756.  
  757.      VMENU is installed by Z3INS.
  758.  
  759.  
  760.      Also¼ C─ (Changσ Directory⌐ anΣ STARTU╨ (or¼ S╘ fo≥ CD⌐ ì
  761. caεá comσ int∩ pla∙ witΦ VMENU«á  Wheε C─ log≤ int∩á t∩á ne≈ ì
  762. directory¼á i⌠á look≤ fo≥ thσ filσ ST.CO═ anΣ execute≤ i⌠ iµ ì
  763. therσá i≤ one«á  S╘ i≤ simpl∙ STARTU╨ renamed¼á anΣá STARTU╨ ì
  764. wil∞á loaΣ thσ Multiplσ CommanΣ Linσ Buffe≥ witΦá ßá commanΣ ì
  765. linσ anΣ theε terminate.
  766.  
  767.      Froφ thσ poin⌠ oµ vie≈ oµ VMENU¼á thσ commanΣ loadeΣ b∙ ì
  768. S╘á coulΣ bσ VMENU«á  Thσ effec⌠ oµ thi≤ i≤ t∩ automaticall∙ ì
  769. ente≥á VMEN╒á wheεá thσ use≥ employ≤ C─á t∩á ente≥á ßá giveε ì
  770. directory.
  771.  
  772.      Hence¼á b∙á usinτ CD¼á ß use≥ caε ente≥ ß director∙ anΣ ì
  773. suddenl∙á finΣá himselµ iε ß men⌡ insteaΣ oµá a⌠á thσá ZCPR│ ì
  774. commanΣá level«á  Thi≤á i≤á gooΣ fo≥á application≤á wherσá ß ì
  775. director∙á i≤á se⌠á asidσ fo≥ ß specifiπá purposσá anΣá onl∙ ì
  776. certaiεá operation≤á arσá t∩ bσ performeΣá iεá it¼á sucΦá a≤ ì
  777. cataloginτ disk≤ o≥ handlinτ accounts.
  778.  
  779.  
  780.      No≈á tha⌠ VMEN╒ i≤ runninτ fo≥ thσ directory¼á ßá VMEN╒ ì
  781. commanΣá coulΣá bσ anothe≥ C─ t∩ anothe≥ directory«á  O≥á i⌠ ì
  782. coulΣ simpl∙ bσ ß DU║ form«  Example:
  783.  
  784.           #
  785.                A - Enter ZCPR Directory
  786.                B - Enter A0:
  787.           #
  788.           acd zcpr:
  789.           ba0:
  790.           #
  791.  
  792.      Here¼á iµ ┴ i≤ issued¼ theε C─ wil∞ movσ int∩ ZCPR║ anΣ ì
  793. executσ ST.CO═ iµ therσ i≤ onσ there«á  Iµ ┬ i≤ issued¼á thσ ì
  794. use≥ i≤ loggeΣ int∩ A0:«á  VMEN╒ i≤ thσ nex⌠ commanΣ iε botΦ ì
  795. case≤ (invokeΣ a≤ ß Shell)¼ s∩ VMEN╒ automaticall∙ reinvoke≤ ì
  796. anΣ look≤ fo≥ MENU.VMN«á  Iµ i⌠ find≤ it¼á wσ arσ iε anothe≥ ì
  797. VMEN╒á system¼á and¼á iµ i⌠ doesn't¼á wσ arσ bacδá t∩á ZCPR│ ì
  798. commanΣ level.
  799.  
  800.      Unde≥ thσ ┴ option¼ iµ C─ find≤ ST.COM¼ S╘ wil∞ executσ ì
  801. it≤ functioε and¼á unles≤ thi≤ functioε pop≤ thσ Shel∞ Stacδ ì
  802. (SHCTR╠á PO╨á command)¼á VMEN╒á wil∞ reinvokσá afte≥á i⌠á i≤ ì
  803. complete.
  804.  
  805.      Unde≥á thσ ┬ option¼á wσ wil∞ ruε VMEN╒ nex⌠ anΣ simpl∙ ì
  806. exi⌠ iµ ß MENU.VM╬ filσ i≤ no⌠ found.
  807.  
  808.  
  809.      VMEN╒á interact≤á heavil∙ witΦ thσ ZCPR│á Systeφá File≤ ì
  810. whicΦá arσá defineΣá a≤á ß par⌠á oµá thσá ZCPR│á Environmen⌠ ì
  811. Descriptor«á  Therσ arσ fou≥ Systeφ Files¼ anΣ threσ oµ theφ ì
  812. are used by VMENU for various purposes:
  813.  
  814.      File      Purpose
  815.        2       Name of Current File
  816.        3       Name of Menu File
  817.        4       Name (containing wild cards) used to
  818.                     Select Files for VMENU File Display
  819.  
  820.      Systeφá Filσá ▓ contain≤ thσ namσ oµ thσ curren⌠á VMEN╒ ì
  821. file«á  B∙á changinτ thi≤ name¼á ß transien⌠ caεá causσá thσ ì
  822. pointe≥á oµ VMEN╒ t∩ poin⌠ t∩ somσ othe≥ filσ wheε VMEN╒á i≤ ì
  823. reinvoked.
  824.  
  825.  
  826.      Systeφá Filσ │ contain≤ thσ namσ oµ thσ men⌡ filσ whicΦ ì
  827. VMEN╒ i≤ usinτ t∩ derivσ men⌡ display≤ anΣ commanΣ from«  B∙ ì
  828. changinτ thi≤ entry¼á ß transien⌠ caε selec⌠ differen⌠á men⌡ ì
  829. files dynamically.
  830.  
  831.      Systeφá Filσ ┤ i≤ useΣ t∩ indicatσ whicΦ file≤ (sucΦ a≤ ì
  832. *.TX╘á o≥ *.*⌐ arσ selecteΣ fo≥ displa∙ b∙ VMEN╒ wheε i⌠á i≤ ì
  833. invoked«á  B∙á changinτ thi≤ entry¼á thσ naturσ oµ thσá filσ ì
  834. display can be changed dynamically.
  835.  
  836. :E
  837.  
  838.                     VMENU Error Messages
  839.  
  840.      Iε orde≥ t∩ makσ VMEN╒ a≤ smal∞ a≤ possible¼á thσ erro≥ ì
  841. message≤ havσ beeε reduceΣ t∩ ß minimum«á  VMEN╒ provide≤á ß ì
  842. minimuφ indicatioε tha⌠ somethinτ i≤ wronτ anΣ aborts.
  843.  
  844.      Thσá prograφá VMENUC╦á i≤á designeΣ t∩á tel∞á yo⌡á morσ ì
  845. specificall∙á wha⌠á i≤ wrong«á  VMENUC╦ i≤á ßá *.VM╬á Synta° ì
  846. Checker¼ anΣ i⌠ look≤ fo≥ al∞ sort≤ oµ erro≥ condition≤ tha⌠ ì
  847. caε occu≥ iε ß *.VM╬ file.
  848.  
  849.      VMEN╒ provide≤ thσ followinτ minima∞ erro≥ messages:
  850.  
  851.  
  852.           Message             Meaning
  853.  
  854.           No Shell Stack      Shell Stack Not Available
  855.           No Command Line     Command Line Buffer Not Avail
  856.           Shell Stack Full    Shell Stack is Full
  857.           Shell Stack Size    Shell Stack Entries are too
  858.                                    short for VMENU cmd line
  859.           File x.typ Not
  860.              Found            Menu File Not Found
  861.           TPA Full            Memory is Full
  862.           <Bell>              User Command is in Error
  863.           Structure Error     *.VMN File Structure Error
  864.  
  865. :2
  866.  
  867. Command:  VMENUCK 1.0
  868.  
  869. Syntax:
  870.      VMENUCK dir:ufn      <-- default file type is VMN
  871.  
  872. Function:
  873.  
  874.      VMENUC╦ i≤ useΣ t∩ checδ thσ synta° oµ ß *.VM╬ filσ fo≥ ì
  875. thσá ZCPR│ Men⌡ Shell¼á VMENU«á  VMEN╒ i≤ optimizeΣ fo≥ sizσ ì
  876. anΣ speed¼á and¼á iε deepinτ i⌠ small¼á built-iε diagnostic≤ ì
  877. werσ reduceΣ t∩ thσ minimum«  VMENUC╦ i≤ intendeΣ t∩ bσ useΣ ì
  878. t∩á analyzσ *.VM╬ file≤ anΣ providσ informativσá diagnostic≤ ì
  879. oε an∙ syntactica∞ error≤ witΦ them.
  880.  
  881. Options:
  882.      None
  883.  
  884.  
  885. Comments:
  886.  
  887.      VMENUC╦ check≤ t∩ seσ iµ thσ sizσ oµ thσ *.VM╬ filσá i≤ ì
  888. to∩ largσ fo≥ thσ TP┴ availablσ t∩ thσ VMEN╒ command«á  Thi≤ ì
  889. i≤ aε additiona∞ checδ beyonΣ thσ norma∞ synta° check.
  890.  
  891.      VMENUC╦á identifie≤á thσá locatioε oµá error≤á b∙á linσ ì
  892. number«  Thσ firs⌠ linσ iε thσ filσ i≤ linσ numbe≥ 1.
  893.  
  894. Selected Error Messages:
  895.  
  896.      Self-Explanatory.
  897.  
  898. Examples of Use:
  899.  
  900.      VMENUCK MYMENU
  901.           -- perform check on MYMENU.VMN
  902.  
  903.