;
                                     SHSET.COM                                

             Size (recs) CRC   Version    Author/Latest Issue      Disk
               2k (10)   48D5  2.2        Bruce Morgen 8/88        Z3COM8

  1- Syntax  2- Notes  3- Examples of Use                                     


   SHSET  defines  the commands which follow it as the command sequence to  be 
placed  on  the  top  of the shell stack.   It  places  this  sequence  there.
Consequently once SHSET is executed on a sequence of commands,  these commands 
will be cycled through time and time again until the shell stack is cleared or 
popped.

   SHSET has a BDOS-based  line editor interactive mode  and  a handy run-time
quiet mode (prefix "|" to the command line).
:1


   Syntax:  SHSET                       --> interactive mode

            SHSET [|]cmd1[&cmd2&cmd3]

   Use SHSET alone for interactive mode.

   "&" is translated as ";", "|" for quiet operation. 

   "&", as  a substitute command separator,  allows SHSET command  lines to be
built into aliases and ARUNZ scripts. 

   "/"-prefixed shell commands are also allowed from the Z prompt.
:2


SHSET Notes:

   a. SHSET provides  a simple mechanism through  which the user can make  any
      command sequence into a shell.  Consequently,  non-ZCPR3 programs,  such
      as MBASIC, dBASE II, WordStar, and others can become shells under ZCPR3.

   b. When using SHSET,  care should  be taken  to provide  an  exit from  the 
      shell.   Unless this  is  done,  the system,  once booted,  will  remain
      permanently in  the application  program.   The CMD utility is sometimes
      useful for providing such an exit.

   c. SHSET vs 2.1 is a ZCPR3.3 type 3 program with safety header.

   d. SHSET vs 2.2 provides support for type 3 and 4 (Z34/NZ/Z3+) executables.
:3


Examples of Use:

   a. SHSET MBASIC;CMD    <-- define the sequence MBASIC;CMD to be a shell

   b. SHSET WS            <-- define WordStar to be a shell
