home *** CD-ROM | disk | FTP | other *** search
/ RBBS in a Box Volume 1 #2 / RBBS_vol1_no2.iso / add2 / vmenu.zip / VMENU.DEF < prev    next >
Text File  |  1988-12-08  |  10KB  |  378 lines

  1. 7 1 15 0 0 7 1 11 1 0 0 0 0
  2. JAJ4
  3. PC Valet Menu 2.01 Sample Definition File
  4. Microsoft
  5. Word
  6. A standard key definition. If you have Word Perfect, change the cd \word line to point to \wordperf and change the word.com line to wp
  7. cd \word
  8. word.com
  9. cd \
  10. EOK
  11. Microsoft
  12. Windows
  13. This command puts some keystrokes in the keyboard buffer and then exits to Dos. This removes VMENU from memory to allow more memory for the application.
  14. cd \windows
  15. {KEYIN}win^M
  16. {EXIT}
  17. EOK
  18. Lotus 123
  19.  
  20. Another standard key definition.  If you have quattro, change \lotus to \quattro and 123.com to q.exe.
  21. cd \lotus
  22. 123.com
  23. cd \
  24. EOK
  25. Press SHIFT
  26. and F4.
  27. Keys can have help lines that are displayed when you hold shift down and press the key.  This is one of those lines.
  28. {CLS}
  29. {ECHO}Try pressing SHIFT and this key from the menu.
  30. {PAUSE}
  31. EOK
  32. Utilities
  33. Menu
  34. This key changes to another menu that is already in memory.  There are 10 menus (numbered from 0 to 9).  {MENU} by itself will always take you to menu 0.
  35. {MENU}1
  36. EOK
  37. Load Game
  38. Menu
  39. This key is an example of loading a second menu.  It expects the file VMENU.GAM to be in the current directory.  Of course the filename could be changed!
  40. {LOAD}vmenu.gam
  41. {PAUSE}Obviously, we didn't find VMENU.GAM in the current directory!
  42. EOK
  43. Information
  44. Menu
  45.  
  46. {MENU}7
  47. EOK
  48. VMENU Quick
  49. Help
  50. PC Valet Super Menu is copyright 1987,1988 by John A Junod.  All rights reserved.
  51. {CLS}
  52. {ECHO}^JTo execute a program, just press the corresponding function key.
  53. {ECHO}SHIFT-Fx = Display help for a key (if defined).
  54. {ECHO}CTRL-F1 = Display Internal Values^M^JCTRL-F6 = Menu Modification Mode
  55. {ECHO}^JIf passwords are not enabled,
  56. {ECHO}  ALT-Fx   = jump directly to a menu x.^M^J  CTRL-F10 = Exit from VMenu.
  57. {ECHO}^JPlease read the contents of VMENU.DOC for full documentation.
  58. {ECHO}^JPlease register your copy of VMENU by sending 15 dollars to:
  59. {ECHO}^J  The CenterPost Group^M^J  Suite 111-189^M^J  15 Churchville Road
  60. {ECHO}  Belair, Maryland 21014
  61. {PAUSE}
  62. EOK
  63. How to
  64. Register
  65. Try some of our other products, such as PC Valet Shell and EGA-Solitaire.
  66. {CLS}
  67. {ECHO}This is a shareware product.  You are authorized to use it for up to 30
  68. {ECHO}days for free.  After that time, you must register this copy of VMENU if
  69. {ECHO}you intend to continue using VMENU.^J
  70. {ECHO}To register this copy, send 15 dollars to:^M^J^J  The CenterPost Group
  71. {ECHO}  Suite 111-189^M^J  15 Churchville Road^M^J  Belair, Maryland 21014
  72. {ECHO}^M^JIf you have questions, call at: 301-836-5048
  73. {ECHO}^JFor a 25 dollar registration fee, you will get the latest version of VMENU
  74. {ECHO}and notifications of updates.
  75. {ECHO}^JSite licenses and multiple copies available at very reasonable rates!
  76. {PAUSE}
  77. EOK
  78. Exit to Dos
  79.  
  80. This key causes VMENU to exit.  You can put a message on the line following {EXIT}.
  81. {EXIT}
  82. {ECHO} This never gets executed so I thought I'd tell you about {KEYIN} here.
  83. {ECHO} You can use {KEYIN} and to put up to 15 characters in the keyboard
  84. {ECHO} buffer for automatic execution after exiting to DOS.
  85. EOK
  86. Utilities Menu
  87. Diskcopy
  88.  
  89.  
  90. {CLS}
  91. &1={RSP}"Enter the source drive: (letter only) "
  92. &2={RSP}"Enter the destination drive: (letter only) "
  93. {ECHO}^JCopying contents of disk in drive &1: to disk in drive &2:^J
  94. diskcopy &1: &2:
  95. EOK
  96. Display
  97. Directory
  98.  
  99. {CLS}
  100. Dir {RSP}"What directory? " /w
  101. {PAUSE}
  102. EOK
  103. Check a
  104. Diskette
  105.  
  106. {CLS}
  107. &1={RSP}"Check diskette in what drive? (letter only) "
  108. {PAUSE}Please put a diskette in drive &1:
  109. chkdsk &1:
  110. {PAUSE}
  111. EOK
  112. Memory Map
  113.  
  114. Requires the program MMAP.COM also written by John A Junod
  115. {CLS}
  116. {ECHO}Memory usage with command.com loading program
  117. mmap
  118. {ECHO}Memory usage after specifying a full filename
  119. mmap.com
  120. {PAUSE}
  121. EOK
  122. Norton
  123. Utilities
  124.  
  125. nu
  126. EOK
  127. EOK
  128. Print
  129. VMENU.DOC
  130. Only works if we can find VMENU.DOC
  131. {CLS}
  132. {ECHO}Attempting to copy VMENU.DOC to lpt1
  133. {ECHOON}
  134. copy VMENU.DOC lpt1
  135. {PAUSE}
  136. EOK
  137. EOK
  138. Type
  139. VMENU.DOC
  140. Only works if we can find the more command!
  141. {CLS}
  142. {ECHOON}
  143. more < vmenu.doc
  144. {PAUSE}
  145. EOK
  146. Return to
  147. Top Menu
  148.  
  149. {MENU}0
  150. EOK
  151. Menu 2
  152. EOK
  153. EOK
  154. EOK
  155. EOK
  156. EOK
  157. EOK
  158. EOK
  159. EOK
  160. EOK
  161. Return to
  162. Top Menu
  163.  
  164. {MENU}0
  165. EOK
  166. Menu 3
  167. EOK
  168. EOK
  169. EOK
  170. EOK
  171. EOK
  172. EOK
  173. EOK
  174. EOK
  175. EOK
  176. Return to
  177. Top Menu
  178.  
  179. {MENU}0
  180. EOK
  181. Menu 4
  182. EOK
  183. EOK
  184. EOK
  185. EOK
  186. EOK
  187. EOK
  188. EOK
  189. EOK
  190. EOK
  191. Return to
  192. Top Menu
  193.  
  194. {MENU}0
  195. EOK
  196. Menu 5
  197. EOK
  198. EOK
  199. EOK
  200. EOK
  201. EOK
  202. EOK
  203. EOK
  204. EOK
  205. EOK
  206. Return to
  207. Top Menu
  208.  
  209. {MENU}0
  210. EOK
  211. Menu 6
  212. EOK
  213. EOK
  214. EOK
  215. EOK
  216. EOK
  217. EOK
  218. EOK
  219. EOK
  220. EOK
  221. Return to
  222. Top Menu
  223.  
  224. {MENU}0
  225. EOK
  226. Information about some internal VMENU commands.
  227. {CLS}, {ECHO}
  228. {PAUSE}
  229. Three of the internal commands in VMENU.
  230. {CLS}
  231. {ECHO}  {CLS} or CLS will cause VMENU to clear the screen.  (This is normally
  232. {ECHO}done before an external command is executed.)
  233. {ECHO}^J  {ECHO} or ECHO followed by a string will display that string on the
  234. {ECHO}screen.  Non-displayable characters below decimal 32 can be displayed by
  235. {ECHO}using a circumflex (^^) followed by a character.
  236. {ECHO}^J  {ECHO ON} will force command line echoing.
  237. {ECHO}^J  {PAUSE} or PAUSE will display press Space to continue, ESC to abort
  238. {ECHO}in the lower right corner of the screen.  Optionally, a prompt of your
  239. {ECHO}own can be displayed in the center of the screen.
  240. {PAUSE}
  241. EOK
  242. Changing
  243. drives & dirs
  244. How VMENU handles changing drives and directories.
  245. {CLS}
  246. {ECHO}VMenu takes care of changing drives and directories and does not pass
  247. {ECHO}those kinds of commands to DOS reducing the requirement to load
  248. {ECHO}command.com.
  249. {ECHO}^JVMenu will also let you specify forward or backward slashes as the
  250. {ECHO}directory seperator.
  251. {PAUSE}
  252. EOK
  253. {MENU},
  254. {LOAD}
  255. Allows access to alternate menus.
  256. {CLS}
  257. {ECHO}When VMenu starts up, 10 menus are defined and kept in memory.  These
  258. {ECHO}menus are accessed by the {MENU}x statement where x is a digit from 0 to 9
  259. {ECHO}^JAn alternate menu can be loaded by use of the {LOAD}filename command
  260. {ECHO}where the filename is a VMenu definition file.  This brings in 10 new
  261. {ECHO}menus that replace the current set of menus in memory.  The orginal
  262. {ECHO}starting menu can be reloaded by using {LOAD} with no filename following.
  263. {PAUSE}
  264. EOK
  265. How VMENU
  266. Loads Pgms
  267. VMenu can start programs in one of three ways.  If no extension is specified, the command is passed to DOS.  If complete path, VMenu does the loading.
  268. {CLS}
  269. {ECHO}If a command line has a program name without an extension, the command is
  270. {ECHO}passed to COMMAND.COM for execution.  If the command line specifies a full
  271. {ECHO}filename, VMenu loads and executes the file directly using about 3.5k less
  272. {ECHO}memory and a lot faster.^J
  273. {ECHO}Method 1: mmap               Method 2: mmap.com^J
  274. {ECHO}^JYou can also start a program eliminating VMenu from memory by using
  275. {ECHO}{KEYIN} and {EXIT}.  As an example,^J
  276. {ECHO}   {KEYIN}mmap^^M           (the ^^M is a carriage return)
  277. {ECHO}   {EXIT}
  278. {PAUSE}
  279. EOK
  280. {KEYIN}
  281.  
  282. A little about the {KEYIN} statement.
  283. {CLS}
  284. {ECHO}VMenu will allow you to 'stuff' up to 15 characters into the keyboard
  285. {ECHO}buffer before executing a command.  You can use this feature to pass
  286. {ECHO}keystokes into SOME other programs for execution.  You can also use
  287. {ECHO}this to start a program after VMenu exits.
  288. {ECHO}^JPlease refer to documentation on this command.
  289. {ECHO}^JNote: {KEYIN} is not guaranteed to work on all computers, depending on
  290. {ECHO}what other software you have memory resident.
  291. {PAUSE}
  292. EOK
  293. TSRs & VMENU
  294.  
  295. VMenu should NOT be used to start TSR programs.
  296. {CLS}
  297. {ECHO}VMenu should NOT be used to start TSR programs.  Starting a TSR program
  298. {ECHO}from VMenu would only cause a problem when you exit from VMenu as its
  299. {ECHO}memory will not be usable again.  Also, if you start a TSR program and
  300. {ECHO}then attempt to modify the VMenu menus, you will have problems if the
  301. {ECHO}menu definition uses more memory than already allocated.^J
  302. {ECHO}VMenu automatically enlarges its memory allocation when you go into menu
  303. {ECHO}modification mode and shrinks when you leave menu modification mode.
  304. {PAUSE}
  305. EOK
  306. {RSP}
  307.  
  308. Command line responses
  309. {CLS}
  310. {ECHO}VMenu allows for command line responses through the use of {RSP}"prompt".
  311. {ECHO}This is positional and the resulting line entered from the keyboard will
  312. {ECHO}be inserted in the command line replacing {RSP}.
  313. {ECHO}^JPlease refer to the documentation on the use of this command and the
  314. {ECHO}use of internal variables.
  315. {PAUSE}
  316. EOK
  317. Memory Usage
  318.  
  319. How VMenu uses memory.
  320. {CLS}
  321. {ECHO}VMenu always uses the minimum amount of memory possible (See note on TSRs)
  322. {ECHO}The menu executable takes up about 15k of memory.  Menu definitions can
  323. {ECHO}take from 2k of memory all the way up to 63k of memory depending on how
  324. {ECHO}the menus are set up.  Its better to have many small menus than to have
  325. {ECHO}one large menu.  (See note on {MENU} and {LOAD})^J
  326. {ECHO}Menus can be made smaller by not having Help lines and reducing the
  327. {ECHO}contents of the command lines to a minimum.^J
  328. {ECHO}Memory allocation is dynamic and expands when going into modification mode
  329. {ECHO}and shrinks when you exit modification mode.
  330. {PAUSE}
  331. EOK
  332. Modifying the
  333. Menus
  334. The menus are totally user definable.
  335. {CLS}
  336. {ECHO}You can change almost every aspect about VMenu.  There are not any built
  337. {ECHO}in key definitions, you can change the titles and all the colors and even
  338. {ECHO}choose between two different formats of the menu.
  339. {ECHO}^JVMenu also supports passwords.  (Refer to documentation for that.)^J
  340. {ECHO}Press CTRL-F6 at any menu to get into menu modification mode.
  341. {PAUSE}
  342. EOK
  343. Return to
  344. Top Menu
  345. This key causes VMENU to redisplay the top level menu.  This can actually be done two different ways.  1> {MENU}0     2> {MENU}
  346. {MENU}
  347. EOK
  348. Menu 8
  349. EOK
  350. EOK
  351. EOK
  352. EOK
  353. EOK
  354. EOK
  355. EOK
  356. EOK
  357. EOK
  358. Return to
  359. Top Menu
  360.  
  361. {MENU}0
  362. EOK
  363. Menu 9
  364. EOK
  365. EOK
  366. EOK
  367. EOK
  368. EOK
  369. EOK
  370. EOK
  371. EOK
  372. EOK
  373. Return to
  374. Top Menu
  375.  
  376. {MENU}0
  377. EOK
  378.