On Mon, 21 Nov 2005, Andrej Grozin wrote:
> Maxima simetimes asks interactive questions. If stdin is a tty, all works
> fine. But when maxima is run from TeXmacs, it reads from a pipe.
Seems like a bug SBCL:
demoss@...:~$ cat | sbcl --noinform
* (read-char *standard-input*)
* (read-char *terminal-io*)
Offhand I cannot tell if the problem is with *terminal-io* / sb-sys:*tty*,
or with eg. two-way-streams in general.
You might be able to work around this with something like
(make-two-way-stream *standard-input* *standard-output*))
but note that assigning to *terminal-io* is implementation defined. I hope
-- Nikodemus Schemer: "Buddha is small, clean, and serious."
Lispnik: "Buddha is big, has hairy armpits, and laughs."