Subject: Standard maxima installation under Linux?
From: Andrey G. Grozin
Date: Tue, 14 Feb 2006 16:15:48 +0600 (NOVT)
On Tue, 14 Feb 2006, James Hart wrote:
> So, do all questions that interrupt evaluation in Maxima have at least
> one line ending in a question mark? (All the ones I've seen have, but
> I haven't been comprehensive by any stretch of the imagination.)
Oh, NO!! Please, not THIS approach again.
TeXmacs, wxMaxima (and maybe other front-ends) assign some strings to
*prompt-prefix* and *prompt-suffix*. If these strings contain some
non-printable chars (ctrl-chars, for example), then they can unambuguously
identify prompts (including questions). No need to parse maxima output (in
addition to being tedious, this approach is very unreliable: what if a
user writes some string ending in a question mark, or the string "(%i123)"
?
Andrey