<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Wed, 20 Nov 1985 21:52:13-MST
From   : Rick Conn <RCONN@SIMTEL20.ARPA>
Subject: Re: ZCPR3 and ALIAS

Hi, David,

       Re your question, MENU operated like it was supposed to.
For command sequences like

               commands; MENU; commands

MENU will function to install itself (at the point in which it is called),
and then the commands following MENU will execute.  After all commands in
the line complete, then the MENU actually runs.

       This is a general truth for all shells.  See the chapter on Shell
programming and MENU/VMENU in "ZCPR3: The Manual".

       The rationale for this is that MENU is a shell, processing commands
which are then handed off to the ZCPR3 CP via the Multiple Command Line
Buffer.  This is the same buffer the original command line (which contained
the MENU command) was in.  MENU can create simple or multiple command
sequences, so there is no way to distinguish between a command generated
by MENU and one part of the command line which invoked MENU.

       Re your problem with ALIAS, since ALIAS builds command lines,
it is hard to say exactly what the problem is without more detail and study.

               Rick Conn
<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>