HP3000-L Archives

August 1999, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Glenn Cole <[log in to unmask]>
Reply To:
Date:
Mon, 23 Aug 1999 11:32:18 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (34 lines)
Francois Lefevre writes:

> From an interactive menu, I have to start "ASKPLUS" in process handling
> mode. So, I use intrinsics :
>
> firstly, CREATE to create the  new process

Okay, but then...

> and for each askplus command :
>
> SENDMAIL to transmitt the askplus command
> and ACTIVATE to execute the command.

Ouch.  I fear you have a few misconceptions about this.

Using SENDMAIL is effective only if the receiving process
calls RECEIVEMAIL.  Chances are, that's not happening.

And once a process is ACTIVATEd, it's active until it's not
(no, really! ;) either by suspending itself or by quitting.
So your second ACTIVATE, which caused the abort, either went
to an already-active process, or to one which no longer existed.

If you want to use CREATE/ACTIVATE and also send it one command
at a time, then

        1. redirect its $stdin to read a message file
        2. use exactly *one* ACTIVATE
        3. instead of using SENDMAIL, write the commands
              to the message file in item (1) above

--Glenn

ATOM RSS1 RSS2