another batch/pipe question...



>>>>> "Robert" == Robert Dodier <robert.dodier at gmail.com> writes:

    Robert> asksign eventually calls RETRIEVE, which reads *QUERY-IO*,
    Robert> which is a synonym stream for *TERMINAL-IO*.
    Robert> so i guess the reason that maxima < input.mac
    Robert> doesn't work is that the file input stream is different from *QUERY-IO*.
    Robert> (i don't know how it could have worked in the past.)

    Robert> you might try cat input.mac | maxima ,
    Robert> i believe that hides the fact that the input is coming from a file;
    Robert> that might make the input come through *TERMINAL-IO*.
    Robert> just a guess -- i didn't try it.

    Robert> a larger question is whether RETRIEVE should read *QUERY-IO*.
    Robert> at the moment i'm not seeing a motivation to read a stream other
    Robert> than the one the input is coming from.

    Robert> a still larger question is whether asksign should be invoked in
    Robert> a noninteractive mode. i believe the answer is no. i don't have
    Robert> any replacement yet, though.

However, when creating new tests for the testsuite, I sometimes forget
to put an appropriate assume somewhere, and then the testsuite just
stops running at some random point, waiting for input.  I know this
used to work (pre 5.6?) and you could answer some of the queries.
There used to be a prompt, and you could enter the answer.  No there's
nothing.

I've gotten used to this finally, but it's really annoying.

Ray