[gambit-list] Error handler in 3.0

Eduardo Cavazos wayo.cavazos at gmail.com
Mon Feb 14 03:33:46 EST 2005


Is there an undocumented way to specify an error handler in Gambit
3.0? I mean, instead of going into a nested REPL, can Gambit run a
function that we provide?

I wrote an X11 window manager with Gambit 3.0. (It's very fast! ;-) )
I run it inside Gambit in interactive mode so that I can watch the log
and interact with the system if there's an error. However, if I've
switched to a desktop besides the one with the xterm/REPL, and the wm
crashes, I can't see the window I need... So I basically need a simple
error handler that will map that window. In the meantime I've taken to
running the wm from a virtual console under linux (F1, F2, F3, etc...)
and switching to it whenever it crashes. For times when it's really
unstable, I just use Xnest.

Eduardo


More information about the Gambit-list mailing list