#56 Need better system to handle prompts

Cliff Yapp

As per Andrey G. Grozin's email of 3 May 2002:

"It would be great if all prompt-like output, i.e.,
output to be followed by a user input, would go through
just one function, say, (prompt "..."). Then it would
be easy to redefine this function, say, to add some
ctrl-codes before and after the prompt, and an
interface would know where are the prompts, and when to
wait for user input. Now such prompt-like output
function calls are scattered all over the place, and
all have to be redefined by an interface. Also, when
the user presses Enter when a statement is not
complete, the current Maxima does not issue any prompt,
and an interface hangs - it waits for a prompt forever.
It would be good if the Maxima parser would call
(prompt "") in this case; a redefined prompt function
will alert the interface."


  • Cliff Yapp

    Cliff Yapp - 2005-02-23
    • status: open --> closed
  • Cliff Yapp

    Cliff Yapp - 2005-02-23

    Logged In: YES

    The maxima prompting system has been adjusted - I think
    this can be safely closed.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks