home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
GEMini Atari
/
GEMini_Atari_CD-ROM_Walnut_Creek_December_1993.iso
/
zip
/
diskutil
/
dscan12.lzh
/
DSCAN12
/
MENU.TRB
< prev
next >
Wrap
Text File
|
1985-11-19
|
7KB
|
294 lines
/* This is the POPUP tree for DISKSCAN release 1.2/2.2's README. */
/* To view this in a more logical fashion, run the README program. */
#:0
X:20
Y:2
T: POPHELP By Todd Burkey
T:
T:Uh-oh. You need HELP for POPHELP?
T:OK, the first thing to remember is
T:that in POPHELP, you really only
T:need to use the four arrow keys
T:and the ESC key. The up and down
T:arrows will move you up and down in
T:the current pop-up...but only when
T:there is selectable (blue) text in
T:the popup. Note that this popup has
T:NO selectable text...you can just
T:read it and exit. Which brings us
T:to the left and right arrow keys.
T:The right key gets you into a menu,
T:while the left key moves you back
T:out of a menu. The ESC key? It gets
T:you out of the popups altogether.
T:You can press the LEFT ARROW now.
#:1
X:10
Y:12
T: NEW DISKSCAN INFO
+:How to install ->
=:10
+:Popups for help ->
=:2
+:Extra Disk Info ->
=:3
+:Some bugs fixed ->
=:4
+:Extra documents ->
=:5
+:Future plans ->
=:6
+:Program Limits ->
=:7
#:10
X:15
Y:12
T:DISKSCAN is very simple to install. Just copy
T:DSCAN22.PRG, DISKSCAN.KEY, and DISKSCAN.MNU to
T:your favorite spot for utilities on your HD
T:or a DEDICATED floppy (i.e. something with
T:room for big printout files, databases, etc)
T:and you are all set. Note that DISKSCAN.MNU
T:must be present if you want on-line help,
T:and DISKSCAN.KEY is necessary if you wish to
T:redefine the command invoke keys and some of
T:the program options.
#:2
X:15
Y:14
T:Popup help was added to DISKSCAN to clean up the HELP
T:option and also pave the way for extended help and
T:menu selection routines. This mechanism also allows
T:the user to add their own help, since the help file
T:is external to the program code.
+:Help on POPHELP ->
=:20
#:3
X:20
Y:10
T:Several new commands were added to allow you to see
T:Extended Disk Info. You can now activate/deactivate
T:a window that provides more info about a disk (only
T:ones you have documented, of course). Note that in
T:this first version, the option may be slow for very
T:big files, since I haven't had time to optimize it.
T:
+:Extended Disk Info File: DISKSCAN.INF
=:13
+:Activating & Deactivating This Thing
=:14
#:13
X:10
Y:8
T: DISKSCAN.INF File Format
T:The format of this file is very simple. It consists of one line that
T:contains a '~' character followed immediately by a disk name, then up
T:to 6 more lines (47 chars max per line) of description for that disk.
T:Note that the disk name must match exactly that of the name used in
T:DISKSCAN.
T:
T: Sample Format for DISKSCAN.INF:
T:
T:~HDSCAN Backup Disk
T:This disk contains the sources for HDSCAN
T:versions 2.3, 2.4, 2.5, 2.6, and 3.0 (the
T:unix version).
#:14
X:10
Y:12
T:Y key: Yank in extended disk descriptions from DISKSCAN.INF
T:y key: Toggle the extended disk info window on and off
#:4
X:20
Y:14
T:I only found 1 bug in DISKSCAN 2.1. When viewing files, I
T:would open them via: ifp=fopen(fromstr,op) and for some
T:strange reason, I was closing them via: fclose(fromstr).
T:Now, why this always worked ok for me I'll never know.
#:5
X:30
Y:12
T:The updated documenatation is in DISKSCAN.DOC.
T:Sorry, but my printed manuals alway run behind
T:my updates to DISKSCAN. I hope that with README
T:and the on disk documents I have covered most
T:of the new features.
#:6
X:20
Y:8
T:DISKSCAN 'hope'-list...subject to change
T:----------------------------------------
T: 1) Bug fixes - Ongoing
T: 2) POPUP Menu Selection - Version 2.2
T: 3) Improved user interface - Ongoing
T: 4) Improve the Extra Info option -???
T: (it is slow and messy now).
#:7
X:25
Y:11
T:Current Program Limitations
T:---------------------------
T: 1) # files scanned = 7000
T: 2) # of disk names = 500
T: 3) # of unique dirs = 300
T:
T:Note: DISKSCAN's a memory hog
T: so 512K owners may not be
T: able to invoke other big
T: programs within DISKSCAN.
/* Real help for POPHELP */
#:20
X:12
Y:8
T:GETTING STARTED
+:Moving Around
=:22
+:Some Comments
=:23
+:Technical Info
=:26
#:26
X:30
Y:10
+:MENU.TRB Format
=:27
+:COLOR Tables
=:28
#:27
X:3
Y:4
T:The file MENU.TRB is processed by POPHELP's build_menu routine and
T:drives the entire menu structure of POPHELP. The format of MENU.TRB
T:is very simple. For example, the following is a sample 2 level menu
T:with comments (note the comments can't really be part of the line):
T:#:1 <-we are defining menu # 1
T:X:10 <-the popup box will start at cursor column 10
T:Y:4 <-and at cursor row number 4
T:T:WELCOME <-just some text to put in red (color #1)
T:+:More Help <-text for another menu selection
T:=:2 <-go to menu 2 when the above text is selected
T:#:2 <-all done with menu 1, so lets define menu 2 now
T:X:5 <-new coordinates
T:Y:6 <-new coordinates
T:1:070 <-redefine color 1 (the text) to be green (RGB)
T:<:afile.txt <-menu 2 popup text is read from a file
#:60
X:20
Y:8
1:530
2:053
T:For RGB users only
T: You were warned
+:Some soft colors
=:61
+:Some Putrid ones
=:62
+:Late night colors
=:63
#:61
X:5
Y:3
0:054
1:410
2:046
3:222
T:Pastels?
T:0:054
T:1:500
T:2:066
T:3:333
#:62
X:5
Y:3
0:070
1:770
2:077
3:707
T:Putrid
T:0:070
T:1:770
T:2:077
T:3:707
#:63
X:5
Y:3
0:000
1:700
2:007
3:770
T:Brighter
T:0:000
T:1:700
T:2:007
T:3:770
#:28
X:2
Y:4
T:Colors can be changed from the default setup dynamically within the menus,
T:but extreme care should be taken so you don't screw things up for people
T:who use monochrome monitors. The technique is quite simple. Within the
T:MENU.TRB file, include the following fields when you want a new color:
T:0:006 <--change color 0 to light blue (normal background)
T:1:600 <--change color 1 to red (non-selectable text)
T:2:000 <--change color 2 to black (for the shadow)
T:3:775 <--change color 3 to off white (popup background).
T:Note that the default color can be over-ridden by specifying a new color
T:for menu # 1 (the first popup that is displayed by POPHELP).
+:Some sample colors maps.
=:60
#:22
X:14
Y:10
+:ARROW KEYS
=:24
+:HOW TO QUIT
=:25
#:25
X:40
Y:12
T:1) Press the ESC key. This takes
T: out of the help selection.
T:2) Press the Q key. This exits
T: you from the demo.
#:24
X:30
Y:12
T:RIGHT ARROW = Select the hilited menu
T:LEFT ARROW = Move to menu we came from
T:UP ARROW = Move up in the menu list
T:DOWN ARROW = Move down in the list
#:23
X:15
Y:11
T:POPHELP is a simple, but clean, mechanism
T:for both externalized and internally held
T:help information. It was written only for
T:fun, but may prove useful in standardized
T:help utilities as its' features are tuned
T:up and refined. Any comments from anyone
T:out there? Or is this idea just too wierd
T:and far-fetched.