Hello,
When running gambit 4.0b22 (or termite) with and without --enable-gcc-opts compiled in I get an error when I press C-d in the debugger.
Here is an interaction log in the emacs *scheme* buffer:
Gambit Version 4.0 beta 22
(wtf)
*** ERROR IN (stdin)@1.2 -- Unbound variable: wtf ;;;; Note: I press C-d when the first debug prompt appears and this error is raised. 1> *** ERROR IN (stdin)@1.2 -- The pipe has been ended. (peek-char '#<input-port #2 (stdin)>) 1> *** ERROR IN (stdin)@1.2 -- The pipe has been ended. (peek-char '#<input-port #2 (stdin)>) 1> *** ERROR IN (stdin)@1.2 -- The pipe has been ended. (peek-char '#<input-port #2 (stdin)>) 1> *** ERROR IN (stdin)@1.2 -- The pipe has been ended. (peek-char '#<input-port #2 (stdin)>)
The error keeps looping until I kill the gsi.exe process with the task manager.
Any ideas what's going on here?
The debug commands still seem to work fine though. ie. ,t ,d etc.
Afficher les réponses par date
On 26-Jan-08, at 9:33 PM, Aaron Ash wrote:
Hello,
When running gambit 4.0b22 (or termite) with and without --enable- gcc-opts compiled in I get an error when I press C-d in the debugger.
Here is an interaction log in the emacs *scheme* buffer:
Gambit Version 4.0 beta 22
(wtf)
*** ERROR IN (stdin)@1.2 -- Unbound variable: wtf ;;;; Note: I press C-d when the first debug prompt appears and this error is raised. 1> *** ERROR IN (stdin)@1.2 -- The pipe has been ended. (peek-char '#<input-port #2 (stdin)>) 1> *** ERROR IN (stdin)@1.2 -- The pipe has been ended. (peek-char '#<input-port #2 (stdin)>) 1> *** ERROR IN (stdin)@1.2 -- The pipe has been ended. (peek-char '#<input-port #2 (stdin)>) 1> *** ERROR IN (stdin)@1.2 -- The pipe has been ended. (peek-char '#<input-port #2 (stdin)>)
The error keeps looping until I kill the gsi.exe process with the task manager.
Any ideas what's going on here?
This was fixed a long time ago (before the first non-beta 4.0). The best would be to move to the most recent Gambit, but if that's not possible you can patch the os_tty.c file to fix the problem (I recall it was a really silly error).
Marc