Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!decvax!ucbvax!ucbcad!tektronix!hplabs!sri-unix!RCONN@Simtel20.ARPA From: RCONN@Simtel20.ARPA Newsgroups: net.micro.cpm Subject: ZCPR3 MENU QUESTION Message-ID: <791@sri-arpa.UUCP> Date: Mon, 6-Aug-84 08:52:00 EDT Article-I.D.: sri-arpa.791 Posted: Mon Aug 6 08:52:00 1984 Date-Received: Thu, 9-Aug-84 00:43:57 EDT Lines: 25 From: Richard ConnThat is a very good question, Doug. One key difference between MENU under ZCPR3 and MENU under ZCPR2 is that the ZCPR3 version notes where it executes from and drops a boat anchor there. In this way, the user can move about under a menu as he desires and always return to home base automatically so the original menu can be found. The MENU under ZCPR3 is a Shell. If you want to go to a difference directory while under a ZCPR3 MENU and stay there, you have to (1) clear the current shell, (2) log into the desired directory, and (3) invoke a new Menu Shell with the new menu. The SHCTRL POP command clears the current shell, CD DIR: or DU: or DIR: logs you into the new directory, and a MENU command of whatever form establishes the new menu. If you want to NEST your menus (ie, be under one MENU in one directory and also under another MENU in another directory at the same time), then do as described but do NOT clear the shell stack. That is, log into the desired directory (via CD DIR: or DU: or DIR:) and issue a MENU command. You now have two MENU shells on your shell stack, and you will stay in the second directory under the second shell. When you exit this shell (say, via ^C), you will pop back to the first directory under the first MENU. Neat, huh? Rick