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 >
Text File  |  1992-06-12  |  3KB  |  75 lines

  1.  
  2. BackTrak  --  Searchlight 2.25 Door Utility
  3.  
  4. This utility program allows Door programs launched from Searchlight 2.25 
  5. menus to return to a different (previous) menu than the one from which they 
  6. were executed. 
  7.  
  8. Often, it is desirable to have a command return to an earlier menu after it 
  9. executes. This is especially true when several layers of menus may have been 
  10. executed before reaching the command.
  11.  
  12. The syntax for BackTrak is:
  13.  
  14. BACKTRAK         or
  15. BACKTRAK N       where "n" is the number of menus to backtrak (default is 1)
  16.  
  17. BackTrak should be run as part of a batch file that is called from a 
  18. Searchlight 2.25 menu as a door. BackTrak cannot be used with doors executed 
  19. from DOORS.DEF menus.
  20.  
  21.  
  22. Example:
  23.  
  24. Suppose you execute the 2-Sysop/DosShell command on a standard Searchlight 
  25. system. Logging in and running that command causes several menus to be used:
  26.  
  27.    (1)        (2)     (3)
  28.   Startup--> Main--> 2-Sysop--> DosShell
  29.  
  30. Normally, typing EXIT from the Dos Shell returns you to the last active 
  31. menu, in this case, the 2-Sysop menu.
  32.  
  33. However, if you execute BackTrak during the course of the Dos session, 
  34. Searchlight "backs up" one menu. The new menu stack looks like this:
  35.  
  36.    (1)        (2)    
  37.   Startup--> Main--> DosShell
  38.  
  39. Therefore, when you EXIT the Dos shell now, you'll return to the Main menu 
  40. rather than the 2-Sysop menu.
  41.  
  42. BackTrak can back-up as many levels as you want. If you typed "BackTrak 2" 
  43. in the above example, control would return to the Startup menu (which would 
  44. most likely cause you to be logged off).
  45.  
  46.  
  47. Notes:
  48.  
  49. BackTrak won't back up past the first menu, no matter what number you type 
  50. in the command line, or how many times you call BackTrak.
  51.  
  52. If you call BackTrak more than once during a door, each successive call will 
  53. back up more menus.
  54.  
  55. If you call BackTrak from a door that is executed in the Files system, the 
  56. farthest you can back up is to the first menu that executed when the Files 
  57. system was started. BackTrak won't back you up from the Files system to the 
  58. main system. If you wanted to do this, however, you could start the Files 
  59. system with an execute menu and back up to that menu; if there are no 
  60. further commands on it, control will return to the main system.
  61.  
  62. It is best to use BackTrak with doors that execute from only 1 possible 
  63. place in your BBS. If you have a door that can execute from several 
  64. different menus, make sure that it makes sense to back out of the menus in 
  65. each of those circumstances.
  66.  
  67. If you use BackTrak during a door that is running as part of an execute 
  68. menu, you will of course abort execution of the rest of the commands on that 
  69. menu.
  70.  
  71. If you need to use BackTrak in a situation which does not involve batch 
  72. files, you should place the command(s) you want to run in an Execute menu, 
  73. and execute BACKTRAK.EXE as the last command in that menu.
  74.  
  75.