home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-02-08 | 26.2 KB | 1,190 lines |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- /--------------------------------------------------------\
- | |
- | RRRRRRRRRRRRR WW WW MMMM MMMM |
- | RR RR WW WW MM M M MM |
- | RR RR WW WW MM MMM MM |
- | RRRRRRRRRRRRR WW WW MM MM EEEE NNNN U U |
- | RRRR WW WW MM MM E N N U U |
- | RR RR WW WW MM MM EEEE N N U U |
- | RR RR WW WWWW WW MM MM EEEE N N U U |
- | RR RR WW W W WW MM MM E N N U U |
- | RR RRRR WWWW WWWW MM MM EEEE N N UUUU |
- | |
- \--------------------------------------------------------/
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Table of Contents
-
-
- License Agreement . . . . . . . . . . . . . . . . . . . . . . 1
-
- Order Form . . . . . . . . . . . . . . . . . . . . . . . . . 2
-
- Files that you should have . . . . . . . . . . . . . . . . . 3
- RWMENU2.EXE . . . . . . . . . . . . . . . . . . . . . . 3
- RWMENU.EXE . . . . . . . . . . . . . . . . . . . . . . . 3
- RWMENU.MCF . . . . . . . . . . . . . . . . . . . . . . . 3
- RWMENU.DOC . . . . . . . . . . . . . . . . . . . . . . . 3
- RWMENU.MNU . . . . . . . . . . . . . . . . . . . . . . . 3
- PRINTER.MNU . . . . . . . . . . . . . . . . . . . . . . 3
- COPY.MNU . . . . . . . . . . . . . . . . . . . . . . . . 3
- RWMENU.BMF . . . . . . . . . . . . . . . . . . . . . . . 3
- RW.BAT . . . . . . . . . . . . . . . . . . . . . . . . . 3
- M.BAT . . . . . . . . . . . . . . . . . . . . . . . . . 3
-
- Special keys within RWMenu . . . . . . . . . . . . . . . . . 5
-
- What's inside RWMENU.MCF . . . . . . . . . . . . . . . . . . 5
-
- Color Chart . . . . . . . . . . . . . . . . . . . . . . . . . 6
-
- MNU File Commands . . . . . . . . . . . . . . . . . . . . . . 7
- , - Comment . . . . . . . . . . . . . . . . . . . . . . 7
- ~ - Page Title . . . . . . . . . . . . . . . . . . . . . 7
- : - Menu Selection . . . . . . . . . . . . . . . . . . . 7
- ? - Custom User Prompt . . . . . . . . . . . . . . . . . 8
- > - Load an Alternate MNU file . . . . . . . . . . . . . 8
- \ - Batch DOS Commands . . . . . . . . . . . . . . . . . 8
- @ - Timed Execution . . . . . . . . . . . . . . . . . . 9
- ] - Display Text . . . . . . . . . . . . . . . . . . . . 9
- [ - Dynamic Input . . . . . . . . . . . . . . . . . . . 9
- [[ - Static Input . . . . . . . . . . . . . . . . . . . 10
- % - Password . . . . . . . . . . . . . . . . . . . . . . 10
- ! - End of MNU file . . . . . . . . . . . . . . . . . . 10
-
- Format of an MNU file . . . . . . . . . . . . . . . . . . . . 12
-
- Miscellaneous Info. . . . . . . . . . . . . . . . . . . . . . 16
-
-
-
-
-
-
-
-
-
-
-
- i
-
-
-
-
-
-
-
-
-
-
-
-
- License Agreement
- -----------------
-
- RWMenu is NOT "Public Domain" or "Freeware" RWMenu is a
- copyrighted software product developed and owned by Robert
- Wilson.
-
- You are granted the right to reproduce, distribute and use copies
- of RWMenu, on the express condition that you do not receive any
- payment, commercial benefit, other consideration for such
- reproduction or distribution, or change this license agreement or
- copyright notice.
-
- The rights to receive any such financial or other benefit, and to
- modify the product or its components, are reserved exclusively by
- Robert Wilson.
-
- Limitations: You may make and keep ONE back-up copy of RWMenu for
- your personal use, provided that you copy all the copyright
- trademark, and other information indicated on the initial screen
- display onto your backup diskette label, and you have registered.
- Also you may distribute copies to other persons, but solely for
- their evaluation and solely for evaluation by such other persons
- during a thirty day period. RWMenu must NOT be sold or otherwise
- provided as part of a larger system, or as part of a more
- inclusive product or service, without express written consent and
- licensing from Robert Wilson.
-
- To register your copy of RWMenu please send your name, mailing
- address, telephone number, version number, and a check or money
- order for the amount of $37.00 to: Robert Wilson, P.O. Box 3126,
- San Bernardino, CA 92413.
-
- When you register your copy you will receive the newest version
- of RWMenu when it is available.
-
- RWMenu, BMF, MCF, and MNU are trademarks of Robert Wilson.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1
-
-
-
-
-
-
-
-
-
-
-
-
- Order Form
- ----------
-
- (Quantity:________) X (Price: $37.00) = $________________
-
-
- First Name: ________________________________________________
-
-
- Last Name: ________________________________________________
-
-
- Address: ________________________________________________
-
-
- ________________________________________________
-
-
- ________________________________________________
-
-
- Telephone number:____________________________
-
-
- Version Number: _____________________________
-
-
- Comments: __________________________________________________
-
- __________________________________________________
-
- __________________________________________________
-
-
- *************************************************************
- Mail to:
- Robert Wilson
- P.O. Box 3126
- San Bernardino, CA 92413
- *************************************************************
-
-
-
-
-
-
-
-
-
-
-
-
-
- 2
-
-
-
-
-
-
-
-
-
-
-
-
-
- Files that you should have
- --------------------------
-
- Your copy of RWMenu should have the following files.
-
- o RWMENU2.EXE
- o RWMENU.EXE
- o RWMENU.MCF
- o RWMENU.DOC
- o RWMENU.MNU
- o PRINTER.MNU
- o COPY.MNU
- o RWMENU.BMF
- o RW.BAT
- o M.BAT
-
- RWMENU2.EXE is the 80286 and above version of RWMenu.
-
- RWMENU.EXE is the 80286 and under version.
-
- RWMENU.MCF is a Menu Configuration File that holds some necessary
- configuration information.
-
- RWMENU.DOC is this file that you are reading now.
-
- RWMENU.MNU, PRINTER.MNU, and COPY.MNU are sample MNU files that
- you can edit to fit your own needs without having to start from
- scratch (See MNU File Commands).
-
- RWMENU.BMF is a file that may or may not be with your copy of
- RWMenu. This is a file that RWMenu creates when you enter a
- blackout message.
-
- RW.BAT is another file that RWMenu creates. This is the batch
- file that is run when you select a menu option.
-
- M.BAT is a sample batch file that will run RWMenu.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 3
-
-
-
-
-
-
-
-
-
-
-
-
-
- How to install RWMenu (Short Version)
- -------------------------------------
-
- To install RWMenu to your hard drive you need to do the
- following. First make a directory on your hard drive to put
- RWMenu into. I recommend that you make a directory named
- 'RWMENU' or 'MENU'. The next thing you need to do is to copy all
- of the RWMenu files into the newly created directory. The last
- thing that you need to do is to create an MNU file that will
- contain the options that you are going to want to run. I
- recommend that you just edit the sample MNU file that is included
- with RWMenu.
-
- How to install RWMenu (Long Version)
- ------------------------------------
-
- o Step 1: The first thing you will need to do is to make a
- directory on your hard drive to put RWMenu into. Lets say
- that you want to put RWMenu onto your C drive into a
- directory called MENU. First you would type 'C:<ENTER>',
- this will make sure you are on drive C. Then you would type
- 'CD\<ENTER>', this will put you into the root directory of
- your hard disk. Now to actually create the directory called
- menu you need to type 'MD MENU<ENTER>'. You now have a
- directory on your C drive called MENU.
-
- o Step 2: You must now copy all of the files from the RWMenu
- diskette to the directory you just created in step 1. There
- are many ways this can be done. Assuming that you want to
- copy the files from floppy drive A to the MENU directory
- here is what you would need to do. First type
- 'CD\MENU<ENTER>' ; this will put you into the directory we
- created in step 1. Next you would type 'COPY A:\*.*<ENTER>'
- ; this will copy all the files from the floppy drive A to
- the MENU directory. Another way you can do it is to type
- 'COPY A:\*.* C:\MENU<ENTER>' ; if you choose to do it this
- way then you do not have to type the change directory
- command.
-
- o Step 3: You should now have all of the files copied to a
- directory on you hard drive. The last thing you need to do
- is to create an MNU file. To do this you will need to look
- over the MNU File Commands section and have it handy when
- you start creating an MNU file. When you create your first
- MNU file I highly recommend that you just edit the sample
- MNU file (RWMENU.MNU). When you want to create sub menus I
- suggest you copy RWMENU.MNU to the name of the new MNU file
- and just edit it again.
-
-
-
-
- 4
-
-
-
-
-
-
-
-
-
-
-
-
- Special keys within RWMenu
- --------------------------
-
- While RWMenu is running you can press the following keys.
-
- o F1 -- Brings up the help screen.
- o Alt-M -- Enter a message to display on the blackout screen.
- o Alt-I -- Display the licensing information.
- o Alt-A -- Add a new menu option.
- o Alt-B -- Change the blackout minutes.
- o Alt-D -- Erase a menu option.
- o Alt-N -- Change from letters to numbers or vice versa.
- (A-I <=-*-=> 1-9)
- o Ctrl-E -- Erase the menu and goto the blackout screen.
-
-
- If you use the DOS append command you must be sure it is off
- in order for the Alt-A option to work properly. To turn it off
- you have to type 'APPEND;'.
-
-
- What's inside RWMENU.MCF
- ------------------------
-
- The RWMENU.MCF file holds how many minutes before the screen
- will blackout ,how many hard drives your system has, whether to
- display letters or numbers for the menu options, and what to do
- with Num Lock. The blackout minutes can range from 00 to 99.
-
- Here is a sample RWMENU.MCF file.
- ---------------------------------
-
- 10 -- Blackout time (in minutes)
- 01 -- Total number of hard drives
- 90 -- Display numbers (0 for no, 1 or more for yes)
- 00 -- 00 = Num Lock off, 01 = Num Lock on, > 01 don't do anything.
-
-
- Note: RWMenu is only concerned with the first two characters on
- the line and ignores everything else.
-
-
-
-
-
-
-
-
-
-
-
-
-
- 5
-
-
-
-
-
-
-
-
-
-
-
-
- Color Chart
- -----------
-
- ------------------------------------------------------------
- Background Foreground
- Color No Blink Blink Dark Light
- ------------------------------------------------------------
- Black 0 8 0 8
- Blue 1 9 1 9
- Green 2 A 2 A
- Cyan 3 B 3 B
- Red 4 C 4 C
- Magenta 5 D 5 D
- Yellow 6 E 6 E
- White 7 F 7 F
- ------------------------------------------------------------
-
-
- To use this chart simply take a number (or letter) from both
- columns (Background & Foreground) and put them together to make
- one hexadecimal number. For example if you wanted to make the
- menu title color as White on Black the hex number you would put
- in the MNU file would be 07 or 0f. If you wanted the menu title
- to blink then the number could be 87 or 8f.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 6
-
-
-
-
-
-
-
-
-
-
-
-
- MNU File Commands
- -----------------
-
- , - Comment
-
- The comment option allows you to put comments into your MNU
- files. The comma command in RWMenu is just like the REM command
- in batch files. You can place anything you want to after the
- comma.
-
- Example:
- :Multiplan
- ,Turn the echo off
- \echo off
- ,Clear the screen
- \cls
- .
- .
- .
-
-
- ~ - Page Title
-
- A title must be defined for each individual menu page. This
- title will be displayed as the first line of text on the menu.
- The title will also be centered automatically. In each MNU file
- the user can define up to nine individual pages.
-
- Example:
- ~Main Menu
- :Multiplan
- \echo off
- \cls
- .
- .
- .
-
-
- : - Menu Selection
-
- This is the actual menu item displayed for the user to choose
- from. There is a limit of nine different options to each of the
- nine individual menu pages in any one MNU file.
-
- Example:
- :Lotus 123
- \echo off
- \cls
- .
- .
- .
-
-
- 7
-
-
-
-
-
-
-
-
-
-
-
-
-
- ? - Custom User Prompt
-
- This option can be used to provide additional help to the user
- when they have a certain option highlighted. The text (up to 70
- characters) that follows the '?' will be displayed on the bottom
- of the screen and will automatically be centered. It has to come
- right after the ': - Menu Selection' or right after the '@ -
- Timed Execution'.
-
- Example:
- :Multiplan
- ?Run Multiplan
- \echo off
- \cls
- .
- .
- .
-
-
- > - Load an Alternate MNU file
-
- This option will cause the text that follows to be treated as the
- name of another MNU file. When the user selects a selection with
- this listed under it, RWMenu will read the new MNU and change the
- menu display accordingly to show the options in the new MNU file.
- The MNU filename can be any valid DOS filename and can include a
- drive name and path.
-
- Example:
- :Printer Control Menu
- ?Control the printer
- >printer.mnu
- .
- .
- .
-
-
- \ - Batch DOS Commands
-
- This function defines a DOS command to be executed in a DOS batch
- file. There is no limit to the number of commands that can be
- defined under each menu selection. RWMenu will create a batch
- file containing the lines marked with this option. If you want
- RWMenu to come back up when the batch file is done with then be
- sure the last line of your BAT file runs RWMenu.
-
- Example:
- :Quattro Pro
- ?Run Quattro Pro 2.0
- \echo off
- \cls
-
- 8
-
-
-
-
-
-
-
-
-
-
-
-
- .
- .
- .
-
-
- @ - Timed Execution
-
- This function allows you to run a menu selection that does not
- require interaction from the user. It must be placed right under
- the Menu Selection (the ':') in the MNU file. The format for
- using the @ function is @D-HH:MM:SS, where D is the day of the
- week, HH is the hour in 24 hour format, MM is the minute, and SS
- is the seconds. The day is a number between 0 and 7. Where 0 is
- Sunday, 1 is Monday, etc... Enter a 7 for the day when you want
- to run your menu option every day of the week at the specified
- time.
-
- Example:
- :Backup Drive C:
- @0-23:00:00
- \echo off
- \cls
- .
- .
- .
-
-
- ] - Display Text
-
- This function will display text to the screen. To display a
- blank line simply do not follow the ']' with any text. Use it in
- combination with the '[' and '[[' functions. Please note that
- all of your ']', '[', and '[[' must come before the '\' option.
-
- Example:
- :Multiplan
- ?Run Multiplan
- ]Remember to use the proper naming convention when saving
- ]your files. If you don't we may never find it again.
- ]Thanks for your coperation.
- ]
- ]
- [[Press ENTER to continue...
- \echo off
- \cls
- .
- .
- .
-
-
- [ - Dynamic Input
-
-
- 9
-
-
-
-
-
-
-
-
-
-
-
-
- This function will display a '-=*>' prompt and wait for the user
- to type something. Whatever the user types can then be passed on
- to the BAT file as the %1, %2, ... %9 variables.
-
- Example:
- :Multiplan
- ]Enter the directory where your file(s) are.
- ]Include the full path. Example C:\DATA\MPFILES
- ]
- [
- \echo off
- \cls
- .
- .
- .
-
-
- [[ - Static Input
-
- This command is just like the above only it displays a list of
- choices for the user to pick from. You can have up to 9 choices
- for the user to choose from.
-
- Example:
- :Multiplan
- ]Which directory are your file(s) in?
- ]
- [[c:\data\isf
- [[c:\data\cow
- \echo off
- .
- .
- .
-
-
- % - Password
-
- This command allows for password protection of a menu option.
- You can have an unlimited amount of passwords for each option.
-
- Example:
- :Multiplan
- %password
- %secret
- \echo off
- \cls
- .
- .
- .
-
-
- ! - End of MNU file
-
- 10
-
-
-
-
-
-
-
-
-
-
-
-
-
- This function tells RWMenu that it has reached the end of the MNU
- file. It should be the very last line in your MNU file.
-
- Example:
- .
- .
- .
- !End of RWMENU.MNU
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 11
-
-
-
-
-
-
-
-
-
-
-
-
- Format of an MNU file
- ---------------------
-
- MNU files are made up of two sections. The first section
- tells RWMenu what color things are going to be. The second
- section tells RWMenu what options are going to be on the menu and
- what to do when one of those options are chosen.
- Here is a sample of the first section of an MNU file.
-
- ,---------------------------------------------------------------
- 01f -- BackGround Color
- 017 -- Selection Color
- 031 -- Page title color
- 01f -- Color of the letters (A-I)
- 031 -- The color of the Program Title line
- 070 -- The color of the highlight bar
- 017 -- The color of the date & time
- 017 -- The color of the NUM,CAPS, and SCROLL
- 017 -- The page message color
- 003 -- The static input color
- 010 -- ESCape to DOS value ( 0 for no, 1 or more for yes. )
- ,---------------------------------------------------------------
-
- *** Note ***
-
- The hexadecimal number must never be greater than 0FF.
-
-
- Here is a sample of the second section of an MNU file.
-
- ~MAIN MENU
- :Quattro Pro
- ?Run Quattro Pro Version 1.0
- \echo off
- \cls
- \c:
- \cd\app\qpro
- \q
- \c:\app\rwmenu\m
- ,@@@@@@@@@@@@@@@@@@@@@@@@@@
- :Print Master
- \c:
- \cd\pm
- \pmmain
- \cd\app\rwmenu
- \m
- ,@@@@@@@@@@@@@@@@@@@@@@@@@@@
- :WordPerfect
- \echo off
- \set comspec=c:\dos\command.com
- \cls
- \c:
-
- 12
-
-
-
-
-
-
-
-
-
-
-
-
- \cd\data\wp
- \append c:\app\wp
- \path=c:\app\wp;c:\mouse;c:\app\menu;c:\dos
- \wp
- \c:
- \path=c:\dos;c:\app\menu
- \append ;
- \c:\app\rwmenu\m
- ,,,,,,,,,,,,,,,,,,,,,,,
- :R:BASE for DOS
- \echo off
- \path=c:\app\menu;c:\dos;c:\rbfiles
- \append c:\dos
- \cls
- \c:
- \cd\rbfiles\dbfiles
- \rbase
- \path=c:\app\menu
- \c:\app\rwmenu\m
- ,,,,,,,,,,,,,,,,,,,,,
- :Telix
- \echo off
- \c:
- \cd\app\telix
- \telix
- \c:\app\rwmenu\m
- ,,,,,,,,,,,,,,,
- :Harvard Graphics
- \echo off
- \cls
- \cd\app\harvard
- \hg
- \c:
- \c:\app\menu\m,bat
- ,,,,,,,,,,,,,,,,,,,
- :Genealogical Management System
- \echo off
- \cls
- \cd\paf
- \fr
- \c:
- \cd\app\menu
- \m
- ,\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
- , Exit to the DOS Prompt
- ,\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
- :Exit to C:\>
- \echo off
- \cls
- \set comspec=c:\dos\command.com
- \path=c:\;c:\app\menu;c:\app\mace;c:\dos
- \append c:\dos
-
- 13
-
-
-
-
-
-
-
-
-
-
-
-
- \echo
- \echo
- \echo Root Directory
- \echo Type "M" to return to the menu
- \echo
- \echo
- \prompt=$e[34m$p$g$e[0m
- \c:
- \cd\
- ,,,,,,,,,,,,,,,,,,,,,,,
- ~Games Menu
- :Battle Chess
- \echo off
- \cls
- \c:
- \cd\games\chess
- \chess
- \c:
- \cd\menu
- \m
- ,,,,,,,,,,,,,,,,,,,,,
- ~More options
- :Exit to 1C:\>
- \echo off
- \cls
- \echo
- \echo
- \echo Root Directory 1
- \echo Type "M" to return to the menu
- \echo
- \echo
- \prompt=$p$g
- \c:
- \cd\
- :Exit to 2C:\>
- \echo off
- \cls
- \echo
- \echo
- \echo Root Directory 2
- \echo Type "M" to return to the menu
- \echo
- \echo
- \prompt=$p$g
- \c:
- \cd\
- :Timer Test Option3
- \cls
- \cd\
- \dir/w>rdir3
- \cd\app\rwmenu
- \m
-
- 14
-
-
-
-
-
-
-
-
-
-
-
-
- :Timer Option4
- \cls
- \cd\
- \echo WoW Did it really work
- \dir/w>rdir4
- \m
- :Timer Option5
- \cls
- \cd\
- \dir>rdir5
- \m
- :6
- :7
- \cd\
- \cls
- \dir/w>rdir7
- \m
- :8
- @2-13:09:00
- \cls
- \dir
- \echo WoW!
- :9
- @2-13:01:01
- \cd\
- \echo Hello
- \dir/w >t9.tst
- \m
- !End of rwmenu.mnu
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 15
-
-
-
-
-
-
-
-
-
-
-
-
- Miscellaneous Info.
- --------------------
-
-
- RWMenu has been successfully tested on the following systems.
-
- o Data World 386
- o IBM PS/2 Model 50/Z
- o IBM 3270 PC AT
- o Kaypro PC 10
-
-
- RWMenu is written entirely in a computer language (You can figure
- out which one if you wish, but why bother).
-
- If you have a 286 machine and are getting snow from RWMenu2.EXE
- then you should try running the 8088 version of RWMenu.
-
- I try to test the program as well as I can but chances are good
- that there are several bugs that have not showed their ugly face
- it. So if you find any bugs please let me know so I can fix
- them. Thanks.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 16
-
-
-
-
-
-