[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference iosg::all-in-1_v30

Title:*OLD* ALL-IN-1 (tm) Support Conference
Notice:Closed - See Note 4331.l to move to IOSG::ALL-IN-1
Moderator:IOSG::PYE
Created:Thu Jan 30 1992
Last Modified:Tue Jan 23 1996
Last Successful Update:Fri Jun 06 1997
Number of topics:4343
Total number of notes:18308

3298.0. "R(ead) from a SCRIPT script ..." by TAV02::CHAIM (Semper ubi Sub ubi .....) Mon Sep 20 1993 11:07

A customer would like to issue a R(ead) from a script script and then follow
this with some other command; for example:

WP {RETURN}
R {RETURN}
EM

What happens is that the read executes for the first page but immediately
executes the following command and doesn't wait for the user to complete the
read.

I tried also nesting a second script script with just e read but this does the
same thing.

Is there a way of doing what she wants?

Thanks,

Cb.
T.RTitleUserPersonal
Name
DateLines
3298.1How to do itSCOTTC::MARSHALLSpitfire Drivers Do It ToplessMon Sep 20 1993 18:3016
The reason this doesn't work is that a script-script supplies all the input
that ALL-IN-1 is looking for; ALL-IN-1 doesn't wait for keyboard input when
executing a script-script.  So what happens when you start the "R"ead operation
is that ALL-IN-1 displays the first screen, then it needs some input to know
what to do next.  Because you're executing a script-script, ALL-IN-1 looks in
the script for the input, not the keyboard.  So it treats the next line in
the script ("EM" in your case) as the action to be performed after displaying
the first screen of the Read.

You could try something like:

.FX XOP OA$_MO_READ

in place of your "R" line.  This seems to work for me on V3.mumble

Scott