https://github.com/mbait/fricas

Looking at
https://github.com/hemmecke/fricas-svn/blob/master/src/interp/i-util.boot#L70
and
https://github.com/hemmecke/fricas-svn/blob/master/src/interp/int-top.boot#L167
it is quite surprising that Alexander's patch
https://github.com/mbait/fricas/commit/4192a3a6ac357905a2db1d03b91d6d85e5db3517
is not yet in trunk.
Patch is attached.

Martin, can you also confirm that this is a good patch?

Ralf



--
You received this message because you are subscribed to the Google Groups "FriCAS - 
computer algebra system" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/fricas-devel?hl=en.

commit 4192a3a6ac357905a2db1d03b91d6d85e5db3517
Author: Alexander Solovets <[email protected]>
Date:   Mon Oct 25 08:28:22 2010 +1100

    fix double printing of |startPrompt| marker at the very first prompt

diff --git a/src/interp/int-top.boot b/src/interp/int-top.boot
index 4655fa3..0c52bea 100644
--- a/src/interp/int-top.boot
+++ b/src/interp/int-top.boot
@@ -166,9 +166,7 @@ SpadInterpretStream(str, source, interactive?) ==
 
     interactive? =>
         if printFirstPrompt?() then
-            ioHook("startPrompt")
             princPrompt()
-            ioHook("endOfPrompt")
         intloopReadConsole('"", str)
         []
     intloopInclude (source,0)

Reply via email to