home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-387-Vol-3of3.iso
/
s
/
sltpu70a.zip
/
BACKTRAK.DOC
next >
Wrap
Text File
|
1992-06-12
|
3KB
|
75 lines
BackTrak -- Searchlight 2.25 Door Utility
This utility program allows Door programs launched from Searchlight 2.25
menus to return to a different (previous) menu than the one from which they
were executed.
Often, it is desirable to have a command return to an earlier menu after it
executes. This is especially true when several layers of menus may have been
executed before reaching the command.
The syntax for BackTrak is:
BACKTRAK or
BACKTRAK N where "n" is the number of menus to backtrak (default is 1)
BackTrak should be run as part of a batch file that is called from a
Searchlight 2.25 menu as a door. BackTrak cannot be used with doors executed
from DOORS.DEF menus.
Example:
Suppose you execute the 2-Sysop/DosShell command on a standard Searchlight
system. Logging in and running that command causes several menus to be used:
(1) (2) (3)
Startup--> Main--> 2-Sysop--> DosShell
Normally, typing EXIT from the Dos Shell returns you to the last active
menu, in this case, the 2-Sysop menu.
However, if you execute BackTrak during the course of the Dos session,
Searchlight "backs up" one menu. The new menu stack looks like this:
(1) (2)
Startup--> Main--> DosShell
Therefore, when you EXIT the Dos shell now, you'll return to the Main menu
rather than the 2-Sysop menu.
BackTrak can back-up as many levels as you want. If you typed "BackTrak 2"
in the above example, control would return to the Startup menu (which would
most likely cause you to be logged off).
Notes:
BackTrak won't back up past the first menu, no matter what number you type
in the command line, or how many times you call BackTrak.
If you call BackTrak more than once during a door, each successive call will
back up more menus.
If you call BackTrak from a door that is executed in the Files system, the
farthest you can back up is to the first menu that executed when the Files
system was started. BackTrak won't back you up from the Files system to the
main system. If you wanted to do this, however, you could start the Files
system with an execute menu and back up to that menu; if there are no
further commands on it, control will return to the main system.
It is best to use BackTrak with doors that execute from only 1 possible
place in your BBS. If you have a door that can execute from several
different menus, make sure that it makes sense to back out of the menus in
each of those circumstances.
If you use BackTrak during a door that is running as part of an execute
menu, you will of course abort execution of the rest of the commands on that
menu.
If you need to use BackTrak in a situation which does not involve batch
files, you should place the command(s) you want to run in an Execute menu,
and execute BACKTRAK.EXE as the last command in that menu.